[olug] anyone having trouble with recent Linuxes on 32-bit servers?
Rob Townley
rob.townley at gmail.com
Sat Dec 24 00:17:53 CST 2016
Our 32bit machine is CentOS6, so will unlikely see a new kernel.
interesting that ionice is a parameter to nice. Want to keep this.
On Dec 4, 2016 8:14 AM, "Lou Duchez" <lou at paprikash.com> wrote:
> About a month ago, I installed updates to Fedora 24 on a variety of
> servers, and the 64-bit servers were all fine, but the 32-bit servers
> suddenly started having memory issues. Like, the servers would crash under
> load (such as when copying lots of files in a backuip), the oom-killer
> would get invoked frequently, and so on. Anyone else experience the like?
> Does anyone have recommendations?
>
> One thing I did to mitigate the problem somewhat, though not solve it, was
> to make use of nice and ionice. "nice" manages the CPU priority of a task,
> and "ionice" manages the I/O priority of a task; between the two of them,
> you can instruct Linux to run a task at low CPU and I/O priority. This
> helped with some of the tasks that were causing trouble, such as backup
> processes.
>
> To run a command as low priority, it is:
>
> /usr/bin/nice -n19 /usr/bin/ionice -c2 -n7 [your command here]
>
> And yes you can turn that into a handy little script, so you can simply
> run "[script name] [your command here]":
>
> ---
>
> #!/bin/bash
>
> /usr/bin/nice -n19 /usr/bin/ionice -c2 -n7 $*
>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> https://lists.olug.org/mailman/listinfo/olug
>
More information about the OLUG
mailing list