Re: PHP with open_basedir performance problem



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"



Relevant Pages

  • Re: Puzzled over NullPointerException
    ... >> You don't expect to have to roll back to the problem I guess, ... As I say it was just a reactionary observation, ... Surprises are ... easier to spot than bug droppings. ...
    (comp.lang.java.programmer)
  • Re: Manipulating the dice
    ... the case just because I made the best play last roll. ... The 'Dice' Panel in Snowie presents this in a nice visual way and shows the ... Snowie even makes it easy to prove the bug, ... setup one player 9 men off and 6 blots in all 6 rows ...
    (rec.games.backgammon)
  • Re: Mosquito repellant: DEET wipes? What?
    ... chemicals and just get shirt and hat with roll down bug ...
    (rec.backcountry)