Re: PHP with open_basedir performance problem
- From: Stanislav Sedov <stas@xxxxxxxxxxx>
- Date: Thu, 14 Feb 2008 19:30:37 +0300
On Mon, Jan 28, 2008 at 03:23:52PM +0100 Miroslav Lachman mentioned:
Does somebody have any other ideas?
I'd suggest you to disable open_basedir at all or roll out specialized
implementation. I had a lot of similar problems with open_basedir in
the past, so I just rewrote it to match our specific security policy.
Most basedir problems are linked with the fact it produce a lot of lstast/
readlinks on every require, include or open command. On Linux it pereforms
even worse, as they implemented readlink there by hand, and, of course,
their implementation isn't particulry good.
I don't thinks this problem could be solved with PHP guys, taking in account
the fact that a simple bug report with the patch usually result in two weeks
of formal replies like "it's not a bug, it's a feature". Not speaking about
they desicover new bugs in basedir every couple of days.
--
Stanislav Sedov
ST4096-RIPE
_______________________________________________
freebsd-performance@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "freebsd-performance-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: PHP with open_basedir performance problem
- From: Arkadi Shishlov
- Re: PHP with open_basedir performance problem
- Prev by Date: Re: SMP & HTT on 6.3 (P4)
- Next by Date: Re: PHP with open_basedir performance problem
- Previous by thread: DEVICE_POLLING IF_EM CPU usage
- Next by thread: Re: PHP with open_basedir performance problem
- Index(es):
Relevant Pages
|
|