Dead2 commented on issue #1775: Deadlock in shm statistics URL: https://github.com/apache/incubator-pagespeed-mod/issues/1775#issuecomment-394729292 @morlovich No crashes in relation to this unfortunately. @jmarantz That is indeed a concern with mpm-itk. But having it live through several connections is impossible, since it cannot re-acquire root permissions once it has given them up. So it has to be a fresh process for each connection. What would help was if it was possible to tell mpm-itk to wait until pagespeed is done processing data before ending the process. I'm not sure how mpm-itk ends the process, but shouldn't mod_pagespeed ideally get notified and be able to release the lock before going away? An alternative would be to spawn a process(instead of a thread) for handling background rewrites and cache maintenance etc (possibly with the optimization that only one process per vhost exist, and that process gets launched on demand and optionally quits after X minutes idle.). This problem cannot easily be solved by a central daemon/process, since it requires permissions to access the various users files, and permanently running complex code as root is not wanted.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services