Roundcube Community Forum

 

High CPU via HTTPD

Started by widomaker, March 21, 2011, 11:23:24 AM

Previous topic - Next topic

widomaker

So notice that I have httpd taking up 90-100% WCPU. Any ideas on this. All info I can find is outdated.

12186 www         1 118    0   170M 33488K RUN     30:10 100.00% httpd

Running FreeBSD 8.2 64Bit
Roundcube 0.5.1
IMAP - UW-IMAP
PHP 5.3.5
APache 2.2.17

widomaker

So for now, as it seems that I am the only one with this problem or I am missing something, I just wrote a script to kill any HTTPD that is 30min or older. Should not have to do this, but can't seem to find where the problem is coming from.

Info on work around script. The script runs a grep for httpd and also looks for 30+ min. Then writes a kill file. Then it runs a kill command based on the kill file for PID(s). Then the file is removed.

ps -ax | grep httpd | grep "[3-9]:[0-9]" | awk '{print $1}' >> /tmp/killlist
cat killlist | xargs -L1 kill -9
rm /tmp/killlist

SKaero

Out of curiosity I have a couple of questions,
1. How many users are using RoundCube?
2. Are you using a fresh install of RoundCube or an upgrade?
3. Have you tried the SVN and does it have the same problem?
4. What do you have max_execution_time set to?

widomaker

1.Number of Users: less then 500 total (So maybe 5-10 at a time)
2.New install moving away from Horde
3.Never tried SVN
4.max_execution_time=30

Thanks for your help.

SKaero

It might be worth trying out the SVN version to see if its better. What is your mail server setup?