--
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/ae832116-2b20-4dc3-8ca6-a27f8f54cd92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Got you, thanks for the quick response.
Another question related to long term cache -- would restarting
apache affect image serving (e.g. would mps need to recollect
beacon data in order to know which image url to serve)? Or is
gathered beacon data saved on files (cache?) as well and survive
restarts?
Thanks,
Mickey.
You received this message because you are subscribed to a topic in the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mod-pagespeed-discuss/pbuT_tYiSG0/unsubscribe.
To unsubscribe from this group and all its topics, 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/CA%2B7dWMEs6wR7%3DkHNN810qnKWWATnFBJ%2Bntiv%3Dhs4OdXmfe3Azw%40mail.gmail.com.
--
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/d409bfa5-290c-4e02-b51a-946baf05fe58%40googlegroups.com.
NP :-)
I was asking this question since even though we have an unlimited
cache size (currently 35 GB and growing) we still see many times
pages that were not visited for a day or so include the non
optimized version of images urls (without even the simple x).
You received this message because you are subscribed to a topic in the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mod-pagespeed-discuss/pbuT_tYiSG0/unsubscribe.
To unsubscribe from this group and all its topics, 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/CA%2B7dWMEk%3DJ3hHMGfFdeSrYfPy4PSqebWBWZzitP_tcP%3DxCndgQ%40mail.gmail.com.
> setting FileCacheInodeLimit and FileCacheSizeKb isn't enough to disable the resource-intensive part of cache cleaning
I think you need add a support (simple) for disabling the cache cleaning completely. Our current cache is 90G and growing. Passing on such larger volumes can be cumbersome even with ionice.
$ diff /etc/httpd/conf.d/pagespeed.conf /vendors/etc/httpd/conf.d/pagespeed.conf45c45< ModPagespeedFileCachePath "/***/mod_pagespeed/"---> ModPagespeedFileCachePath "/var/cache/mod_pagespeed/"89,95c89< ModPagespeedEnableFilters collapse_whitespace,elide_attributes,trim_urls< ModPagespeedEnableFilters resize_rendered_image_dimensions< ModPagespeedEnableFilters remove_quotes,remove_comments< ModPagespeedEnableFilters insert_dns_prefetch< ModPagespeedEnableFilters dedup_inlined_images< ModPagespeedEnableFilters defer_javascript< #ModPagespeedEnableFilters debug---> # ModPagespeedEnableFilters collapse_whitespace,elide_attributes150,153c144,145< # Max int< ModPagespeedFileCacheSizeKb 2147483647< # Once in 20 years< ModPagespeedFileCacheCleanIntervalMs 630720000000---> # ModPagespeedFileCacheSizeKb 102400> # ModPagespeedFileCacheCleanIntervalMs 3600000168c160< ModPagespeedFileCacheInodeLimit 0---> ModPagespeedFileCacheInodeLimit 500000
--
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/7a9ada2a-1dec-45de-abdb-70deef0c2c45%40googlegroups.com.
As this is a production server, I think we'll use Jeff's suggestion and increase the interval to several years, until this patch is officially released.
> Could you check if the observed interval more or less matches the expiry interval of the original images?Can you please explain this a bit more into details, so we're sure we're checking the right thing? In "observed interval", do you mean the period since last accessed? Also, where do we find the image files on the disk?
--
You received this message because you are subscribed to a topic in the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mod-pagespeed-discuss/pbuT_tYiSG0/unsubscribe.
To unsubscribe from this group and all its topics, 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/CAHqmWiMbPCy-%2BbVH9efXhdBLTFw_GPXi_NHozV7vVre%2BZo5ZmA%40mail.gmail.com.
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/ca70bdde-8504-cebd-5908-361007feadbc%40kikuta2008.com.
In any case, we have disabled those restarts and I'll let you
know if this was the cause.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/CAHqmWiNt3O%3DHZtFEUjQDuMgbiAVhj1B-CJfoOEyhUBxjEYB-Ng%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/1d54f2f1-d005-8e46-f468-84032595ef7f%40kikuta2008.com.
>
The dips to zero in all the
graphs represent the logged statistics being reset to 0. As far
as I know this can only happens when a a fresh worker processes
is logging them. If the statistics dropping to zero happens at
the same time as seeing far less optimized images being served,
that may need some more investigation.
If I understand the terminology correctly, I think you can see
that on the graphs you have sent. Take a look at general cache
graph and image stats graph.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/CAHqmWiPOAy4ytxFwZoj16UOJsLgvk-ZZUHjLuHRuGtu9oXg51A%40mail.gmail.com.
If I understand the terminology correctly, I think you can see that on the graphs you have sent. Take a look at general cache graph and image stats graph.
> By the sound of it not all the 0 statistics in the logs can be explained by scheduled restarts; but perhaps you have MaxConnectionsPerChild configured (or some other form of automatic conditional worker-process restarting)?
You are right. There were also configuration updates.
We disabled our routine graceful restart and avoided conf upgrades, and the graphs look much better. There was still one graceful made by the log rotation scripts. I'm sending you the logfile. One thing I really don't understand -- how come "file cache misses" is increasing over time? Or is this an accumulated number, rather than the misses per X requests?
As for the fix -- here are some more use cases to think about when you decide of a solution:
> I filed that for the resize_rendered_image_dimensions filter, do you have that enabled?
- Log rotation scripts.
- People updating their apache config (happens every few hours on our case).
- People updating their servers' OS (Amazon issues an AMI update every 1-2 weeks).
- People running on the cloud, having several dynamic servers starting and stopping, all connecting to a central cache.
- People using MaxConnectionsPerChild, as you mentioned.
Yes, though I really doubt it's related to the specific filter. I think this is more a general cache issue.
> see if .pagespeed. images are (at least temporary) being served?
Yes, the optimized images are being served, and than after several hours apache "forgets" the optimized images exist, and start the optimization process again for the next few hours (serves an unoptimized version, gather the beacon data, and after 2-3 requests start serving again the optimized version). This "amnesia" happens every few hours.
To unsubscribe from this group and all its topics, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/CAHqmWiMbPCy-%2BbVH9efXhdBLTFw_GPXi_NHozV7vVre%2BZo5ZmA%40mail.gmail.com.
--
For more options, visit https://groups.google.com/d/optout.
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-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/ca70bdde-8504-cebd-5908-361007feadbc%40kikuta2008.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mod-pagespeed-discuss/pbuT_tYiSG0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/CAHqmWiNt3O%3DHZtFEUjQDuMgbiAVhj1B-CJfoOEyhUBxjEYB-Ng%40mail.gmail.com.--
For more options, visit https://groups.google.com/d/optout.
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-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/1d54f2f1-d005-8e46-f468-84032595ef7f%40kikuta2008.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mod-pagespeed-discuss/pbuT_tYiSG0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
> Did restarting less help with more consistent image
optimization?
No. Image optimizations still did not occur properly. We're still
testing to see if we consistently get the simple x optimized
version (jpeg2webp, etc, without resizing) or we loose image
optimization entirely. Will get back to you later on about that.
To unsubscribe from this group and all its topics, 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/7eee2b20-7dd6-4285-b449-0ded741af6a2%40googlegroups.com.
Syntax error on line *** of /etc/httpd/conf.d/pagespeed.conf:
Invalid command 'ModPagespeedFinderPropertiesCacheExpirationTimeMs', perhaps misspelled or defined by a module not included in the server configuration
--
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/0ed31585-bac9-40e8-96ce-38e58b32f8fa%40googlegroups.com.
> What I can do is offer you a patch that does wire it through
so you could try it out?
Thanks a lot for the offer! Still, as this is a production server
we can not install patched versions.
You said you managed to reproduce the problem using
resize_rendered_image_dimensions -- can you see if changing the
value of kDefaultFinderPropertiesCacheExpirationTimeMs fixes the
issue?
You received this message because you are subscribed to a topic in the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mod-pagespeed-discuss/pbuT_tYiSG0/unsubscribe.
To unsubscribe from this group and all its topics, 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/CAHqmWiMc%2B4LFiha3T-Br3A6QfmY%3DmQOrpyMApHccDdTS7%2B-SQA%40mail.gmail.com.
> What I can do is offer you a patch that does wire it through so you could try it out?
Thanks a lot for the offer! Still, as this is a production server we can not install patched versions.
You said you managed to reproduce the problem using resize_rendered_image_dimensions -- can you see if changing the value of kDefaultFinderPropertiesCacheExpirationTimeMs fixes the issue?
> One thing that would help ruling out if this issue is important for you is disabling the filter temporarily and seeing how that affects image optimization.
The x optimized version always appear. It's the image sizes that are lost after a while, hence removing resize_rendered_image_dimensions will just serve the x optimized version that is served anyway. Or am I missing something?
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/0ed31585-bac9-40e8-96ce-38e58b32f8fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mod-pagespeed-discuss/pbuT_tYiSG0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
> Well,I could reproduce a problem, but I'm not 100% sure that
it is the problem you are running into.
I think you are right.
Here is the scenario that we experience:
Note that this is occurring although we set the cache size to be
extremely large, and its limit was never reached.
> I think both things that may affect your website (short
beacon data cacheTTL and possibly #1352) are going to require code
changes to fix, so I'm not sure how to help you further in the
short term.
From your experience, how much time would it take until those are fixed and a version including those fixes is released?
I'm asking as I wonder if we should wait for you guys (say up to 2-3 months) or patch it ourselves (on the html level, using jmarantz suggestion for resizing images and dropping the resize_rendered_image_dimensions filter)
Many thanks for the help :thumb-up:
Mickey.
To unsubscribe from this group and all its topics, 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/46299c4c-9b1c-4f94-b44a-5a8b0f23fa9c%40googlegroups.com.
To unsubscribe from this group and all its topics, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
If you guys can officially release just this fix, that would be
awesome!
To unsubscribe from this group and all its topics, 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/e40d24ef-4d1c-45a7-bd79-25f2d66a0d68%40googlegroups.com.
--
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/1621e705-8dac-4b31-82a4-a075c6364030%40googlegroups.com.
Got you, thanks :-)
You received this message because you are subscribed to a topic in the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mod-pagespeed-discuss/pbuT_tYiSG0/unsubscribe.
To unsubscribe from this group and all its topics, 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/CAHqmWiOhU%3DXK3EyU_7xX3Bh66_6hBiKi63-ebWL%3DvJUWcp9AOQ%40mail.gmail.com.