roundcube causes server high load with apache
|Reported by:||waster||Owned by:|
|Cc:||mcmorran@…, roundcube@…, james.doherty@…, ptaryasw@…, p.heinlein+roundcubetrac@…, raphael@…|
I've recently installed Roundcube 0.2.2 for our users on 1024 RAM with 3Mhz cpu server. But the problem was appearing with high server load.
According to the logs we have about 1000 messages sent everyday and about 4000 successfull and not successful logins. In the period of all day load is increasing and after midnight it can be about 9 and it caused by Apache processes. That is very strange because in that period almost all users are sleep and we have only few logins and sent messages. This is only one virtual host running on the host. I've tried to use Debian Etch and Lenny.
The problem as I see in 'ps aux | grep apache' is in some apache processes that are stuck in R process state and CLOSE_WAIT constant TCP state with IMAP port.
Also I can confirm that after apache restarting high load goes down to 0.2-0.4 but then starts to increase slowly again. So as the temporary solution I use "apache restart" instead "apache reload" in logrotate config.
I guess the problem is in Roundcube somewhere?
Change History (27)
comment:1 Changed 4 years ago by alec
- Component changed from Core functionality to IMAP connection
- Milestone set to 0.3-stable