RE: proxyd cpu usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




-----Original Message-----
From: Andrew Morgan <morgan@xxxxxxxx>
Sent: December 7, 2009 5:37 PM
To: John Madden <jmadden@xxxxxxxxxxx>
Cc: info-cyrus@xxxxxxxxxxxxxxxxxxxx <info-cyrus@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: proxyd cpu usage

On Mon, 7 Dec 2009, John Madden wrote:

>> At a guess, it sounds like load from LIST.  You should be able to see
>> what's causing the load if you have several seconds.  For example,
>> enable telemetry and look for long turn around.  Or use strace (or
>> equiv).  Have you experimented with foolstupidclients?  What is your
>> client mix?  How many mailboxes do you have?
>
> I set up a second frontend to analyze a single client.  Strace shows the
> dumb:
>
> read(0, "00000002 LIST \"\" INBOX.*\r\n", 4096) = 26
> read(0, "00000003 LIST \"\" user.*\r\n", 4096) = 25
> read(0, "00000004 LIST \"\" *\r\n", 4096) = 20
>
> I tested fullstupidclients on the production frontend and it has cut
> load significantly but that LIST "" user.* call is expensive (0.950 secs
> 1 calls).  I assume that's to poll for shared folders and I'm going to
> look into whether or not it can be eliminated.  I don't suppose there's
> another fullstupidclients that improves responsiveness on this call, is
> there?

Those LIST queries seem a little odd coming from a normal user account in 
Cyrus.  Are you logging in as a Cyrus admin account?  Why is the client 
asking for "user.*"?





Looking for shared folders?



 	Andy
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux