2001-03-22 12:21:12

by Vincent Sweeney

[permalink] [raw]
Subject: More 2.4 memory usage wierdness?

I have a question regarding a busy box I recently updated to
'2.4.2-ac20'. It has been running for several hours without any real
problems until I started getting 'dmesg' entries like:

Out of Memory: Killed process 30293 (httpd).
Out of Memory: Killed process 32552 (mysqld).

Not a quick check with 'top' shows:

Mem: 771440K av, 396060K used, 375380K free, 0K shrd, 4972K
buff
Swap: 379416K av, 345000K used, 34416K free 337128K
cached

I have also attached my "/proc/meminfo" & "/proc/slabinfo" details.

Basically they all show the server has 370MB of free physical memory but
its using lots of swap space and OOM is killing processes.

What gives?

Vince.

--
Vincent Sweeney
System Architect


Attachments:
meminfo (549.00 B)
slabinfo (3.64 kB)
Download all attachments

2001-03-22 16:52:07

by Vincent Sweeney

[permalink] [raw]
Subject: Re: More 2.4 memory usage wierdness?

Vincent Sweeney wrote:
>
> I have a question regarding a busy box I recently updated to
> '2.4.2-ac20'. It has been running for several hours without any real
> problems until I started getting 'dmesg' entries like:
>
> Out of Memory: Killed process 30293 (httpd).
> Out of Memory: Killed process 32552 (mysqld).
>
> Not a quick check with 'top' shows:
>
> Mem: 771440K av, 396060K used, 375380K free, 0K shrd, 4972K
> buff
> Swap: 379416K av, 345000K used, 34416K free 337128K
> cached
>
> I have also attached my "/proc/meminfo" & "/proc/slabinfo" details.
>
> Basically they all show the server has 370MB of free physical memory but
> its using lots of swap space and OOM is killing processes.
>
> What gives?
>
> Vince.

Maybe I should of also made it clear that is I run the same box with
2.2.18 I have no memory issues and swap is not used at all but when I
run with 2.4.2 I suddenly see my memory usage increase over 300MB and my
swap space maxes out.

--
Vincent Sweeney
System Architect