Re: PHP with open_basedir performance problem

2008-01-28 Thread Alexey Popov
eebsd-current_2006/msg01581.html ) would be useful to see what exactly is slow. With best regards, Alexey Popov ___ freebsd-performance@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-performance To unsubscribe, send any mail to &q

Re: PHP with open_basedir performance problem

2008-01-28 Thread Alexey Popov
The problem is that concurrent lstat()'s are very slow on FreeBSD now. Possibly you can decrease the number of lstat() calls by tuning realpath cache size in PHP. Just add "realpath_cache_size=512k" to php.ini. However I'm not sure this cache is used in open_basedir. See the following thread