[Tue, 10 Jan 2017 11:56:46 GMT] [Info] [36350] http://www.alterego-design.com/c/selections-2/soldes/suspension-chandelier-baroque-kosy-noire-a-pampilles.html:1090: http://www.alterego-design.com/media/deco_client/kosywhite-87.jpg: Too busy to rewrite image.
I also have low hit rates on file_cache and lru_cache compared to our previous setup (which had 70% hits on file_cache and 40% hits on lru_cache).
Currently we have theses values:
Nothing changed in our web application (Magento CE 1.5) and our mod_pagespeed config is still the same also.
Here is our pagespeed config:
ModPagespeed on
ModPagespeedDomain *.alterego-design.com
ModPagespeedDomain *.alterego-design.fr
ModPagespeedDomain *.alterego-design.be
ModPagespeedDomain *.alterego-design.nl
ModPagespeedLoadFromFile "http://cloudfront.alterego-design.com/media/" \
"/var/www/html/prod/media/"
ModPagespeedLoadFromFile "http://media.alterego-design.com/" \
"/var/www/html/prod/media/"
ModPagespeedLoadFromFile "http://media.alterego-design.be/" \
"/var/www/html/prod/media/"
ModPagespeedLoadFromFile "http://media.alterego-design.fr/" \
"/var/www/html/prod/media/"
ModPagespeedLoadFromFile "http://media.alterego-design.nl/" \
"/var/www/html/prod/media/"
ModPagespeedLoadFromFile "http://skin.alterego-design.com/" \
"/var/www/html/prod/skin/"
ModPagespeedLoadFromFile "http://skin.alterego-design.be/" \
"/var/www/html/prod/skin/"
ModPagespeedLoadFromFile "http://skin.alterego-design.fr/" \
"/var/www/html/prod/skin/"
ModPagespeedLoadFromFile "http://skin.alterego-design.nl/" \
"/var/www/html/prod/skin/"
ModPagespeedLoadFromFile "http://js.alterego-design.com/" \
"/var/www/html/prod/js/"
ModPagespeedLoadFromFile "http://js.alterego-design.be/" \
"/var/www/html/prod/js/"
ModPagespeedLoadFromFile "http://js.alterego-design.fr/" \
"/var/www/html/prod/js/"
ModPagespeedLoadFromFile "http://js.alterego-design.nl/" \
"/var/www/html/prod/js/"
ModPagespeedRewriteLevel CoreFilters
ModPagespeedEnableFilters insert_image_dimensions
ModPagespeedEnableFilters insert_dns_prefetch
ModPagespeedEnableFilters inline_images
ModPagespeedDisableFilters convert_jpeg_to_webp,convert_to_webp_lossless,recompress_webp,recompress_webp
ModPagespeedFileCachePath "/var/www/cache/mod_pagespeed/"
ModPagespeedCacheFragment alterego_cache_fragment_key
ModPagespeedLogDir "/var/log/pagespeed"
ModPagespeedCreateSharedMemoryMetadataCache "/var/www/cache/mod_pagespeed/" 1024000
ModPagespeedFileCacheSizeKb 10192000
ModPagespeedFileCacheCleanIntervalMs 36000000
ModPagespeedLRUCacheKbPerProcess 10240
ModPagespeedLRUCacheByteLimit 16384
ModPagespeedFileCacheInodeLimit 5000000
ModPagespeedEnableCachePurge on
Note: adding LoadFromFile didn't solve the "Too busy to rewrite" message. Also, the server load is never above 0.8 load average. So there is no real load on the server.
Extra questions:
--
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+unsubscri...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/5a14b7b8-0e36-4307-8bff-bb0a86299d82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
ModPagespeedFileCacheSizeKb 10192000
ModPagespeedFileCacheCleanIntervalMs 36000000
I did this in the hope to raise the file_cache hit rate but it didn't changed it. Should I stay with these values or put these back to original values?
Thank you,
Regards,
Timothy GERETS.
Thanks for the detailed report with stats & config! That really helps diagnose remotely.ImageMaxRewritesAtOnce should indeed help with the" too busy" errors.Your file cache hit rate might not be that bad for image resources. It might look bad because every URL visited on your site results in a property cache lookup to discover (e.g.) the set of above-the-fold images on example.com/?query=high_entropy_value . This will naturally have a low cache hit rate, but that doesn't necessarily mean the system is behaving badly.One thing that changed since your previous setup with higher cache hit rates was that in upgrading from 1.9 to 1.11 a few optimizations likely turned on by default. I'd have to back to the release notes, but the above property-cache hit-rate impact might be caused by a change we made to use the property-cache to determine whether images were critical before we inline them.I would recommend turning off the LRU cache, since you are enabling the shared-memory metadata cache.
It looks like your file-cache size is sufficiently large because you are not getting any evictions on your chart, though I'd checkYour specific questions:
- Q: Should I also enable memcached to store a part of the cache ? Or is Lru+sharedmemory+file_cache enough?
- A: If you have multiple servers then I think that'd be great. If you just have one server I think it won't make much difference to you.
- Q: All my images have an .ic extension like this: xenzo_white_newsite_05.jpg.pagespeed.ic.XWdvxe76hb.jpg. Normally, shouldn't it be .ce (cache extended) ?
- A: ".ce." means cache extended, which means we didn't change the resource contents; we just signed the URL to allow it to be cache-extended.
- ".ic." means we actually optimized your image in addition to cache-extending it.
- Q: Are there any optimizations I can add to my config ?
- A: I think I'd start with checking out what webpagetest and PageSpeed Insights have to say about your site.
- But the first thought that comes to me is to enable webp conversion. Is there a specific reason you turned it off?
- Next I would check out prioritize_critical_css and lazyload_images.
Hope this helps!-Josh
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsubscri...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/5a14b7b8-0e36-4307-8bff-bb0a86299d82%40googlegroups.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/1427ee25-0d84-4a71-90d2-4fb2bd557b29%40googlegroups.com.