Re: PHP with open_basedir performance problem



Hugo Silva wrote:
Miroslav Lachman wrote:
Hi all,

I found a painful performance problem with Apache + PHP 5 when
open_basedir directive is enabled.
Application performance drops by more than 50% with open_basedir enabled.
There is also significant disproportion between usr / sys CPU load. (sys
is much higher than usr)
I do not know if this is problem on FreeBSD side or in PHP code itself.
This problem exists on FreeBSD 6 and 7 (maybe older versions too - I did
not check).
I tested both shedulers on FreeBSD 7, no big difference (application
performance is little better with 4BSD).
Is there anyone with enough knowledge and time to look at it?

This problem affects Mac OS X as well, but does not seem to appear on Linux.
http://lists.apple.com/archives/macos-x-server/2006/Nov/msg00623.html

I too have seen this, sys% is so MUCH higher and jumps from about 30% to 70% and higher all the time. In my case it's like 3% user time, 30-70% system time. I will try disabling open_basedir on one of the webservers and report back.

Best regards,

Hugo
_______________________________________________
freebsd-performance@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "freebsd-performance-unsubscribe@xxxxxxxxxxx"

From 30-70% to 3%. What a difference!

Hugo
_______________________________________________
freebsd-performance@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "freebsd-performance-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: PHP with open_basedir performance problem
    ... There is also significant disproportion between usr / sys CPU load. ... I do not know if this is problem on FreeBSD side or in PHP code itself. ...
    (freebsd-performance)
  • Re: PHP with open_basedir performance problem
    ... There is also significant disproportion between usr / sys CPU load. ... I do not know if this is problem on FreeBSD side or in PHP code itself. ... To unsubscribe, ...
    (freebsd-performance)
  • Re: What FreeBSD users really want
    ... dogged by turn of the century hassle with our FreeBSD. ... Fundamental thing like system installer is still phenomenally arcane. ... PHP is by far the most popular computing language in the world. ... have a shell called PHP shell. ...
    (freebsd-questions)
  • Re: [PHP] Re: PHP Performance and System Load
    ... Most of for examples of php look like this ... How often do you have a PHP loop that runs to 10 MILLION iterations?! ... sys 0m0.070s ... Zend Engine v1.3.0, ...
    (php.general)
  • Re: [PHP] Re: PHP Performance and System Load
    ... Most of for examples of php look like this ... How often do you have a PHP loop that runs to 10 MILLION iterations?! ... sys 0m0.070s ... Zend Engine v1.3.0, ...
    (php.general)