[Bug 731878] Re: amavis force-reload crashes amavis

2011-03-29 Thread Florian Effenberger
Seems it is indeed a bug, users on the mailing list could verify it. See
this thread: http://lists.amavis.org/pipermail/amavis-
users/2011-March/69.html

It seems to be directly related to the number of maximum instances.
netstat doesn't seem to give helpful information:

==
floeff@myserver:~$ sudo netstat -a | grep 10024
[sudo] password for floeff: 
tcp0  0 localhost:10024 *:* LISTEN 
floeff@myserver:~$ sudo /etc/init.d/amavis force-reload
Stopping amavisd: amavisd-new.
Starting amavisd: amavisd-new.
floeff@myserver:~$ sudo netstat -a | grep 10024
tcp0  0 localhost:10024 *:* LISTEN
==

Would love to use apport-collect, but I have only a console, and lynx
does not seem to work - I've always get thrown back to the same page
with a Continue button :(

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to amavisd-new in Ubuntu.
https://bugs.launchpad.net/bugs/731878

Title:
  amavis force-reload crashes amavis

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 731878] Re: amavis force-reload crashes amavis

2011-03-17 Thread James Page
Hi Florian

The 'restart' and 'force-reload' commands both stop and start the amavis
daemon which would explain why you have seen similar behaviour from both
commands.

I suspect that this is caused by the port not being fully released
before the new instance of the daemon tries to bind to the port - this
condition would result in this type of message.

Symptomatically I could reproduce this issue by stopping amavis, using
netcat to listen on port 10024 and then starting amavis.

Unfortunately that does not tell us what is causing this issue.

Perhaps you could capture the number of open connections to amavis prior
to restarting or force reloading to see if we can spot a pattern:

   sudo netstat -a | grep 10024

It would also be helpful to know which version of Ubuntu and Amavis you
are using - you can do this automatically using apport:

   apport-collect 731878

Thanks

** Changed in: amavisd-new (Ubuntu)
   Status: New = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to amavisd-new in ubuntu.
https://bugs.launchpad.net/bugs/731878

Title:
  amavis force-reload crashes amavis

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 731878] Re: amavis force-reload crashes amavis

2011-03-12 Thread Florian Effenberger
Seems to occur as well when restart is used.

==
Mar 11 08:35:19 myserver amavis[31199]: starting.  /usr/sbin/amavisd-new at 
myserver.alkernetz amavisd-new-2.6.4 (20090625), Unicode aware
Mar 11 08:35:19 myserver amavis[31199]: Perl version   5.010001
Mar 11 08:35:19 myserver amavis[31203]: (!)Net::Server: 2011/03/11-08:35:19 
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 can reproduce it only every once in a while with no pattern at the
moment. The machine itself is nearly not using e-mail at all right now,
so it cannot be a load problem.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to amavisd-new in ubuntu.
https://bugs.launchpad.net/bugs/731878

Title:
  amavis force-reload crashes amavis

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs