Skip to content

【V2.1.6+】系统重启后,NginxUI启动无法访问且内存占用一直增加 #1178

@xhal

Description

@xhal

原先是在线升级的 V2.1.6

重启后无法访问, 内存占用快速增加
才启动一会,内存占用18%
Image

1分钟左右后,内存占用50%
Image

后手动升级成 V2.1.8

重启后还是无法访问, 内存占用也一直在增加,但比较慢了

Image

10几分钟后,内存占用增加到10%
Image

系统版本:

cat /etc/os-release 
PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo

nginx -V信息

nginx -V
nginx version: openresty/1.27.1.1
built by gcc 13.2.0 (Ubuntu 13.2.0-23ubuntu4) 
built with OpenSSL 3.0.13 30 Jan 2024
TLS SNI support enabled
configure arguments: --prefix=/usr/local/openresty/nginx --with-debug --with-cc-opt='-DNGX_LUA_USE_ASSERT -DNGX_LUA_ABORT_AT_PANIC -O2' --add-module=../ngx_devel_kit-0.3.3 --add-module=../echo-nginx-module-0.63 --add-module=../xss-nginx-module-0.06 --add-module=../ngx_coolkit-0.2 --add-module=../set-misc-nginx-module-0.33 --add-module=../form-input-nginx-module-0.12 --add-module=../encrypted-session-nginx-module-0.09 --add-module=../srcache-nginx-module-0.33 --add-module=../ngx_lua-0.10.27 --add-module=../ngx_lua_upstream-0.07 --add-module=../headers-more-nginx-module-0.37 --add-module=../array-var-nginx-module-0.06 --add-module=../memc-nginx-module-0.20 --add-module=../redis2-nginx-module-0.15 --add-module=../redis-nginx-module-0.3.9 --add-module=../rds-json-nginx-module-0.17 --add-module=../rds-csv-nginx-module-0.09 --add-module=../ngx_stream_lua-0.0.15 --with-ld-opt=-Wl,-rpath,/usr/local/openresty/luajit/lib --user=www --group=www --with-http_gzip_static_module --with-threads --with-http_ssl_module --with-http_image_filter_module --with-http_stub_status_module --with-http_v2_module --with-stream --with-stream --with-stream_ssl_module --with-stream_ssl_preread_module

app.ini配置

[app]
PageSize  = 20
JwtSecret = 5106d6e6-fc3f-4f0b-a555-c0ssd0589e02df79

[server]
Host    = 
Port    = 9000
RunMode = debug
BaseUrl = 

[database]
Name = database

[auth]
IPWhiteList         = 
BanThresholdMinutes = 10
MaxAttempts         = 10

[casdoor]
Endpoint        = 
ClientId        = 
ClientSecret    = 
CertificatePath = 
Organization    = 
Application     = 
RedirectUri     = 
ExternalUrl     = 

[cert]
RecursiveNameservers = 
Email                = xxx@xxxx.net
CADir                = 
RenewalInterval      = 7
HTTPChallengePort    = 9180

[cluster]
Node = 

[crypto]
Secret = 677a2bcfe0dc94f53e2e77142ccd4081ac8efa76179b7d2e7fbc4cfb5d2d844c

[http]
GithubProxy        = https://ghfast.top/
InsecureSkipVerify = false

[logrotate]
Enabled  = false
CMD      = logrotate /etc/logrotate.d/nginx
Interval = 1440

[nginx]
AccessLogPath   = /usr/local/nginxUI/01-ng-logs/access.log
ErrorLogPath    = /usr/local/nginxUI/01-ng-logs/error.log
LogDirWhiteList = /usr/local/nginxUI/01-ng-logs/
ConfigDir       = /usr/local/nginxUI/00-ng-conf/
PIDPath         = /usr/local/openresty/nginx/logs/nginx.pid
TestConfigCmd   = /usr/local/openresty/bin/openresty -t
ReloadCmd       = /usr/local/openresty/bin/openresty -s reload
RestartCmd      = start-stop-daemon --stop --quiet --oknodo --retry=TERM/30/KILL/5 --pidfile /usr/local/openresty/nginx/logs/nginx.pid && nginx
ConfigPath      = /usr/local/nginxUI/00-ng-conf/nginx.conf

[node]
Name                 = 
Secret               = 512bff9e-a8c8-425a-abdc-23ssa6e13779a7
SkipInstallation     = false
Demo                 = false
ICPNumber            = 
PublicSecurityNumber = 

[openai]
BaseUrl = 
Token   = 
Proxy   = 
Model   = 
APIType = OPEN_AI

[terminal]
StartCmd = login

[webauthn]
RPDisplayName = 
RPID          = 
RPOrigins     = 

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions