Hi, I don't quite understand why do we need to put locks around allocate_new_resource(). I skimmed through the code and it seems to be unnecessary. I removed relevant locks and tested the resulting mod_php with httpd, and everything seems to be fine. -- Regards Yuxuan Shui