[clug] Help: Memory Evaporating!

Steve Walsh steve at nerdvana.org.au
Tue Dec 21 02:00:22 GMT 2004

I had a similar thing happen when I decided to upgrade from Apache 1.3.x to
Apache 2. Memory leaks galore! It turns out my main issue was badly
configured mod_ssl entries. Try using a shared memory session cache - like

SSLSessionCache shmcb:logs/ssl_gcache_data(512000)
SSLSessionCacheTimeout 300

Other than that, what flavour linux/version perl &/or apache?

-----Original Message-----
From:Alex Satrapa
Sent: Tuesday, 21 December 2004 12:41 PM
To: CLUG Mailing List
Subject: [clug] Help: Memory Evaporating!

I have a problem with a web/database server here, and I'm not sure how
to figure out what the problem is, much less solve it.

On my server, I have 1GB of RAM, and something is chewing it up at the
rate of approximately 3kB/s. That something doesn't show up in process
listings (ps auxwww sheds no light on the matter). My machine - for all
intents and purposes - is having its memory swallowed up by the same
Chinese dragon responsible for solar eclipses.

Does anybody have some clues as to where I could start looking for this
lost RAM, and perhaps a means of recovering it (besides rebooting the

I'm running Apache, which is serving CGIs written in Perl that use DBI
to access a PostgreSQL database.

I've restarted the big memory-using services on the machine, but the
used memory didn't come back. Could there be processes still in memory
that aren't showing up in top, ps or /proc/?


linux mailing list
linux at lists.samba.org

More information about the linux mailing list