PHP with open_basedir performance problem

Alexey Popov lol at chistydom.ru
Mon Jan 28 07:15:02 PST 2008


Hi

Miroslav Lachman wrote:

> I tried sysctl vfs.ufs.dirhash_maxmem=10240000 and 
> realpath_cache_size=512k in php.ini and sysctl vfs.lookup_shared=1
> but all without any significant impact on performance with open_basedir 
> enabled.
> CPU states:  8.1% user,  0.0% nice, 88.6% system,  0.2% interrupt,  3.2% 
> idle 
> Does somebody have any other ideas?
Here's the patch helped me in the similar situation:
http://lists.freebsd.org/pipermail/freebsd-stable/2007-November/038449.html

If it also does not help, I think LOCK_PROFILING(9) and pmc stats
( http://freebsd.rambler.ru/bsdmail/freebsd-current_2006/msg01581.html ) would 
be useful to see what exactly is slow.

With best regards,
Alexey Popov


More information about the freebsd-performance mailing list