Welcome to Centmin Mod Community
Become a Member

Nginx [nginx-announce] nginx-1.7.8

Discussion in 'Nginx and PHP-FPM news & discussions' started by eva2000, Dec 3, 2014.

Tags:
  1. eva2000

    eva2000 Administrator Staff Member

    53,530
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    9:03 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Changes with nginx 1.7.8 02 Dec 2014

    *) Change: now the "If-Modified-Since", "If-Range", etc. client request
    header lines are passed to a backend while caching if nginx knows in
    advance that the response will not be cached (e.g., when using
    proxy_cache_min_uses).

    *) Change: now after proxy_cache_lock_timeout nginx sends a request to a
    backend with caching disabled; the new directives
    "proxy_cache_lock_age", "fastcgi_cache_lock_age",
    "scgi_cache_lock_age", and "uwsgi_cache_lock_age" specify a time
    after which the lock will be released and another attempt to cache a
    response will be made.

    *) Change: the "log_format" directive can now be used only at http
    level.

    *) Feature: the "proxy_ssl_certificate", "proxy_ssl_certificate_key",
    "proxy_ssl_password_file", "uwsgi_ssl_certificate",
    "uwsgi_ssl_certificate_key", and "uwsgi_ssl_password_file"
    directives.
    Thanks to Piotr Sikora.

    *) Feature: it is now possible to switch to a named location using
    "X-Accel-Redirect".
    Thanks to Toshikuni Fukaya.

    *) Feature: now the "tcp_nodelay" directive works with SPDY connections.

    *) Feature: new directives in vim syntax highliting scripts.
    Thanks to Peter Wu.

    *) Bugfix: nginx ignored the "s-maxage" value in the "Cache-Control"
    backend response header line.
    Thanks to Piotr Sikora.

    *) Bugfix: in the ngx_http_spdy_module.
    Thanks to Piotr Sikora.


    *) Bugfix: in the "ssl_password_file" directive when using OpenSSL
    0.9.8zc, 1.0.0o, 1.0.1j.

    *) Bugfix: alerts "header already sent" appeared in logs if the
    "post_action" directive was used; the bug had appeared in 1.5.4.

    *) Bugfix: alerts "the http output chain is empty" might appear in logs
    if the "postpone_output 0" directive was used with SSI includes.

    *) Bugfix: in the "proxy_cache_lock" directive with SSI subrequests.
    Thanks to Yichun Zhang.


    --
    Maxim Dounin
    http://nginx.org/en/donation.html

    _______________________________________________
    nginx-announce mailing list
    nginx-announce@nginx.org
    http://mailman.nginx.org/mailman/listinfo/nginx-announce

    Continue reading...
     
  2. pamamolf

    pamamolf Premium Member Premium Member

    4,069
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    2:03 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Upgrade done thanks :)

    I got only this:

    Code:
    nginx: [error] open() "/usr/local/nginx/logs/nginx.pid" failed (2: No such file or directory)
     
  3. eva2000

    eva2000 Administrator Staff Member

    53,530
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    9:03 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Strange indeed, probably not related to upgrade or Centmin Mod normal default config, so you'd have to figure it out on your own besides the obvious message there that file or directory doesn't exist. Good place to ask for specific Nginx general questions is at Nginx Forum :: Nginx Mailing List - English
     
  4. pamamolf

    pamamolf Premium Member Premium Member

    4,069
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    2:03 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    I did already but i didn't get an answer :(

    The path exist and i have this problem on all 3 centminmod servers that i have :(

    Anyway thanks....
     
  5. eva2000

    eva2000 Administrator Staff Member

    53,530
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    9:03 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Strange as I have like 30+ Centmin Mod servers without that error, so must be something specific to what you did on your configurations. However, you'll have to figure that out yourself. But if Nginx works, it should be fine.

    edit: ok I might see why that error occurs - it can be ignored, it's just nginx.pid is located in path to directory in Nginx's logrotate and logrotate thinks it's a log which it can't touch.

    or change path to nginx.pid in nginx.conf i.e.

    Code:
    pid               nginx.pid;
     
    Last edited: Dec 3, 2014
  6. pamamolf

    pamamolf Premium Member Premium Member

    4,069
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    2:03 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Ok great i change it from:

    pid logs/nginx.pid;
    to
    pid nginx.pid;

    I think you should edit it also at github so we can download the latest version with this edit ready to use :)
     
  7. pamamolf

    pamamolf Premium Member Premium Member

    4,069
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    2:03 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Today i got it again :(

    Code:
    2014/12/04 03:51:03 [alert] 25780#0: unlink() "/usr/local/nginx/nginx.pid" failed (2: No such file or directory)
    2014/12/04 03:55:11 [alert] 3296#0: unlink() "/usr/local/nginx/nginx.pid" failed (2: No such file or directory)
    And on that path that exists there is no nginx.pid :(

    I don't know if it ignores that command and create it on another path or something else is wrong :(

    Thanks
     
  8. eva2000

    eva2000 Administrator Staff Member

    53,530
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    9:03 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    should be fine to ignore that
     
  9. pamamolf

    pamamolf Premium Member Premium Member

    4,069
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    2:03 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Ok thanks George :)

    Is there any easy way to trace what happen and it generates this every time between 03:10 to 03: 50 ?

    There is no cron at all at this time and traffic is low and i think maybe is just recycle the workers ? or not?

    Thanks
     
  10. eva2000

    eva2000 Administrator Staff Member

    53,530
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    9:03 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    You'd have to figure it out on your own right now.
     
  11. Afterward

    Afterward Member

    94
    29
    18
    Jul 20, 2014
    Ratings:
    +29
    Local Time:
    12:03 AM
    1.7.5
    5.5
    nginx version: nginx/1.7.8
    =)