Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

sendmail -q issue (hangs)

SOLVED
Go to solution
HP-UX_Ali
Regular Advisor

sendmail -q issue (hangs)

Hello All,

Pls advice to resolve below issue.
There are many (200) process for sendmail and while running sendmail -q hangs.

The services for sendmail restarted and now it is been stopped.but still the process is getting generated & memory utilization is 100%.


>ps -ef|grep -i sendmail
root 6528 2958 0 08:15:00 ? 0:00 sh -c /usr/sbin/sendmail -q
root 4307 1750 0 08:10:45 pts/0 0:01 sendmail: ./o6M3F0K18146: from queue
root 8407 4435 1 08:18:09 pts/1 0:00 grep -i sendmail
root 4056 1 0 08:10:09 ? 0:00 /usr/sbin/sendmail -q30m
root 4057 4056 0 08:10:09 ? 0:01 sendmail: ./o6Q46bl29135: from queue
root 6535 6528 0 08:15:00 ? 0:01 sendmail: ./o6Q46W828469: from queue


Thanks to confirm....
6 REPLIES
Jeeshan
Honored Contributor

Re: sendmail -q issue (hangs)

Check the maillog and see what it says

#tail -40f /var/adm/syslog/mail.log
a warrior never quits
HP-UX_Ali
Regular Advisor

Re: sendmail -q issue (hangs)

It shows,

Jul 20 11:06:12 nodex sendmail[24817]: o6AEj0H15989: SYSERR(root): mime8to7: recursion level 21 exceeded
Jul 20 11:06:13 nodex sendmail[3776]: o6AFF0501075: timeout waiting for input from local during Draining Input
Jul 20 11:06:13 nodex sendmail[4927]: o6FG8Aw28075: timeout waiting for input from local during Draining Input
Jul 20 11:06:13 nodex sendmail[12229]: o6AEF1c00606: to=root, delay=4+17:40:27, xdelay=00:03:19, mailer=local, pri=4139578, dsn=4.0.0, stat=Deferred
Jul 20 11:06:13 nodex sendmail[6749]: o6FHamY09729: timeout waiting for input from local during Draining Input
Jul 20 11:06:13 nodex sendmail[20276]: o6AI00T23335: timeout waiting for input from local during Draining Input
Jul 20 11:06:13 nodex sendmail[12229]: o6AEF1b00606: SYSERR(root): mime8to7: recursion level 21 exceeded
Jul 20 11:06:14 nodex sendmail[11666]: o6B9j0t01706: to=root, delay=5+15:21:33, xd
Dennis Handly
Acclaimed Contributor
Solution

Re: sendmail -q issue (hangs)

Have you looked at the mail files in /var/spool/mqueue/?

I once had mailq flooded with messages about a bad fan and not being able to deliver them.
Rita C Workman
Honored Contributor

Re: sendmail -q issue (hangs)

The search option here may provide the answer for you.

Take a look here and see if it applies in your case:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1116133

....I miss Clay on the Forums!....

Rita
HP-UX_Ali
Regular Advisor

Re: sendmail -q issue (hangs)

Thanks Dennis,

/var/spool/mqueue was having bulk of messages. I removed all of them and found OK.
My question - if such issue arises again, is there any fix ? or any bug fix from sendmail.org.

Pls confirm

Note: Points has been assigned to you all.
Thanks
Dennis Handly
Acclaimed Contributor

Re: sendmail -q issue (hangs)

>/var/spool/mqueue was having bulk of messages.
>if such issue arises again, is there any fix?

In my case, root mail was locked so it just accumulated. Did you take a look at the mail to see if there was really anything important?