mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 08:45:58 +03:00
[GH-ISSUE #92] 部署掉linux后: nginx-ui服务自己就挂掉了 #1401
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#1401
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yuhongqiang on GitHub (Mar 14, 2023).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/92
可能是linux原因: 但是我部署了3台不同的linux服务器 都出现了这个情况
您那边发生过吗?
@0xJacky commented on GitHub (Mar 14, 2023):
可以看一下日志吗
systemctl status nginx-ui
@0xJacky commented on GitHub (Mar 14, 2023):
我这边的话跑了4台服务器,都没挂过了,麻烦提供一下详细日志
@yuhongqiang commented on GitHub (Mar 14, 2023):
[GIN] 2023/03/13 - 19:44:24 | 200 | 44.376µs | 10.20.198.128 | GET "/"
[GIN] 2023/03/13 - 19:44:39 | 200 | 49.975µs | 10.20.198.128 | GET "/"
[GIN] 2023/03/13 - 19:44:54 | 200 | 77.827µs | 10.20.198.128 | GET "/"
[GIN] 2023/03/13 - 19:45:09 | 200 | 40.901µs | 10.20.198.128 | GET "/"
[GIN] 2023/03/13 - 19:45:24 | 200 | 51.847µs | 10.20.198.128 | GET "/"
[GIN] 2023/03/13 - 19:45:39 | 200 | 42.513µs | 10.20.198.128 | GET "/"
[GIN] 2023/03/13 - 19:45:54 | 200 | 89.038µs | 10.20.198.128 | GET "/"
[GIN] 2023/03/13 - 19:46:09 | 200 | 60.461µs | 10.20.198.128 | GET "/"
19:47挂的: 我得linux是6 没有journalctl命令
上面的是我nohup ./nginx-ui -config app.ini > /applog/nginx-ui/nginx-ui.log 2>&1 &
打印出的最后几行日志 (日志没问题)
那应该就是我服务器的问题 我在排查下吧
@0xJacky commented on GitHub (Mar 14, 2023):
可以再观察一下,有错误日志发上来就行,我会尽快解决
@yuhongqiang commented on GitHub (Mar 14, 2023):
好的
@yuhongqiang commented on GitHub (Mar 17, 2023):
2023/03/14 15:51:09 [Error] analytic WriteJSON write tcp 10.0.8.9:9000->154.31.112.39:42648: write: broken pipe
这个会有影响吗?
还是 linux得设置下哪里 才可以 我部署到我自己的腾讯云服务器上一天 也自己就突然挂掉了
@yuhongqiang commented on GitHub (Mar 17, 2023):
2023/03/14 13:37:21 [AutoCert] Recover runtime error: invalid memory address or nil pointer dereference
往前翻 还发现了这样一个error
@0xJacky commented on GitHub (Mar 17, 2023):
这个没有影响
@0xJacky commented on GitHub (Mar 17, 2023):
这个话目前应该是没啥问题,写了recovery,一般来说不会卡死主进程,而且你后面都有请求了,请问您方便提供一下运行环境吗,比如系统,架构。
如果可以的话也可以提供脱敏后的database.db, app.ini 启动参数等到我的邮箱 me@jackyu.cn
@yuhongqiang commented on GitHub (Mar 17, 2023):
已发送
@0xJacky commented on GitHub (Mar 17, 2023):
好的 我过两天研究一下,这两天有点忙JackyOn Mar 17, 2023, at 11:15 AM, yuhongqiang @.***> wrote:
已发送
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
@yuhongqiang commented on GitHub (Mar 17, 2023):
嗯嗯 不急不急
@0xJacky commented on GitHub (Mar 17, 2023):
有试过 release 版本的吗,看看能不能正常使用
@yuhongqiang commented on GitHub (Mar 17, 2023):
用过: 也是服务突然就挂了
@0xJacky commented on GitHub (Mar 17, 2023):
嗯好的
@yuhongqiang commented on GitHub (Mar 17, 2023):
我猜是不是您那里的linux服务器做了什么操作配置 服务才不会挂 我这都试了 就突然就挂
@0xJacky commented on GitHub (Mar 17, 2023):
github.com/0xJacky/nginx-ui@ba87f02a53/install.sh (L269-L272)我这边用的 systemd,做了 restart on failure,那可能确实程序的bug,我这边观察一下,感谢您的反馈
@0xJacky commented on GitHub (Mar 17, 2023):
对了,我再确认一下,是目前最新的版本v1.7.7也会出现这个问题是吧
@yuhongqiang commented on GitHub (Mar 17, 2023):
我现在用的是v1.7.6 之前用 v1.7.5 都有这个问题 1.7.7 没有用过
@0xJacky commented on GitHub (Mar 17, 2023):
麻烦升级一下看看
@yuhongqiang commented on GitHub (Mar 17, 2023):
嗯 升级之后 还有问题我再反馈
@yuhongqiang commented on GitHub (Mar 17, 2023):
已升级 : 星期一给您反馈
@0xJacky commented on GitHub (Mar 17, 2023):
好嘞,我这边也测测看
@0xJacky commented on GitHub (Mar 20, 2023):
我这边在 Ubuntu 22.04 上跑了几天了,一直没重启。您那边是什么发行版的 Linux 呢
@yuhongqiang commented on GitHub (Mar 20, 2023):
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
@yuhongqiang commented on GitHub (Mar 20, 2023):
Linux version 3.10.0-1160.31.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Thu Jun 10 13:32:12 UTC 2021
@yuhongqiang commented on GitHub (Mar 20, 2023):
我这边用我的mac m1 放了几天 也没有挂 就上linux挂了
@0xJacky commented on GitHub (Mar 20, 2023):
看看系统日志,是不是 OOM 了然后被 kill 了JackyOn Mar 20, 2023, at 2:47 PM, yuhongqiang @.***> wrote:
我这边用我的mac m1 放了几天 也没有挂 就上linux挂了
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
@yuhongqiang commented on GitHub (Apr 3, 2023):
我这边还是突然中断,不是oom问题, 我这边目的是可视化 不需要编辑 所以就上了守护进程 也不影响使用
@0xJacky commented on GitHub (Apr 3, 2023):
嗯,好的
nginx-ui xxx导致cpu飙升 #2848nginx-ui xxx导致cpu飙升 #2850nginx-ui xxx导致cpu飙升 #2854nginx-ui xxx导致cpu飙升 #3883nginx-ui xxx导致cpu飙升 #5209nginx-ui xxx导致cpu飙升 #6555nginx-ui xxx导致cpu飙升 #7901