启动了几个docker镜像之后,面板那就无法访问,打开后台就一直转圈圈,进不去,重启才能进去。ping是通的,就是面板进不去,这是什么原因?
- 1pctl status 检查一下服务状态
- cat /opt/1panel/log/1Panel.log 查看日志文件
好像是磁盘满了的原因,清理磁盘就好了。另外不知道为什么启动容器的时候,启动到第五个的时候就会开始卡住,终端也开始掉,服务器开始卡,1P面板连不上,这是什么原因呢?
root@iZf8zb5l87hZ:~# 1pctl status
● 1panel.service - 1Panel, a modern open source linux panel
Loaded: loaded (/etc/systemd/system/1panel.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2024-06-19 09:49:02 CST; 3min 15s ago
...
root@iZf8zbgem0zifzkdd5l87hZ:~# cat /opt/1panel/log/1Panel.log
[2024-06-19 00:00:00] [INFO] The scheduled certificate update task is currently in progress ...
[2024-06-19 00:00:00] [INFO] The scheduled certificate update task has completed
[2024-06-19 00:00:00] [INFO] run cache gc start ...
...
[2024-06-19 09:45:40] [INFO] start container RSIStrF_5m operation remove
[2024-06-19 09:45:44] [INFO] start container RSISF_1d operation remove
[2024-06-19 09:45:51] [INFO] start container RSIStrF_30mh operation remove
[2024-06-19 09:45:57] [INFO] start container RSIStrF_4h operation remove
[2024-06-19 09:49:04] [INFO] init logger successfully
[2024-06-19 09:49:04] [INFO] init monitor db successfully
[2024-06-19 09:49:04] [INFO] init db successfully
[2024-06-19 09:49:04] [INFO] Migration run successfully
[2024-06-19 09:49:09] [INFO] init cache successfully
[2024-06-19 09:49:09] [INFO] init session successfully
[2024-06-19 09:49:21] [ERROR] load remote time with [pool.ntp.org] failed, err: failed to connect: dial udp: lookup pool.ntp.org on 127.0.0.53:53: read udp 127.0.0.1:43841->127.0.0.53:53: i/o timeout
[2024-06-19 09:49:24] [INFO] [xpack] init db successfully
[2024-06-19 09:49:24] [INFO] [xpack] migration run successfully
[2024-06-19 09:49:24] [INFO] Starting synchronization with App Store...
[2024-06-19 09:49:24] [INFO] listen at http://0.0.0.0:22029 [tcp4]
[2024-06-19 09:49:34] [ERROR] [xpack] do request for sync status failed, err: Put "/license-Panel-oxILV-usage-JmsBG": context deadline exceeded
[2024-06-19 09:49:36] [ERROR] App Store synchronization failed
[2024-06-19 09:49:44] [DEBUG] [xpack] load license status failed *1, try again now...
[2024-06-19 09:49:51] [ERROR] load latest version from oss failed, err: Get "https://resource.fit2cloud.com/1panel/package/stable/latest": dial tcp: lookup resource.fit2cloud.com on 127.0.0.53:53: read udp 127.0.0.1:56941->127.0.0.53:53: i/o timeout
[2024-06-19 09:49:54] [ERROR] [xpack] do request for sync status failed, err: Put "/license-Panel-oxILV-usage-JmsBG": context deadline exceeded
[2024-06-19 09:50:03] [ERROR] load latest version from oss failed, err: Get "https://resource.fit2cloud.com/1panel/package/stable/latest.current": dial tcp: lookup resource.fit2cloud.com on 127.0.0.53:53: read udp 127.0.0.1:57260->127.0.0.53:53: i/o timeout
[2024-06-19 09:50:14] [DEBUG] [xpack] load license status failed *2, try again now...
[2024-06-19 09:50:24] [ERROR] [xpack] do request for sync status failed, err: Put "/license-Panel-oxILV-usage-JmsBG": context deadline exceeded
[2024-06-19 09:51:04] [DEBUG] [xpack] load license status failed *3, try again now...
[2024-06-19 09:51:14] [ERROR] [xpack] do request for sync status failed, err: Put "/license-Panel-oxILV-usage-JmsBG": context deadline exceeded
[2024-06-19 09:52:14] [DEBUG] [xpack] load license status failed *4, try again now...
[2024-06-19 09:52:24] [ERROR] [xpack] do request for sync status failed, err: Put "/license-Panel-oxILV-usage-JmsBG": context deadline exceeded
[2024-06-19 09:52:24] [DEBUG] 4 1 * * *
root@iZf8zbgem0zifzkdd5l87hZ:~#
服务器什么配置
2核2g内存 40g硬盘
建议监控服务器的资源使用情况,可能是由于内存占用过高导致的问题。