Load increase after upgrading php4

Bjorn Swift bjorn at swift.is
Sun Oct 3 17:58:30 PDT 2004


Early September I upgraded php4 using the new php port structure (that
is php4 and php4-extensions). Since then I have noticed quite an
increase in server load - I'd say my current load is about five times
what it was before. Graph available here:
http://bjorn.swift.is/tmp/hermes-uptime-year.png

I suspect this being because the "new way" seems to compile everything
as loadable modules. My question is basically whether "this is just how
it is" and that I should compile php myself I want it built as one
binary - or if this increase in load is something not to be expected.

Has anyone else witnessed anything like this on their servers? What did
you do ?

The server is a patched FreeBSD 4.8 running php 4.3.8 and apache 1.3.31.
It's not a heavy loaded one, serving an average of just over 3 req/sec,
but most of the files (besides images) are rather bloated php scripts;
webmail, message boards and such. The server is running Nick Lindridge's
PHP Accelerator.

If anyone has any tips or thoughts they would be greatly appreciated.

(Would freebsd-isp perhaps be a better list for a question of this
sort?)

Cheers,
Bjorn Swift 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041004/cff5c02a/attachment.bin


More information about the freebsd-questions mailing list