jmarantz commented on issue #1775: Deadlock in shm statistics
URL: 
https://github.com/apache/incubator-pagespeed-mod/issues/1775#issuecomment-396574736
 
 
   That certainly sounds interesting. I suppose if the process shutdowns are
   graceful that could work.  But it also may result in a lot of lingering
   processes, and could result in a lot of server load depending on timing.
   
   Short term with existing code in place I would use the deadline controls we
   have in MPS already to try too improve things. Does that seem reasonable?
   
   On Tue, Jun 12, 2018, 3:17 AM Hans Kristian Rosbach <
   [email protected]> wrote:
   
   > Apache supposedly has hooks to prevent shutdown of the process until
   > dependent tasks have finished, does mod_pagespeed register with these at
   > all? Does mod_pagespeed register any atexit() code for example? I'd guess
   > this is probably the most robust solution to this problem and to handle the
   > case of killed processes for whatever reason.
   >
   > Apache connection-process exit code:
   >
   >   ap_run_process_connection(c);
   >   ap_lingering_close(c);
   >   exit(0);
   >
   > —
   > You are receiving this because you were mentioned.
   > Reply to this email directly, view it on GitHub
   > 
<https://github.com/apache/incubator-pagespeed-mod/issues/1775#issuecomment-396490225>,
   > or mute the thread
   > 
<https://github.com/notifications/unsubscribe-auth/AB2kPShY-iB_62-9oUNDHombYDG07HHfks5t72rvgaJpZM4UaisD>
   > .
   >
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to