On 25/05/14 11:04, Sam Varshavchik wrote:
> Leaving off MAXPERC should not be a factor. It defaults to, internally,
>  to MAXDAEMONS – effectively a no-op.

Right, thanks.

> I presume that you've eliminated the low hanging fruit of actually reaching
>  the maximum number of connections.

Yes, barely a dozen imapds running on the server with a MAXDAEMONS of 400 and
I'd blame Thunderbird too but it wasn't happening 24 hours ago with Dovecot.

An lsof of the gamin/gam_server daemon looks okay. A previous time I experienced
something like this I had to change back to fam and remove gamin... years ago.

Woops, yes, this is using Ubuntu 14.04 x64 (both ends)...

courier-mta                          0.68.2-1ubuntu3
courier-imap                         4.10.0-20120615-1ubuntu3
courier-authlib-mysql                0.63.0-6ubuntu1

> Once MAXDAEMONS is reached, though, couriertcpd stops accepting connections
>  altogether... Those are the kinds of things to look at, here.

That is not the case in this situation. Here's a imap log dump from Thunderbird
in case something is obvious... at the point below I clicked on my Junk 
folder...

1759508352[7fa967a50370]: proposed url = INBOX.Junk folder for connection INBOX 
has To Wait = FALSE can run = FALSE
895477504[7fa938decd00]: 35ffa800:renta.net:S-INBOX:SendData: DONE

[.. then TB hangs here for more than a minute ...]

895477504[7fa938decd00]: ReadNextLine [stream=37b40c10 nb=0 needmore=1]
895477504[7fa938decd00]: 35ffa800:renta.net:S-INBOX:CreateNewLineFromSocket: 
clearing IMAP_CONNECTION_IS_OPEN - rv = 804b000e
895477504[7fa938decd00]: 35ffa800:renta.net:S-INBOX:TellThreadToDie: close 
socket connection
895477504[7fa938decd00]: 35ffa800:renta.net:S-INBOX:CreateNewLineFromSocket: 
(null)
1759508352[7fa967a50370]: creating protocol instance to retry queued 
url:imap://ma...@renta.net@renta.net:143/select>.Junk
1759508352[7fa967a50370]: retrying  
url:imap://ma...@renta.net@renta.net:143/select>.Junk
1759508352[7fa967a50370]: 3303c800:renta.net:NA:SetupWithUrl: clearing 
IMAP_CONNECTION_IS_OPEN
895477504[7fa938decd00]: ImapThreadMainLoop leaving [this=35ffa800]
963634944[7fa9337ae450]: ImapThreadMainLoop entering [this=3303c800]
963634944[7fa9337ae450]: 3303c800:renta.net:NA:ProcessCurrentURL: entering
963634944[7fa9337ae450]: 
3303c800:renta.net:NA:ProcessCurrentURL:imap://markc%40renta%2e...@renta.net:143/select%3E.Junk:
  = currentUrl
963634944[7fa9337ae450]: ReadNextLine [stream=37da8510 nb=256 needmore=0]
963634944[7fa9337ae450]: 3303c800:renta.net:NA:CreateNewLineFromSocket: * OK 
[CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT 
THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS LOGINDISABLED] 
Courier-IMAP ready. Copyright 1998-2011 Double Precision, Inc.  See COPYING for 
distribution information.
963634944[7fa9337ae450]: 3303c800:renta.net:NA:SendData: 1 STARTTLS
963634944[7fa9337ae450]: ReadNextLine [stream=37da8510 nb=37 needmore=0]
963634944[7fa9337ae450]: 3303c800:renta.net:NA:CreateNewLineFromSocket: 1 OK 
Begin SSL/TLS negotiation now.
963634944[7fa9337ae450]: 3303c800:renta.net:NA:SendData: 2 capability
963634944[7fa9337ae450]: ReadNextLine [stream=37da8510 nb=133 needmore=0]
963634944[7fa9337ae450]: 3303c800:renta.net:NA:CreateNewLineFromSocket: * 
CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT 
THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION
963634944[7fa9337ae450]: ReadNextLine [stream=37da8510 nb=27 needmore=0]
963634944[7fa9337ae450]: 3303c800:renta.net:NA:CreateNewLineFromSocket: 2 OK 
CAPABILITY completed
963634944[7fa9337ae450]: try to log in
963634944[7fa9337ae450]: IMAP auth: server caps 0x4C3325, pref 0x1006, failed 
0x0, avail caps 0x1004
963634944[7fa9337ae450]: (GSSAPI = 0x1000000, CRAM = 0x20000, NTLM = 0x100000, 
MSN =  0x200000, PLAIN = 0x1000, LOGIN = 0x2, old-style IMAP login = 0x4)auth 
external IMAP login = 0x20000000
963634944[7fa9337ae450]: trying auth method 0x1000
963634944[7fa9337ae450]: got new password
963634944[7fa9337ae450]: IMAP: trying auth method 0x1000
963634944[7fa9337ae450]: PLAIN auth
963634944[7fa9337ae450]: 3303c800:renta.net:NA:SendData: 3 authenticate plain
963634944[7fa9337ae450]: ReadNextLine [stream=37da8510 nb=4 needmore=0]
963634944[7fa9337ae450]: 3303c800:renta.net:NA:CreateNewLineFromSocket: +
963634944[7fa9337ae450]: 3303c800:renta.net:NA:SendData: Logging suppressed for 
this command (it probably contained authentication information)
963634944[7fa9337ae450]: ReadNextLine [stream=37da8510 nb=16 needmore=0]
963634944[7fa9337ae450]: 3303c800:renta.net:NA:CreateNewLineFromSocket: 3 OK 
LOGIN Ok.
963634944[7fa9337ae450]: login succeeded
963634944[7fa9337ae450]: 3303c800:renta.net:A:SendData: 4 select "INBOX.Junk"


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to