amavis crashing in Natty

Gary V mr88talent at gmail.com
Sat Mar 19 19:48:27 CET 2011


> After increasing $max_servers = 5; from the default of 2 (and of
> course setting maxproc to match) I could repro this on Natty daily
> build (3/18/2010 I think). I could not repro on Maverick 10.10. I
> would try it on Debian unstable, but for some reason my laptop has
> never been able to run Debian 64-bit:
>
> Mar 19 07:03:52 sfa amavis[3562]: (!)Net::Server: 2011/03/19-07:03:52
> Can't connect to TCP port 10024 on 127.0.0.1 [Address already in
> use]\n  at line 88 in file /usr/share/perl5/Net/Server/Proto/TCP.pm
>
> I used this script on a 64-bit test machine and pushed about 500 spam
> messages at it and it failed a couple times in a 20 minute period:
>
> #!/bin/sh
> while [ 1 ]
> do
>  /etc/init.d/amavis force-reload; sleep 8; ps aux | grep
> amavisd;postfix flush;sleep 51
> done
>
> Also, when installing amavisd-new, this error appears. I do not know
> if it's related to the issue or not:
>
> Setting up amavisd-new (1:2.6.4-1ubuntu6) ...
> Creating/updating amavis user account...
> dpkg: error: version 'configure' has bad syntax: version number does
> not start with digit
> Starting amavisd: amavisd-new.
>

Apparently, this one failed to restart:

tcp        0      0 localhost:10024         *:*                     LISTEN
tcp        0      0 localhost:10024         localhost:60366         ESTABLISHED
tcp        0      0 localhost:60362         localhost:10024         ESTABLISHED
tcp        0      0 localhost:10024         localhost:60356         ESTABLISHED
tcp        0      0 localhost:60369         localhost:10024         ESTABLISHED
tcp        0      0 localhost:10024         localhost:60358         ESTABLISHED
tcp        0      0 localhost:60366         localhost:10024         ESTABLISHED
tcp        0      0 localhost:10024         localhost:60362         ESTABLISHED
tcp        0      0 localhost:10024         localhost:60369         ESTABLISHED
tcp        0      0 localhost:60358         localhost:10024         ESTABLISHED
tcp        0      0 localhost:60356         localhost:10024         ESTABLISHED
Stopping amavisd: amavisd-new.
Starting amavisd: amavisd-new.
root      4453  0.0  0.0   9200  1048 pts/0    S+   12:44   0:00 grep amavisd

netstat -a | grep 10024
/etc/init.d/amavis force-reload
sleep 8
ps aux | grep amavisd

-- 
Gary V


More information about the amavis-users mailing list