You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pagespeed.apache.org by GitBox <gi...@apache.org> on 2020/09/25 09:04:03 UTC

[GitHub] [incubator-pagespeed-mod] koboltmarky opened a new issue #2042: nginx with pagespeed goes down - Unable to parse Json data for rendered images

koboltmarky opened a new issue #2042:
URL: https://github.com/apache/incubator-pagespeed-mod/issues/2042


   Hi,
   
   sometimes our nginx with the pagespeed modul getting very slow. The problem starts after the following message appears in the error log:
   
   `020/09/24 15:38:38 [warn] 39#39: [ngx_pagespeed 1.13.35.2-0] [0924/153838:WARNING:critical_images_finder.cc(403)] Unable to parse Json data for rendered images`
   
   After a while followed by:
   
   `terminate called after throwing an instance of 'std::runtime_error'
     what():  Value is not convertible to Int.`
   
   Unfortunately at the moment we could not identified which image produce the error.
   Restart doesn't help, because the same image will be transformed again. 
   
   Pagespeed Configuration:
   
   ```
   Version: 14: on
   
   Filters
   ah	Add Head
   cw	Collapse Whitespace
   cc	Combine Css
   ch	Combine Heads
   gp	Convert Gif to Png
   jp	Convert Jpeg to Progressive
   jw	Convert Jpeg To Webp
   mc	Convert Meta Tags
   pj	Convert Png to Jpeg
   wa	Convert animated images to WebP
   ws	When converting images to WebP, prefer lossless conversions
   ec	Cache Extend Css
   ei	Cache Extend Images
   ep	Cache Extend PDFs
   es	Cache Extend Scripts
   fc	Fallback Rewrite Css 
   if	Flatten CSS Imports
   hpsr	Hint Preload of Subresources
   hw	Flushes html
   ci	Inline Css
   gf	Inline Google Font CSS
   il	Inline @import to Link
   idp	Insert DNS Prefetch
   js	Jpeg Subsampling
   ll	Lazyload Images
   ls	Local Storage Cache
   ga	Make Google Analytics Async
   gaa	Convert showads.js use to async adsbygoogle.js
   cj	Move Css Above Scripts
   cm	Move Css To Head
   co	Outline Css
   pr	Prioritize Critical Css
   rj	Recompress Jpeg
   rp	Recompress Png
   rw	Recompress Webp
   rc	Remove Comments
   ri	Resize Images
   ir	Resize to Rendered Image Dimensions
   rx	Responsive Images
   cf	Rewrite Css
   cu	Rewrite Style Attributes With Url
   is	Sprite Images
   cp	Strip Image Color Profiles
   md	Strip Image Meta Data
   
   Options
     AvoidRenamingIntrospectiveJavascript (aris)  True
     BeaconUrl (bu)                               /ngx_pagespeed_beacon
     EnableRewriting (e)                          1
     FileCacheCleanIntervalMs (afcci)             43200000
     FileCacheInodeLimit (afcl)                   1000000
     FileCachePath (afcp)                         /var/cache/nginx/ngx_pagespeed_cache
     FileCacheSizeKb (afc)                        90000000
     LazyloadImagesAfterOnload (llio)             False
     RespectXForwardedProto (rxfp)                True
     RewriteLevel (l)                             Core Filters
     StatisticsPath (nsp)                         /ngx_pagespeed_statistics
     SupportNoScriptEnabled (snse)                False
   
   ```
   Nginx:
   ```
    -  1.18.0
    - mod_pagespeed/1.13.35.2-0 
   ```
   
   Greets
   Marc
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-pagespeed-mod] jmarantz commented on issue #2042: nginx with pagespeed goes down - Unable to parse Json data for rendered images

Posted by GitBox <gi...@apache.org>.
jmarantz commented on issue #2042:
URL: https://github.com/apache/incubator-pagespeed-mod/issues/2042#issuecomment-698815379


   I believe this issue is fixed in 1.14. Can you upgrade?
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-pagespeed-mod] jmarantz commented on issue #2042: nginx with pagespeed goes down - Unable to parse Json data for rendered images

Posted by GitBox <gi...@apache.org>.
jmarantz commented on issue #2042:
URL: https://github.com/apache/incubator-pagespeed-mod/issues/2042#issuecomment-698815379


   I believe this issue is fixed in 1.14. Can you upgrade?
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-pagespeed-mod] koboltmarky commented on issue #2042: nginx with pagespeed goes down - Unable to parse Json data for rendered images

Posted by GitBox <gi...@apache.org>.
koboltmarky commented on issue #2042:
URL: https://github.com/apache/incubator-pagespeed-mod/issues/2042#issuecomment-698816764


   Ok, i will replace one of the nginx with the new version and then we have to wait. Error doesn't appears often.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-pagespeed-mod] koboltmarky commented on issue #2042: nginx with pagespeed goes down - Unable to parse Json data for rendered images

Posted by GitBox <gi...@apache.org>.
koboltmarky commented on issue #2042:
URL: https://github.com/apache/incubator-pagespeed-mod/issues/2042#issuecomment-698816764


   Ok, i will replace one of the nginx with the new version and then we have to wait. Error doesn't appears often.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org