A NOTE has been added to this issue. 
====================================================================== 
http://dbmail.org/mantis/view.php?id=913 
====================================================================== 
Reported By:                superkkt
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   913
Category:                   LMTP daemon
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
target:                      
====================================================================== 
Date Submitted:             09-Aug-11 06:13 CEST
Last Modified:              09-Aug-11 10:21 CEST
====================================================================== 
Summary:                    Socket leaks in LMTP daemon?
Description: 
Hi, all.

I found that there are so many opened sockets in LMTP daemon. I think they
are not closed properly and remained continuously.

Here is the lsof's result. Is this a some kind of leak of socket?

dbmail-lm 3833 nobody   14u  sock                0,6      0t0 29164757
can't identify protocol
dbmail-lm 3833 nobody   16u  sock                0,6      0t0 29165680
can't identify protocol
dbmail-lm 3833 nobody   18u  sock                0,6      0t0 29165696
can't identify protocol
dbmail-lm 3833 nobody   21u  sock                0,6      0t0 29164781
can't identify protocol
dbmail-lm 3833 nobody   23u  sock                0,6      0t0 29164783
can't identify protocol
dbmail-lm 3833 nobody   24u  sock                0,6      0t0 29164784
can't identify protocol
dbmail-lm 3833 nobody   25u  sock                0,6      0t0 29164785
can't identify protocol
dbmail-lm 3833 nobody   26u  sock                0,6      0t0 29164786
can't identify protocol
dbmail-lm 3833 nobody   30u  sock                0,6      0t0 29165702
can't identify protocol
dbmail-lm 3833 nobody   32u  sock                0,6      0t0 29165704
can't identify protocol
....
....
====================================================================== 

---------------------------------------------------------------------- 
 (0003221) paul (administrator) - 09-Aug-11 09:50
 http://dbmail.org/mantis/view.php?id=913#c3221 
---------------------------------------------------------------------- 
Check again. Those are most likely the unix-socket connections to the
database backend. 

---------------------------------------------------------------------- 
 (0003222) superkkt (reporter) - 09-Aug-11 10:00
 http://dbmail.org/mantis/view.php?id=913#c3222 
---------------------------------------------------------------------- 
No, it's TCP socket used as LMTP session and I also found that the sessions
received RSET command from Postfix MTA are not closed and remained
continuously.

Postfix sometimes sends two mails using RSET command on the same LMTP
session, but it does not send QUIT command after '.' of DATA command. Is
this a normal situation? 

---------------------------------------------------------------------- 
 (0003223) superkkt (reporter) - 09-Aug-11 10:21
 http://dbmail.org/mantis/view.php?id=913#c3223 
---------------------------------------------------------------------- 
sorry, it's my mistake. The problem is that Postfix doesn't send anything
after RSET command sometimes, so the LMTP session is remained continuously.


I think it's not a dbmail's problem, but I don't know why Postfix do this
and the socket timeout didn't works. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
09-Aug-11 06:13  superkkt       New Issue                                    
09-Aug-11 09:50  paul           Note Added: 0003221                          
09-Aug-11 10:00  superkkt       Note Added: 0003222                          
09-Aug-11 10:21  superkkt       Note Added: 0003223                          
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

Reply via email to