Hello,
I'm experiencing a quite high load (for a webmail interface) on our server with roundcube 0.5.1. The old server was an Opteron Single Core CPU with 2.2 GHz and only 1 GB RAM. It had a load of >30, but it was old. So I moved the webmail to a newer server with Opteron Dual Core and 8 GB RAM, but the load is still very high (around 15).
What's the reason for this? Is it normal? I mean: roundcube is very AJAX heavy, is it due to the IMAP connection pools, frequent polls etc.? I don't know how many users are connection concurrently, but it shouldn't be more than 50.
Kind regards Marten _______________________________________________ List info: http://lists.roundcube.net/dev/ BT/aba52c80
El mié, 16-02-2011 a las 14:07 +0100, Marten Lehmann escribió:
Hello,
I'm experiencing a quite high load (for a webmail interface) on our server with roundcube 0.5.1. The old server was an Opteron Single Core CPU with 2.2 GHz and only 1 GB RAM. It had a load of >30, but it was old. So I moved the webmail to a newer server with Opteron Dual Core and 8 GB RAM, but the load is still very high (around 15).
What's the reason for this? Is it normal? I mean: roundcube is very AJAX heavy, is it due to the IMAP connection pools, frequent polls etc.? I don't know how many users are connection concurrently, but it shouldn't be more than 50.
Kind regards Marten _______________________________________________ List info: http://lists.roundcube.net/dev/ BT/5456fcb4
may be related to http://trac.roundcube.net/ticket/1485975 ?
List info: http://lists.roundcube.net/dev/ BT/aba52c80
may be related to http://trac.roundcube.net/ticket/1485975 ?
Thats very old but there has been an updated marked as "fixed" just one day ago: http://trac.roundcube.net/changeset/4547
I will wait for for the 0.5.2 release to update then.
Kind regards Marten _______________________________________________ List info: http://lists.roundcube.net/dev/ BT/aba52c80
On Wed, 16 Feb 2011 16:52:47 +0100, Marten Lehmann lehmann@cnm.de wrote:
may be related to http://trac.roundcube.net/ticket/1485975 ?
Thats very old but there has been an updated marked as "fixed" just one day ago: http://trac.roundcube.net/changeset/4547
I will wait for for the 0.5.2 release to update then.
Kind regards Marten _______________________________________________ List info: http://lists.roundcube.net/dev/ BT/5456fcb4
I applied the patch today (in fact I moved the lines it manually) and indeed: The load is very low (< 2) now for several hours.
But for some reason, there's an httpd process with close to 100% load left for more than 30 minutes. I have no clue what it is doing or waiting for:
# netstat -p | grep 31924 tcp 0 0 :32844 1.2.3.4:imap CLOSE_WAIT 31924/httpd unix 3 [ ] STREAM CONNECTED 36309044 31924/httpd
I think our IMAP server has a timeout of 2 minutes.
Kind regards Marten
On 16.02.2011 17:56, Carlos R. Pasqualini wrote:
you can try to apply that patch to your running RC, it's a very small change in program/include/rcmail.php, just move 3 lines a few lines down.
with this patch applied you can provide feedback about if this fixes or not your load.
that would be a very appreciated feedpack!!
List info: http://lists.roundcube.net/dev/ BT/aba52c80
El jue, 17-02-2011 a las 19:35 +0100, Marten Lehmann escribió:
I applied the patch today (in fact I moved the lines it manually) and indeed: The load is very low (< 2) now for several hours.
ok, so the patch fixes something, that's good!
But for some reason, there's an httpd process with close to 100% load left for more than 30 minutes. I have no clue what it is doing or waiting for:
# netstat -p | grep 31924 tcp 0 0 :32844 1.2.3.4:imap CLOSE_WAIT 31924/httpd unix 3 [ ] STREAM CONNECTED 36309044 31924/httpd
in ticket http://trac.roundcube.net/ticket/1485975 comment 8 is reporting something similar, so i supose we have an unresolved issue yet.
2 days back, Alec did make a change and ask to provide feedback. By now, i think Alec could help you better than me.
kind regards.
List info: http://lists.roundcube.net/dev/ BT/aba52c80
On Thu, 17 Feb 2011 15:55:01 -0300, Carlos Pasqualini wrote:
in ticket http://trac.roundcube.net/ticket/1485975 comment 8 is reporting something similar, so i supose we have an unresolved issue yet.
2 days back, Alec did make a change and ask to provide feedback. By now, i think Alec could help you better than me.
I can't say more than has been said in comments to this ticket. Would be nice to know what software and its version numbers is used by OP (http server, imap server, php). Roundcube configuration could be important too.
On Thu, Feb 17, 2011 at 8:41 PM, A.L.E.C alec@alec.pl wrote:
On Thu, 17 Feb 2011 15:55:01 -0300, Carlos Pasqualini wrote:
in ticket http://trac.roundcube.net/ticket/1485975 comment 8 is reporting something similar, so i supose we have an unresolved issue yet.
2 days back, Alec did make a change and ask to provide feedback. By now, i think Alec could help you better than me.
I can't say more than has been said in comments to this ticket. Would be nice to know what software and its version numbers is used by OP (http server, imap server, php). Roundcube configuration could be important too.
Get us some callgraphs with xhprof: http://mirror.facebook.net/facebook/xhprof/doc.html
It's light enough to run on busy production sites.
Till _______________________________________________ List info: http://lists.roundcube.net/dev/ BT/aba52c80
At least, this seems to be rather a bug in PHP than in roundcube. Unfortunately (for debugging purposes), after I killed the high-load apache process yesterday evening, no new high-load process appeared so far.
Besides that, we're using:
php-5.3.5 roundcube-0.5.1 httpd-2.2.17
On a 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:52:25 EST 2011 x86_64 x86_64 x86_64 GNU/Linux kernel of CentOS 5, 64 Bit AMD Opteron(tm) Processor 275 with 8 GB RAM.
On 17.02.2011 20:41, A.L.E.C wrote:
On Thu, 17 Feb 2011 15:55:01 -0300, Carlos Pasqualini wrote:
in ticket http://trac.roundcube.net/ticket/1485975 comment 8 is reporting something similar, so i supose we have an unresolved issue yet.
2 days back, Alec did make a change and ask to provide feedback. By now, i think Alec could help you better than me.
I can't say more than has been said in comments to this ticket. Would be nice to know what software and its version numbers is used by OP (http server, imap server, php). Roundcube configuration could be important too.
List info: http://lists.roundcube.net/dev/ BT/aba52c80