[CentOS] OOM and Swappiness

2015-09-16 Thread Callum Scott
Hi All, I have a server that has its swappiness set to 0. It is running a little tight on memory and so there have been a couple of events where the OOM_killer has been invoked and killed off MySQL, which you would expect. Now if you have your swappiness at 0 then "A value of 0 instructs the

Re: [CentOS] OOM and Swappiness

2015-09-16 Thread Always Learning
On Wed, 2015-09-16 at 13:36 -0400, m.r...@5-cent.us wrote: > Excerpt on heavy-duty servers. We're certainly not going to allocate > hundreds of gigs, or a terabyte or so, for swap. (Yes, we do have servers > with that kind of RAM, and that's not counting the small SGI > supercomputer) Do

Re: [CentOS] OOM and Swappiness

2015-09-16 Thread m . roth
Gordon Messmer wrote: > On 09/16/2015 09:11 AM, Callum Scott wrote: >> It is running a little >> tight on memory and so there have been a couple of events where the >> OOM_killer has been invoked and killed off MySQL, which you would >> expect. > > One thing that should be noted is that regardless

Re: [CentOS] OOM and Swappiness

2015-09-16 Thread m . roth
Always Learning wrote: > > On Wed, 2015-09-16 at 13:36 -0400, m.r...@5-cent.us wrote: > >> Excerpt on heavy-duty servers. We're certainly not going to allocate >> hundreds of gigs, or a terabyte or so, for swap. (Yes, we do have >> servers >> with that kind of RAM, and that's not counting the

Re: [CentOS] OOM and Swappiness

2015-09-16 Thread James A. Peltier
- Original Message - | | On Wed, 2015-09-16 at 13:36 -0400, m.r...@5-cent.us wrote: | | > Excerpt on heavy-duty servers. We're certainly not going to allocate | > hundreds of gigs, or a terabyte or so, for swap. (Yes, we do have servers | > with that kind of RAM, and that's not

Re: [CentOS] OOM and Swappiness

2015-09-16 Thread Gordon Messmer
On 09/16/2015 09:11 AM, Callum Scott wrote: It is running a little tight on memory and so there have been a couple of events where the OOM_killer has been invoked and killed off MySQL, which you would expect. One thing that should be noted is that regardless of swappiness, overcommit might be