Hi all,
did anybody have this problem with messages
Jan 2 23:14:07 [amavis] (!)Net::Server: 2009/01/02-23:12:47 Bad fork
[Cannot allocate memory]\n at line 166 in file
/usr/lib/perl5/vendor_perl/5.8.8/Net/Server/PreForkSimple.pm
Jan 2 23:14:44 [amavis] Net::Server: 2009/01/02-23:14:23 Server closing!
It happens to happen now end then, lets say every 2 weeks or so. I
actually am tempted to set up a cron job which just restarts amavis
every so often, but I prefer to solve the problem not just treat the
symptom.
Googled and searched list archives to no avail!
I have a virtual server with 512 MB of RAM runnning Gentoo, sshd, sasl,
mysql,
postgresql, apache2 (joomla, egroupware, sql-ledger), postfix,
courier-imap, spamassassin and amaivs. All is very low traffic -
homepage is not setup yet, e-mail system is for two users only :-).
$ free 09-01-05 23:31
total used free shared buffers cached
Mem: 524500 511440 13060 0 9244 40004
-/+ buffers/cache: 462192 62308
Swap: 262136 153104 109032
top - 23:39:00 up 13 days, 12:49, 6 users, load average: 0.00, 0.00, 0.00
Tasks: 85 total, 1 running, 84 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.1%us, 0.3%sy, 0.9%ni, 97.5%id, 1.0%wa, 0.0%hi, 0.0%si,
0.2%st
Mem: 524500k total, 511060k used, 13440k free, 9336k buffers
Swap: 262136k total, 153104k used, 109032k free, 40112k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1 root 16 0 1600 84 64 S 0.0 0.0 0:12.25 init
2 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
3 root 34 19 0 0 0 S 0.0 0.0 0:00.01 ksoftirqd/0
4 root 10 -5 0 0 0 S 0.0 0.0 0:00.04 events/0
5 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 khelper
6 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kthread
7 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 xenwatch
8 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 xenbus
14 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kblockd/0
141 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 aio/0
140 root 15 0 0 0 0 S 0.0 0.0 0:47.90 kswapd0
665 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 cqueue/0
666 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kseriod
789 root 15 0 0 0 0 S 0.0 0.0 0:04.81 kjournald
873 root 17 -4 1980 8 4 S 0.0 0.0 0:00.27 udevd
2950 root 16 0 1980 452 336 S 0.0 0.1 0:01.91 metalog
2951 root 16 0 1948 40 20 S 0.0 0.0 0:00.01 metalog
3465 clamav 19 3 232m 196m 800 S 0.0 38.4 3:33.57 clamd
3474 clamav 34 19 3204 1036 740 S 0.0 0.2 0:01.74 freshclam
3723 root 15 0 5372 304 200 S 0.0 0.1 0:00.60 sshd
3899 root 22 0 1592 244 188 S 0.0 0.0 0:00.00 courierlogger
3900 root 16 0 6488 60 24 S 0.0 0.0 0:00.08 authdaemond
3904 root 16 0 6716 1140 768 S 0.0 0.2 0:00.07 authdaemond
3905 root 16 0 6608 1132 768 S 0.0 0.2 0:00.04 authdaemond
3906 root 16 0 6716 1136 768 S 0.0 0.2 0:00.14 authdaemond
Cheers
Thiemo
------------------------------------------------------------------------------
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/