#43946 [Opn->Bgs]: open_basedir tremendously degraded performance on FreeBSD
| From: | johannes@php.net | Date: | Mon, 28 Jan 2008 00:12:51 +0000 |
| Subject: | #43946 [Opn->Bgs]: open_basedir tremendously degraded performance on FreeBSD | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-121590@lists.php.net to get a copy of this message | ||
ID: 43946
Updated by: johannes@php.net
Reported By: hugo at barafranca dot com
-Status: Open
+Status: Bogus
Bug Type: Safe Mode/open_basedir
Operating System: FreeBSD 7.0-RC1 amd64
PHP Version: 5.2.5
New Comment:
The realpath() function is quite slow with FreeBSD's libc
implememntation, but we need to get the real name (without symlinks and
similar stuff) of a file name to be opened for doing the open_basedir
check. Nothing we can easily fix but we are awae of the problem and are
open for good patches. The best advise i can give you is to try to
reduce the amount of include/require[_once] calls.
Previous Comments:
------------------------------------------------------------------------
[2008-01-27 22:26:36] hugo at barafranca dot com
Description:
------------
Reference:
http://lists.freebsd.org/pipermail/freebsd-performance/2008-January/003096.html
The difference: http://www.barafranca.com/open_basedir.png
(when
open_basedir was disabled is obvious)
Reproduce code:
---------------
-
Expected result:
----------------
-
Actual result:
--------------
-
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43946&edit=1