pop3 slow respond

David R Bosso dbosso+lists.cyrus at lsit.ucsb.edu
Thu May 11 09:18:14 EDT 2006


--On Thursday, May 11, 2006 11:16 AM +0400 Andrey Kolbasenko <edge at stv.ru> 
wrote:

> Hi all!
>
> I have installed Gentoo Linux with cyrus-imapd-2.3.3+postfix+virtual
> domains+mysql. When I connect to pop3 5 or more times, or about 10 or
> more  client receive his mail, cyrus answer only after 10-30 sec, and
> when number  of pop3 clients reach 20-30, cyrus completely not respond:

The classic reason I've seen for behavior like this is lack of entropy 
leading to blocking reading /dev/random.  The easy way to check is strace. 
The fix is to use something like rng-tools.

-David

>
> telnet 10.26.1.4 110
> Trying 10.26.1.4...
> Connected to 10.26.1.4.
> Escape character is '^]'.
> +OK ns.stv.stav Cyrus POP3 v2.3.3-Gentoo server ready
> <3386648995.1147328970 at ns.stv.stav>
> quit
>
> telnet 10.26.1.4 110
> Trying 10.26.1.4...
> Connected to 10.26.1.4.
> Escape character is '^]'.
> +OK ns.stv.stav Cyrus POP3 v2.3.3-Gentoo server ready
> <3386648995.1147328970 at ns.stv.stav>
> quit
>
> ....
>
> telnet 10.26.1.4 110
> Trying 10.26.1.4...
> Connected to 10.26.1.4.
> Escape character is '^]'.
>
> top command:
> --------------------
> top - 10:53:42 up 28 days,  2:52,  1 user,  load average: 0.00, 0.02, 0.37
> Tasks: 123 total,   2 running, 121 sleeping,   0 stopped,   0 zombie
> Cpu(s):  0.3% us,  0.3% sy,  0.0% ni, 99.3% id,  0.0% wa,  0.0% hi,  0.0%
> si Mem:    906064k total,   836212k used,    69852k free,    82320k
> buffers Swap:   506036k total,       92k used,   505944k free,   541628k
> cached
>
> 29434 cyrus     16   0 30188 2624 2024 S  0.3  0.3   0:00.04 pop3d
>
> netstat -an
> --------------------
> tcp        0      0 10.26.1.4:110           10.26.5.128:1330
> TIME_WAIT tcp        0      0 10.26.1.4:110           10.26.5.224:2120
> TIME_WAIT tcp        0      0 10.26.1.4:110           10.26.130.71:3230
> TIME_WAIT tcp        0      0 10.26.1.4:110           10.26.4.105:2317
> TIME_WAIT tcp        0      0 10.26.1.4:110           10.26.4.105:2319
> TIME_WAIT tcp        0      0 10.26.1.4:110           10.26.5.172:1588
> TIME_WAIT tcp        0      0 10.26.1.4:110           10.26.5.206:1367
> TIME_WAIT tcp        0      0 10.26.1.4:110           10.26.72.11:3117
> TIME_WAIT tcp        0      0 10.26.1.4:110           10.26.5.238:3453
> TIME_WAIT tcp        0      0 10.26.1.4:110           10.26.5.238:3455
> TIME_WAIT tcp        0      0 10.26.1.4:110           10.26.5.104:2579
> TIME_WAIT tcp        0      0 10.26.1.4:110           10.26.5.228:1691
> TIME_WAIT tcp        0      0 10.26.1.4:110           10.26.5.38:4004
> TIME_WAIT tcp        0      0 10.26.1.4:110           10.26.5.166:2525
> TIME_WAIT tcp        0      0 10.26.1.4:110           10.26.5.38:4002
> TIME_WAIT tcp        0      0 10.26.1.4:110           10.26.5.166:2527
> TIME_WAIT tcp        0      0 10.26.1.4:110           10.26.5.38:4000
> TIME_WAIT tcp        0      0 10.26.1.4:110           10.26.197.2:1355
> TIME_WAIT tcp        0      0 10.26.1.4:110           10.26.75.2:1220
> TIME_WAIT tcp        0      0 10.26.1.4:110           10.26.5.52:1211
> TIME_WAIT tcp        0      0 10.26.1.4:110           10.26.71.154:1449
> TIME_WAIT tcp        0      0 10.26.1.4:110           10.26.5.220:1457
> TIME_WAIT tcp        0      0 10.26.1.4:110           10.26.197.2:1371
> TIME_WAIT tcp        0      0 10.26.1.4:110           10.26.132.5:2333
> TIME_WAIT tcp        0      0 10.26.1.4:110           10.26.132.5:2329
> TIME_WAIT
>
> I need your suggestions..
>
> ----
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list