On 6/28/06, Derek Martin <[EMAIL PROTECTED]> wrote:
On Wed, Jun 28, 2006 at 09:37:07AM +1200, Simon wrote:
> On 6/28/06, Jo Shields <[EMAIL PROTECTED]> wrote:
>
> >
> >You've run out of RAM.
> >
>
> Hmm... Could this be some sort of memory leak or something? Would
> anyone be able to offer any path of checking or solving this issue?
Run top, hit 'F' to select a field to sort on, then n for %MEM. This
will show you what processes are sucking up your RAM.
Also run free -m to see how much memory you have, how much virtual
memory you have, and how much of it is in use. Make sure you have as
much as you think you have.
OK, i had to restart the server as there was critical services running
on it... After rebooting and running the commands above:
top - 09:48:40 up 25 min, 2 users, load average: 0.81, 0.95, 0.86
Tasks: 245 total, 1 running, 244 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.1% us, 0.0% sy, 0.0% ni, 99.9% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 2053816k total, 1943124k used, 110692k free, 45080k buffers
Swap: 3903784k total, 4k used, 3903780k free, 1324232k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2137 mysql 15 0 334m 59m 8920 S 0.0 3.0 0:00.19 mysqld
3678 amavis 15 0 49460 44m 7728 S 0.0 2.2 0:02.14 amavisd
3771 amavis 16 0 48748 43m 7728 S 0.0 2.2 0:01.78 amavisd
3502 amavis 15 0 48232 43m 7728 S 0.0 2.2 0:27.82 amavisd
3852 amavis 16 0 46756 42m 7728 S 0.0 2.1 0:01.74 amavisd
4014 amavis 16 0 46620 41m 7728 S 0.0 2.1 0:00.39 amavisd
3831 amavis 15 0 45896 41m 7728 S 0.0 2.1 0:00.81 amavisd
3838 amavis 16 0 45608 40m 7728 S 0.0 2.0 0:00.62 amavisd
3878 amavis 16 0 45516 40m 7728 S 0.0 2.0 0:00.53 amavisd
3834 amavis 15 0 45608 40m 7728 S 0.0 2.0 0:00.53 amavisd
4067 amavis 15 0 44836 39m 7728 S 0.0 2.0 0:00.00 amavisd
4080 amavis 16 0 44836 39m 7728 S 0.0 2.0 0:00.00 amavisd
4085 amavis 16 0 44836 39m 7728 S 0.0 2.0 0:00.00 amavisd
2213 amavis 16 0 44196 39m 7088 S 0.0 2.0 0:00.55 amavisd
2013 www-data 15 0 34916 16m 26m S 0.0 0.8 0:00.63 apache2
2011 www-data 15 0 34864 16m 26m S 0.0 0.8 0:00.69 apache2
2907 www-data 16 0 34848 16m 26m S 0.0 0.8 0:00.45 apache2
2083 www-data 15 0 34728 16m 26m S 0.0 0.8 0:00.74 apache2
2015 www-data 15 0 34744 16m 26m S 0.0 0.8 0:00.72 apache2
2014 www-data 15 0 34676 16m 26m S 0.0 0.8 0:00.89 apache2
2012 www-data 15 0 34388 15m 26m S 0.0 0.8 0:00.54 apache2
1900 root 16 0 31024 12m 25m S 0.0 0.6 0:00.38 apache2
1582 dcc 16 0 26344 8444 2024 S 0.0 0.4 0:00.00 dccifd
2200 dbmail 15 0 7272 4628 3716 S 0.0 0.2 0:00.49 dbmail-pop3d
1670 root 15 0 8008 4604 5076 S 0.0 0.2 0:00.77 mailgraph.pl
mx1:~# free -m
total used free shared buffers cached
Mem: 2005 1955 50 0 43 1298
-/+ buffers/cache: 612 1393
Swap: 3812 0 3812
Could someone have any further suggestions to find out what caused the
problems? I have the syslog output if needed?
Simon
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]