Hi Wez, I found a bad code in ext/libxml.
On each request startup/shutdown it changing some libxml callbacks. At first this slowdown each request, at second multi-threaded PHP may fail, because different threads may set/clean the same callbacks in the same time. May be it is possible to setup these callbacks forever in MINIT/MSHUTDOWN, set some flag (somthing like LIBXML(in_request)) in RINIT/RSHUTDOWN, and check it in callbacks. Thanks. Dmitry. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php