Mailscanner stopped, sendmail running...

Glenn Steen glenn.steen at gmail.com
Tue Jun 13 11:56:12 IST 2006


On 13/06/06, Muhammad Nauman <nauman at worldcall.net.pk> wrote:
> >> Arthur Sherman wrote:
> >> >> Have you read the documentation on tuning?
> >> >>
> >> >> http://wiki.mailscanner.info/doku.php?id=maq:index#optimization_tips
> >> >>
> >> >
> >> > Most links to instructions are broken...
> >> >
> >> Please can you re-test these pages. Hopefully they all work now. Please
> >> let me know of any that are still broken.
> >>
> > Ah, it has risen from the dead:-). Still, perhaps we should aim at
> > some creative cut'n'pasting, just to get it all into the wiki... Just
> > so much of it ...:-)
> >
> > --
> > -- Glenn
> > email: glenn < dot > steen < at > gmail < dot > com
> > work: glenn < dot > steen < at > ap1 < dot > se
>
>
> I m still facing this problem - My sendmail suddenly gets stuck
> I have done all the optimizations possible according to my server :
>  http://wiki.mailscanner.info/doku.php?id=maq:index#optimization_tips
> but still i observe thing as follows:
>
> [root at server ~]# sendmail -v nauman
> test
> .
> nauman... Connecting to [127.0.0.1] via relay...
> nauman... Deferred: Connection refused by [127.0.0.1]
> [root at server ~]# /etc/init.d/MailScanner stop
> Shutting down MailScanner daemons:
>          MailScanner:       [  OK  ]
>          incoming sendmail: [  OK  ]
>          outgoing sendmail: [  OK  ]
> [root at server ~]# /etc/init.d/MailScanner status
> Checking MailScanner daemons:
>          MailScanner:       [FAILED]
>          incoming sendmail: head: cannot open `/var/run/sendmail.in.pid' for
> reading: No such file or directory
> [FAILED]
>          outgoing sendmail: head: cannot open `/var/run/sendmail.out.pid'
> for reading: No such file or directory
> [FAILED]
> [root at server ~]# /etc/init.d/MailScanner stop
> Shutting down MailScanner daemons:
>          MailScanner:       [FAILED]
>          incoming sendmail: [  OK  ]
>          outgoing sendmail: [  OK  ]
> [root at server ~]# /etc/init.d/sendmail status
> sendmail (pid 32112 32107 32055 32013 32004 31610 31581 30306 30185 30095
> 30002 29917 29863 29667 29520 29461 29399 29042 28938 28918 28263 28041
> 27015 26655 26567 26536 26289 23442 22532 22246 22151 18507 14118) is
> running...
> [root at server ~]# /etc/init.d/sendmail stop
> Shutting down sendmail: [  OK  ]
> Shutting down sm-client: [FAILED]
> [root at server ~]# /etc/init.d/sendmail stop
> Shutting down sendmail: [FAILED]
>
> and after these all - when i restart my Mailscanner - it starts working fine
> again - But why do i have to do all this ??
>
> how can this be fixed one and for all ?
>
I'm no sendmail guru, but .... there rather recently have been a
couple of similar threads, where the askers have a lot of sendmail
children just sitting tehre waiting for a timeout to happen.... and by
default, that timout has been so long that they actually have gotten
hurt by it. "Solution" seems to be to lower the sendmail timeouts.
-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list