On Thu, Apr 29, 2010 at 01:53:37PM +0000, Charles Account wrote:
> 
> Hi,
> We have a situation where LDAP query is resulting in a LDAP 80 level 
> errorduring a domain lookup. Yes I understand we need to fix this problem. 
> However, the side effect we see is the client's SMTP session hangs.  Over a 
> period of time all SMTPD sessions are consumed and no mail is processed.The 
> only solution was to stop postfix and restart to free up the processes.
> I was able to track it down to resolve_clnt.c for loop were it 
> continuouslykeeps trying until a non LDAP level error is returned. Even if 
> the client MTA connection has been closed, the smtpd process continues 
> toretry after 1 second sleep, thus, consuming LDAP resources. I suspect it 
> continues until the process time to live has exceeded but I didn't let itrun 
> to see if the smtpd process would die. 
> I have looked for a patch but I have not found one. Does one exist?
> Any help is greatly appreciated,
> Charles                                         

You LDAP service is broken. Until that is fixed, I would recommend a
nanny script to restart postfix until that happens. Otherwise you will
need to front the broken server with another service that will clean-up
for you on the LDAP side. Good luck. It is much easier to fix the broken
directory service than re-start properly functioning software.

Regards,
Ken

Reply via email to