hi,
 
I am having a weird prob. with sendmail-8.13.1-2 (RHEL4). Some mails are
getting stuck in the queue for long times in locked state.
 
On searching for the issue, I found that processes are stuck on a select
call. This file descriptor for all the stuck processes is to the same socket
to the ldap daemon.  I have pasted the lsof output for the processes below. 
 
Restarting the ldap service delivers the mails immediately. This problem is
happening only to some of the mails intermittently. There is no other
pattern except that the select hangs on the fd of the ldap socket. Debug log
for ldap shows that all queries are responded and socket in open state.
 
Please help me in sorting out this issue.
 
thanks,
--
Satya Prasad
 
 
 PROCESS 1
 
sendmail 9362 root    4uW  REG        8,3    1683  6031070
/var/spool/mqueue/qflAS7JaPP009216
sendmail 9362 root    5u  IPv4   11155277              TCP
XXXX.XX.XX:33724->XXXX.XX.XX:ldap (ESTABLISHED)
sendmail 9362 root    7r   REG        8,3   12288  6848586
/etc/mail/virtusertable.db
 
 
PROCESS 2
 
sendmail 9383 root    3u  unix 0xf668ca80         11154986 socket
sendmail 9383 root    4uW  REG        8,3    1310  6031102
/var/spool/mqueue/qflAS7JaPQ009216
sendmail 9383 root    5u  IPv4   11155277              TCP
XXXX.XX.XX:33724->XXXX.XX.XX:ldap (ESTABLISHED)
sendmail 9383 root    7r   REG        8,3   12288  6848586
/etc/mail/virtusertable.db

    

********************************************************************************
This email message (including any attachments) is for the sole use of the 
intended recipient(s) 
and may contain confidential, proprietary and privileged information. Any 
unauthorized review, 
use, disclosure or distribution is prohibited. If you are not the intended 
recipient, 
please immediately notify the sender by reply email and destroy all copies of 
the original message. 
Thank you.
 
Intoto Inc. 



[Non-text portions of this message have been removed]

Reply via email to