boka wrote:

> Hello,

> i have amavid-new 2.4.2 with postfix and i have problem to stop and reload
> amavis process.

> [EMAIL PROTECTED]:~/amavis/amavisd-new-2.4.2# amavisd reload
> daemon terminated, waiting for the dust to settle...
> becoming a new daemon...
> [EMAIL PROTECTED]:~/amavis/amavisd-new-2.4.2#

> In /var/log/maillog:
> Jul 26 14:25:40 rilej amavis[1992]: Net::Server: Binding to UNIX socket
> file /var/amavis/amavisd.sock using SOCK_STREAM
> Jul 26 14:25:40 rilej amavis[1992]: Net::Server: Binding to TCP port 10024
> on host 127.0.0.1
> Jul 26 14:25:40 rilej amavis[1992]: Net::Server: 2006/07/26-14:25:40 Can't
> connect to TCP port 10024 on 127.0.0.1 [Address already in use]\n  at line
> 86 in file /usr/lib/perl5/site_perl/5.8.0/Net/Server/Proto/TCP.pm
> Jul 26 14:25:40 rilej amavis[1992]: Net::Server: 2006/07/26-14:25:40
> Server closing!

> [EMAIL PROTECTED]:~/amavis/amavisd-new-2.4.2# ps auxw|grep ama
> amavis     155  0.2  2.7 15432 14088 ?       S    14:11   0:02
> /usr/local/sbin/clamd
> amavis    2010 88.3 11.0 61636 57232 ?       R    14:26   1:10
> /usr/bin/perl -T /usr/local/sbin/amavisd start

> To start amavis i have to find the pid of the process, kill it and start.

> This below is from top command:

>  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND
> 5481 amavis     9   0 56408  55M 54392 S    99.9 10.9   0:14   0 amavisd

> Any idea ?

Is this immediately after start amavisd? It's not clear if the 99.9
%CPU is because there is a problem, or if it's simply that amavisd-new
is busy creating the children (which seem to be missing). If you wait
about 30 seconds after you start amavisd-new do you now see the
children also (or are the children never created at all)?
Does amavisd-new constantly consume that much CPU? How about other
amavis error messages in your log once amavisd has started and you
have attempted to send a message through it? grep '!' /var/log/maillog

How about running amavisd in debug mode, does it crash?

Gary V


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to