[imp] Newest Horde+IMP+PHP CPU usage

Michael M Slusarz slusarz at bigworm.colorado.edu
Sat Apr 12 15:55:47 PDT 2003


Quoting Andrew Morgan <morgan at orst.edu>:

|
|
| On Sat, 12 Apr 2003, Stacy J.Dunkle wrote:
|
| >   I recently upgraded to PHP 4.3.1, but at first stuck with Horde 2.1
| > and IMP 3.1. Everything ran OK, with no difference in the CPU usage of
| > my httpd processes.
| >
| >   Then the other day, I upgraded Horde and IMP to 2.2.1 and 3.2.1,
| > respectively. Ever since, the httpd processes now show a much bigger
| > percentage of CPU usage. For instance, according to my MRTG graphs,
| > before the upgrade, the httpd processes rarely went above 20% on
| > average. Since the upgrade, it goes as high as 60% regularly, and even
| > peaked at 100% a few times.
| >
| >   Running top, I notice that individual processes run between 10% and
| > 30% quite regularly. This is not normal for this server.
| >
| >   For about a day, I was running the latest IMP on top of the older
| > Horde, and it was normal. The increase in CPU usage started when I
| > upgraded Horde.
| >
| >   I looked through the various config files, and couldn't find
| anything.
| > All of the settings are set to the same values as they were from the
| > old Horde. There are no databases running on this particular Horde/IMP
| > installation.
| >
| >    Is this normal for the newest Horde? Are there any new settings that
| > can be tweaked to calm it down?
| >
| > Thanks,
| > Stace
|
| I have seen similar behavior on my system after upgrading.  I upgraded
| everything at once, so I can't say whether it was only the Horde upgrade
| that did it.
|
| There was another thread recently concerning performance.  One of the
| suggestions mentioned was to install the mcrypt php module.  I haven't
| tried this yet, but I'd be curious if it makes a difference.

#1 - INSTALL THE MCRYPT MODULE.  This will *drastically* reduce performance.
#2 - If not using mcrypt, you should upgrade to the latest RELENG_2 version
of Horde.  I just committed some code from HEAD:
http://lists.horde.org/archives/cvs/Week-of-Mon-20030407/022471.html
that Mike committed to HEAD a while ago.  This new code reduces the number
of function calls by a LARGE number and caches function calls to result in
a tremendous impact in speed.

michael

______________________________________________
Michael Slusarz [slusarz at bigworm.colorado.edu]
The University of Colorado at Boulder


More information about the imp mailing list