Learn about Centmin Mod LEMP Stack today
Register Now

Nginx PageSpeed Nginx Nginx uses all resources and then crashes when pagespeed is enabled

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Volodymyr Lupu, Dec 12, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    32,348
    7,181
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,922
    Local Time:
    4:43 AM
    Nginx 1.13.x
    MariaDB 5.5
    FYI, all folks reading basic gist is if you have nginx crashes with ngx_pagespeed 1.12.34* (pre 1.13.35.1) version, update to ngx_pagespeed 1.13.35.1-beta or higher ASAP Nginx PageSpeed - Nginx PageSpeed 1.13.35.1-beta Released. That would be first step to do.
     
  2. noly

    noly Premium Member Premium Member

    93
    13
    8
    Jul 24, 2017
    Germany
    Ratings:
    +24
    Local Time:
    7:43 PM
    1.13.x
    10.x
    A possible reason and fix was recently posted on Github by someone who encountered a similar bug.
    Upgrading brotli to v.1.0.2 supposedly comes with a fix.

    Is it possible to define the brotli version via custom_config.inc or is it necessary to recompile nginx for upgrading?
     
  3. eva2000

    eva2000 Administrator Staff Member

    32,348
    7,181
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,922
    Local Time:
    4:43 AM
    Nginx 1.13.x
    MariaDB 5.5
    Centmin Mod will use the latest brotli version available each time you recompile Nginx via centmin.sh menu option 4 :)
     
    • Informative Informative x 1
  4. noly

    noly Premium Member Premium Member

    93
    13
    8
    Jul 24, 2017
    Germany
    Ratings:
    +24
    Local Time:
    7:43 PM
    1.13.x
    10.x
    I just recompiled Nginx but checking the version with "broli -V" shows me "brotli 1.0.1" :(
     
  5. eva2000

    eva2000 Administrator Staff Member

    32,348
    7,181
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,922
    Local Time:
    4:43 AM
    Nginx 1.13.x
    MariaDB 5.5
  6. noly

    noly Premium Member Premium Member

    93
    13
    8
    Jul 24, 2017
    Germany
    Ratings:
    +24
    Local Time:
    7:43 PM
    1.13.x
    10.x
    Thank you for your assistance here again. Really appreciate your invested time. :)

    I would like to test out fix which was committed recently on GitHub ngx_brotli.
    Unfortunately this is not possible by editing "/usr/local/nginx/modules/ngx_http_brotli_filter_module.so".

    Is there a way to update ngx_brotli with the above recent Github version?
     
  7. eva2000

    eva2000 Administrator Staff Member

    32,348
    7,181
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,922
    Local Time:
    4:43 AM
    Nginx 1.13.x
    MariaDB 5.5
  8. noly

    noly Premium Member Premium Member

    93
    13
    8
    Jul 24, 2017
    Germany
    Ratings:
    +24
    Local Time:
    7:43 PM
    1.13.x
    10.x
    I tested it back and forth and can confirm that the bug is fixed with the new brotli patch. :happy:
     
    • Like Like x 2
  9. eva2000

    eva2000 Administrator Staff Member

    32,348
    7,181
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,922
    Local Time:
    4:43 AM
    Nginx 1.13.x
    MariaDB 5.5
  10. noly

    noly Premium Member Premium Member

    93
    13
    8
    Jul 24, 2017
    Germany
    Ratings:
    +24
    Local Time:
    7:43 PM
    1.13.x
    10.x
    Very nice! :)