Re: leaked_rewrite_drivers on destruction

1,190 views
Skip to first unread message

Joshua Marantz

unread,
Apr 27, 2013, 9:08:22 AM4/27/13
to mod-pagespeed-discuss
Hi,

The leaked rewrite_drivers message occurs because mod_pagespeed optimizes resources in the background in response to HTML requests.  After the HTML request is completed, there can still be optimization work going on.  If Apache decides to shut down the child process, then mod_pagespeed attempts to delay the shutdown for about 1 second before giving up and shutting down anyway.  Usually any individual optimization will complete within that deadline; even a complex image optimization.  However if for some reason it takes longer then we may 'leak' the drivers and this is just noting that.

It probably should not be reported as an 'error'.

I'm not sure about the zombie processes -- it's possible that it's related but I wonder if it's also possible that it's another module that uses subprocesses, such as CGI scripts.

We have been discussing trying to tighten up the shutdown flow.  One thing we could try to do is forcibly kill the threads that are doing the background optimizations, rather than letting them terminate cleanly.

-Josh



On Sat, Apr 27, 2013 at 8:59 AM, Luci <lu...@aura.travel> wrote:
Hi,

Not sure what this means, but it may be meaningful to someone else:
    [error] [mod_pagespeed 1.4.26.2-2759 @17846] ServerContext: 1 leaked_rewrite_drivers on destruction

Also, we are getting zombie Apache processes which don't get recycled for many days (which may or may not have anything to do with  the error above).

Cheers,

Luci

--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ahmed Ch3bawi

unread,
Aug 25, 2015, 4:01:40 PM8/25/15
to mod-pagespeed-discuss
Thank for Answer so i shouldent worry about ?

Jeff Kaufman

unread,
Aug 26, 2015, 9:08:15 AM8/26/15
to mod-pagespeed-discuss
Yes, don't worry about this. In 1.9.32.6-beta we downgraded the
message from "error" to "info".

https://github.com/pagespeed/mod_pagespeed/issues/1039

On Tue, Aug 25, 2015 at 4:01 PM, Ahmed Ch3bawi <ch3b...@gmail.com> wrote:
> Thank for Answer so i shouldent worry about ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "mod-pagespeed-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mod-pagespeed-di...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mod-pagespeed-discuss/0706be37-9fff-46df-acd0-45a791b18bb8%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages