Re: [CentOS] Finding memory usage

2018-07-27 Thread Gordon Messmer
On 07/27/2018 09:38 AM, Bowie Bailey wrote: The total number from that report is about 706M. Did it move at all after killing that "one process"? My available memory has now jumped up from 640M to 1.5G after one of the processes (which was reportedly using about 100M) finished. I'll have to

Re: [CentOS] Finding memory usage

2018-07-27 Thread Bowie Bailey
On 7/27/2018 12:58 PM, mark wrote: > Bowie Bailey wrote: >> On 7/27/2018 11:50 AM, Warren Young wrote: >>> On Jul 27, 2018, at 9:10 AM, Bowie Bailey wrote: >>> I have a CentOS 7 server that is running out of memory >>> How do you know that? Give a specific symptom. >>> >> This was

Re: [CentOS] Finding memory usage

2018-07-27 Thread Jon Pruente
On Fri, Jul 27, 2018 at 12:07 PM, Jon Pruente wrote: > to revert to booting a 514 series kernel or converting to EXT4, depending > on the needs of the particular server. Everything I've converted to EXT4 > has been rock > Scratch that, I just looked and it was reverting to a 327 kernel that

Re: [CentOS] Finding memory usage

2018-07-27 Thread Jon Pruente
On Fri, Jul 27, 2018 at 10:41 AM, Bowie Bailey wrote: > > On a lark, what kind of file systems is the system using and how long g > had > > it been up before you rebooted? > > The filesystems are all XFS. I don't know for sure how long it had been > up previously, I'd guess at least 2 weeks.

Re: [CentOS] Finding memory usage

2018-07-27 Thread mark
Bowie Bailey wrote: > On 7/27/2018 11:50 AM, Warren Young wrote: >> On Jul 27, 2018, at 9:10 AM, Bowie Bailey wrote: >> >>> I have a CentOS 7 server that is running out of memory >>> >> How do you know that? Give a specific symptom. >> > This was brought to my attention because one program was

Re: [CentOS] Finding memory usage

2018-07-27 Thread Bowie Bailey
On 7/27/2018 12:13 PM, Gordon Messmer wrote: > On 07/27/2018 08:10 AM, Bowie Bailey wrote: >> The problem is that I can't find 2.4G of usage. > > > Are your results from "top" similar to: > >   ps axu | sort -nr -k +6 That looks the same. > > If you don't see 2.4G of use from applications, maybe

Re: [CentOS] Finding memory usage

2018-07-27 Thread Bowie Bailey
On 7/27/2018 11:50 AM, Warren Young wrote: > On Jul 27, 2018, at 9:10 AM, Bowie Bailey wrote: >> I have a CentOS 7 server that is running out of memory > How do you know that? Give a specific symptom. This was brought to my attention because one program was killed by the kernel to free memory

Re: [CentOS] Finding memory usage

2018-07-27 Thread Gordon Messmer
On 07/27/2018 08:50 AM, Warren Young wrote: This is such a common misunderstanding that it has its own web site: https://www.linuxatemyram.com/ The misunderstanding was mostly related to an older version of "free" that included buffers/cache in the "used" column.  "used" in this case

Re: [CentOS] Finding memory usage

2018-07-27 Thread Gordon Messmer
On 07/27/2018 08:10 AM, Bowie Bailey wrote: The problem is that I can't find 2.4G of usage. Are your results from "top" similar to:   ps axu | sort -nr -k +6 If you don't see 2.4G of use from applications, maybe the kernel is using a lot of memory.  Check /proc/slabinfo.  You can simplify

Re: [CentOS] Finding memory usage

2018-07-27 Thread Warren Young
On Jul 27, 2018, at 9:10 AM, Bowie Bailey wrote: > > I have a CentOS 7 server that is running out of memory How do you know that? Give a specific symptom. > Running "free -h" gives me this: > totalusedfree shared buff/cache > available > Mem:

Re: [CentOS] Finding memory usage

2018-07-27 Thread Bowie Bailey
On 7/27/2018 11:14 AM, Jon Pruente wrote: > On Fri, Jul 27, 2018, 10:10 AM Bowie Bailey wrote: > >> I have a CentOS 7 server that is running out of memory and I can't >> figure out why. >> >> The problem is that I can't find 2.4G of usage. If I look at resident >> memory usage using "top", the

Re: [CentOS] Finding memory usage

2018-07-27 Thread Jon Pruente
On Fri, Jul 27, 2018, 10:10 AM Bowie Bailey wrote: > I have a CentOS 7 server that is running out of memory and I can't > figure out why. > > The problem is that I can't find 2.4G of usage. If I look at resident > memory usage using "top", the top 5 processes are using a total of > 390M. > On

[CentOS] Finding memory usage

2018-07-27 Thread Bowie Bailey
I have a CentOS 7 server that is running out of memory and I can't figure out why. Running "free -h" gives me this:   total    used    free  shared  buff/cache   available Mem:   3.4G    2.4G    123M    5.9M    928M    626M Swap:  1.9G