[SLUG] slow webmail
since yesterday, my Squirrel web mail is extremely slow, often to the point of being unusable other php pages also seem slower than normal html pages seem to be served OK but, Squirrel shows the problem most looking with 'top' over 10 or 15 minutes, cpu oscillates from 0.3 to 30% top - 08:04:09 up 885 days, 1:46, 2 users, load average: 0.25, 0.37, 0.36 Tasks: 197 total, 3 running, 188 sleeping, 0 stopped, 6 zombie Cpu(s): 2.3% us, 0.7% sy, 0.0% ni, 94.4% id, 2.6% wa, 0.0% hi, 0.0% si Mem: 2336088k total, 2062432k used, 273656k free, 592732k buffers Swap: 2031608k total, 408572k used, 1623036k free, 362396k cached how can I t/shoot this further ? -- Voytek -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] slow webmail
On Fri, April 16, 2010 9:07 am, Aleksey Tsalolikhin wrote: Whoa! You've got 400 MB of swap used. That will slow things down. What's using the memory? (You can get a process listing by memory usage in top; or install htop, it's a bit easier to navigate and prettier.) To sum: reduce memory usage or add RAM. Aleksey, thanks htop sorted by MEM% says: CPU[|| 3.9%] Tasks: 196 total, 1 running Mem[|1073/2281MB] Load average: 0.92 0.60 0.45 Swp[||| 398/1983MB] Uptime: 885 days(!), 04:13:36 PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 14346 clamav16 0 307M 274M 1376 S 0.0 12.0 33:34.01 clamd 14347 clamav16 0 307M 274M 1376 S 0.0 12.0 0:00.96 clamd 20232 amavis16 0 93580 79720 3248 S 0.0 3.4 0:14.29 amavisd (ch7-avail) 20928 amavis20 0 88200 74256 3256 S 0.0 3.2 0:14.17 amavisd (ch3-avail) 11290 amavis16 0 81756 68084 2756 S 0.0 2.9 0:05.96 amavisd (master) 26064 root 16 0 100M 25096 860 S 0.0 1.1 0:46.86 /usr/sbin/saslauthd -m 26065 root 16 0 101M 25012 844 S 0.0 1.1 0:47.45 /usr/sbin/saslauthd -m 26068 root 17 0 100M 24868 844 S 0.0 1.1 0:47.25 /usr/sbin/saslauthd -m 26067 root 16 0 100M 24668 844 S 0.0 1.1 0:47.00 /usr/sbin/saslauthd -m 26066 root 16 0 100M 24508 844 S 0.0 1.0 0:46.89 /usr/sbin/saslauthd -m 809 mysql 16 0 117M 22740 3272 S 0.0 1.0 20:58.79 /usr/sbin/mysqld --bas 832 mysql 16 0 117M 22740 3272 S 0.0 1.0 0:00.00 /usr/sbin/mysqld --bas (18 more 'mysqld lines) ... 11848 apache15 0 40268 22732 4660 S 0.0 1.0 0:06.59 /usr/sbin/httpd 12839 apache15 0 40336 22448 4336 S 0.0 1.0 0:06.82 /usr/sbin/httpd (15 more 'httpd' lines) ... 15101 apache15 0 38344 19440 3360 S 0.0 0.8 0:01.65 /usr/sbin 18672 root 16 0 27144 14232 7064 S 0.0 0.6 0:01.53 /usr/sbin/httpd 21402 cacti 17 0 20412 10156 3856 S 0.0 0.4 0:00.28 php server-status says: Current Time: Friday, 16-Apr-2010 10:35:26 EST Restart Time: Friday, 16-Apr-2010 08:11:38 EST Parent Server Generation: 1 Server uptime: 2 hours 23 minutes 48 seconds Total accesses: 5083 - Total Traffic: 160.3 MB CPU Usage: u61.6 s6.03 cu.02 cs0 - .784% CPU load .589 requests/sec - 19.0 kB/second - 32.3 kB/request 9 requests currently being processed, 11 idle workers __..RCR_._CCCCC__..W_... -- Voytek -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] slow webmail
Since squirrelmail needs to access a mailserver (imap) this could be a case of comm problems between the 2. check the logs of the imap server and see whether there are any problems. it surprises me that you have 408572k of swap used this is not a flamebait I know that people like long uptimes, but rebooting **DOES** solve some problems cause you have 888 days, have you considered??? /this is not a flamebait On Fri, Apr 16, 2010 at 08:08:45AM +1000, Voytek Eymont (li...@sbt.net.au) wrote: since yesterday, my Squirrel web mail is extremely slow, often to the point of being unusable other php pages also seem slower than normal html pages seem to be served OK but, Squirrel shows the problem most looking with 'top' over 10 or 15 minutes, cpu oscillates from 0.3 to 30% top - 08:04:09 up 885 days, 1:46, 2 users, load average: 0.25, 0.37, 0.36 Tasks: 197 total, 3 running, 188 sleeping, 0 stopped, 6 zombie Cpu(s): 2.3% us, 0.7% sy, 0.0% ni, 94.4% id, 2.6% wa, 0.0% hi, 0.0% si Mem: 2336088k total, 2062432k used, 273656k free, 592732k buffers Swap: 2031608k total, 408572k used, 1623036k free, 362396k cached how can I t/shoot this further ? -- Voytek -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- #include signature.h | |0| | Jobst Schmalenbach, jo...@barrett.com.au, General Manager | | |0| Barrett Consulting Group P/L The Meditation Room P/L |0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] slow webmail
Jobst Schmalenbach jo...@barrett.com.au writes: [...] this is not a flamebait I know that people like long uptimes, but rebooting **DOES** solve some problems cause you have 888 days, have you considered??? /this is not a flamebait It would probably help this suggestion if you provided some supporting evidence for your position. My first question, as you might imagine, is which problems does this solve? My usual follow-up to that is: are you actually solving the problem, or just the current pain — taking a pain killer rather than fixing the bad back — and probably destroying your chance to find the real cause of the problem in the process? Anyway, without your providing something to back up your statement it is as meaningless as someone asserting the opposite: that rebooting is never the right answer. :) Daniel -- ✣ Daniel Pittman✉ dan...@rimspace.net☎ +61 401 155 707 ♽ made with 100 percent post-consumer electrons -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] slow webmail
On Fri, April 16, 2010 10:56 am, Jobst Schmalenbach wrote: Since squirrelmail needs to access a mailserver (imap) this could be a case of comm problems between the 2. check the logs of the imap server and see whether there are any problems. it surprises me that you have 408572k of swap used Jobst, the actual imapd utilization seems to have gone low during this time http://sbt.net.au/imapd.gif the actual problem seems to have stopped since about this morning I haven't as yet looked through the logs -- Voytek -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html