Get the most out of your Centmin Mod LEMP stack
Become a Member

Nginx Socket Leaks after Droplet Restore

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by quicksalad, Sep 13, 2023.

  1. quicksalad

    quicksalad Member

    228
    13
    18
    May 31, 2015
    Ratings:
    +20
    Local Time:
    6:56 AM
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit
    • Centmin Mod Version Installed: 124.00stable
    • Nginx Version Installed: 1.21.6
    • PHP Version Installed: 7.4.33
    • MariaDB MySQL Version Installed: 10.3.xx
    • When was last time updated Centmin Mod code base ? : up to date before restore
    • Persistent Config: Do you have any persistent config file options set in /etc/centminmod/custom_config.inc ? You can check via this command:
      Code (Text):
      cat /etc/centminmod/custom_config.inc
      
    Code (Text):
    MARCH_TARGETNATIVE='n'
    LETSENCRYPT_DETECT='y'
    DUALCERTS='y'
    ACMEDEBUG='y'
    CF_DNSAPI_GLOBAL='y'
    CF_Token="xx"
    CF_Account_ID="xx"
    AUDITD_ENABLE='y'
    NGINX_SSLCACHE_ALLOWOVERRIDE='y'
    NGINX_STAPLE_CACHE_OVERRIDE='y'
    NGINX_STAPLE_CACHE_TTL='86400'
    

    After a droplet(DO) restore I got this error everytime i restart nginx
    Code (Text):
    [alert] 9011#9011: *1048 open socket #25 left in connection 50
    [alert] 9011#9011: *1051 open socket #29 left in connection 84
    [alert] 9011#9011: *1046 open socket #28 left in connection 97
    [alert] 9011#9011: *1047 open socket #20 left in connection 98

    Any help and adive where to start troubleshooting is appreciated. Thanks

     
  2. eva2000

    eva2000 Administrator Staff Member

    52,726
    12,073
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,599
    Local Time:
    11:26 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Update nginx from 1.21.6 to 1.24.0.see #2411 (reload correlates with "open socket ... left in connection", response absent or truncated, and no access.log entry) – nginx

     
  3. quicksalad

    quicksalad Member

    228
    13
    18
    May 31, 2015
    Ratings:
    +20
    Local Time:
    6:56 AM
    @eva2000 Thanks
    Will let you know if error still persist.