Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jan 2008 18:14:42 +0300
From:      Alexey Popov <lol@chistydom.ru>
To:        Miroslav Lachman <000.fbsd@quip.cz>
Cc:        freebsd-performance@freebsd.org
Subject:   Re: PHP with open_basedir performance problem
Message-ID:  <479DF162.3080803@chistydom.ru>
In-Reply-To: <479DE578.7060202@quip.cz>
References:  <479B1185.8020604@quip.cz> <479D89C9.7060300@chistydom.ru>	<479DD94C.7010409@mawer.org> <479DE578.7060202@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?479DF162.3080803>