Learn about Centmin Mod LEMP Stack today
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

    30,182
    6,786
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,139
    Local Time:
    11:32 PM
    Nginx 1.13.x
    MariaDB 5.5
    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 Well-Known Member

    2,725
    243
    63
    May 31, 2014
    Ratings:
    +434
    Local Time:
    4:32 PM
    Nginx-1.13.x
    MariaDB 10.1.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

    30,182
    6,786
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,139
    Local Time:
    11:32 PM
    Nginx 1.13.x
    MariaDB 5.5
    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 Well-Known Member

    2,725
    243
    63
    May 31, 2014
    Ratings:
    +434
    Local Time:
    4:32 PM
    Nginx-1.13.x
    MariaDB 10.1.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

    30,182
    6,786
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,139
    Local Time:
    11:32 PM
    Nginx 1.13.x
    MariaDB 5.5
    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
    • Like Like x 1
  6. pamamolf

    pamamolf Well-Known Member

    2,725
    243
    63
    May 31, 2014
    Ratings:
    +434
    Local Time:
    4:32 PM
    Nginx-1.13.x
    MariaDB 10.1.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 Well-Known Member

    2,725
    243
    63
    May 31, 2014
    Ratings:
    +434
    Local Time:
    4:32 PM
    Nginx-1.13.x
    MariaDB 10.1.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

    30,182
    6,786
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,139
    Local Time:
    11:32 PM
    Nginx 1.13.x
    MariaDB 5.5
    should be fine to ignore that
     
  9. pamamolf

    pamamolf Well-Known Member

    2,725
    243
    63
    May 31, 2014
    Ratings:
    +434
    Local Time:
    4:32 PM
    Nginx-1.13.x
    MariaDB 10.1.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

    30,182
    6,786
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,139
    Local Time:
    11:32 PM
    Nginx 1.13.x
    MariaDB 5.5
    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:
    2:32 PM
    1.7.5
    5.5
    nginx version: nginx/1.7.8
    =)