Ubuntu 18.04 上的游戏专用服务器应用程序在一段时间后崩溃/滞后 - xfce4 GUI

Ubuntu 18.04 上的游戏专用服务器应用程序在一段时间后崩溃/滞后 - xfce4 GUI

我一直在运行一个游戏服务器应用程序,在一段时间后(运行几个小时甚至完全没有任何问题),所有连接到它的人都会崩溃(它只是滞后一/两分钟,使大多数人断开连接,尽管应用程序保持打开状态,此后恢复自身以进行新的人员连接)。

该服务器在具有 1 个 vCore、500 MB RAM 和 400 mbps 网络带宽的 VPS 上运行。我监控了资源,当游戏服务器满时,CPU 工作在 50%,而 RAM 始终在 30% 左右。上传消耗约10 mbps。防火墙已禁用。

我所说的就是《神力科莎》专用服务器。

这是崩溃时的日志。

2021-05-20 20:42:34,760: PAGE: /cq/kehulistajax.php
2021-05-20 20:42:35,131: PAGE: /INFO
2021-05-20 20:42:35,132: REQ
2021-05-20 20:42:35,331: PAGE: /check.php
2021-05-20 20:42:35,608: PAGE: /api/wallet/redDetail
2021-05-20 20:42:35,632: PAGE: /INFO
2021-05-20 20:42:35,632: REQ
2021-05-20 20:42:35,655: PAGE: /JSON|765xxx
2021-05-20 20:42:35,734: EOF
2021-05-20 20:42:35,891: PAGE: /h5/
2021-05-20 20:42:35,939: PAGE: /INFO
2021-05-20 20:42:35,939: REQ
2021-05-20 20:42:35,983: PAGE: /INFO
2021-05-20 20:42:35,983: REQ
2021-05-20 20:42:36,094: PAGE: /JSON|765xxx
2021-05-20 20:42:36,175: PAGE: /index.php/Wap/Api/getBanner
2021-05-20 20:42:36,269: PAGE: /INFO
2021-05-20 20:42:36,269: REQ
2021-05-20 20:42:36,450: PAGE: /index.php/Wap/Api/getSystemNotice
2021-05-20 20:42:36,830: PAGE: /JSON|765xxx
2021-05-20 20:42:37,344: PAGE: /JSON|765xxx
2021-05-20 20:42:37,617: PAGE: /script/public.js
2021-05-20 20:42:37,775: EOF
2021-05-20 20:42:38,157: PAGE: /INFO
2021-05-20 20:42:38,157: REQ
2021-05-20 20:42:38,559: PAGE: /JSON|765xxx
2021-05-20 20:42:40,130: PAGE: /api/site/getInfo.do
2021-05-20 20:42:40,214: New connection from &{{14664763300}}
2021-05-20 20:42:40,214: SOCKET NO DELAY SET
2021-05-20 20:42:40,215: PAGE: /locale/Goex/zh/common.js
2021-05-20 20:42:40,219: PAGE: /JS/loginstatus.js
2021-05-20 20:42:40,465: PAGE: /base/goexjs
2021-05-20 20:42:40,622: PAGE: /JSON|765xxx
2021-05-20 20:42:40,834: PAGE: /JSON|765xxx
2021-05-20 20:42:40,918: EOF
2021-05-20 20:42:41,171: PAGE: /INFO
2021-05-20 20:42:41,171: REQ
2021-05-20 20:42:41,178: PAGE: /INFO
2021-05-20 20:42:41,178: REQ
2021-05-20 20:42:41,359: PAGE: /other/codepay/js/codepay_util.js
2021-05-20 20:42:41,429: PAGE: /anquan/qgga.asp
2021-05-20 20:42:41,679: PAGE: /statics/js/API.js
2021-05-20 20:42:41,796: PAGE: /INFO
2021-05-20 20:42:41,797: REQ
2021-05-20 20:42:41,930: PAGE: /common/download.js
2021-05-20 20:42:42,712: PAGE: /JSON|765xxx
2021-05-20 20:42:43,977: PAGE: /JSON|765xxx
2021-05-20 20:42:43,988: PAGE: /JSON|765xxx
2021-05-20 20:42:44,353: PAGE: /JSON|765xxx
2021-05-20 20:42:44,857: PAGE: /JSON|765xxx
2021-05-20 20:42:44,868: PAGE: /INFO
2021-05-20 20:42:44,868: REQ
2021-05-20 20:42:44,970: PAGE: /JSON|765xxx
2021-05-20 20:42:45,186: PAGE: /config
2021-05-20 20:42:45,376: PAGE: /INFO
2021-05-20 20:42:45,376: REQ
2021-05-20 20:42:45,822: PAGE: /user/login
2021-05-20 20:42:46,100: PAGE: /zz2/address.php
2021-05-20 20:42:46,722: PAGE: /
2021-05-20 20:42:47,831: PAGE: /INFO
2021-05-20 20:42:47,832: REQ
2021-05-20 20:42:48,667: PAGE: /JSON|765xxx
2021-05-20 20:42:48,696: PAGE: /JSON|765xxx
2021-05-20 20:42:51,017: PAGE: /JSON|765xxx
2021-05-20 20:42:51,191: PAGE: /INFO
2021-05-20 20:42:51,192: REQ
2021-05-20 20:42:51,438: PAGE: /JSON|765xxx
2021-05-20 20:42:51,641: PAGE: /style.css
2021-05-20 20:42:51,994: PAGE: /JSON|765xxx
2021-05-20 20:42:51,994: PAGE: /js/json.js
2021-05-20 20:42:52,096: PAGE: /api/currency/quotation_new
2021-05-20 20:42:52,174: PAGE: /INFO
2021-05-20 20:42:52,174: REQ
2021-05-20 20:42:52,178: PAGE: /INFO
2021-05-20 20:42:52,178: REQ
2021-05-20 20:42:52,241: PAGE: /Content/css/wzwstylel.css
2021-05-20 20:42:52,279: EOF
2021-05-20 20:42:52,562: PAGE: /JSON|765xxx
- - - - - - -  other example of crash logs - - - - - - - -
2021-05-10 14:47:38,480: PAGE: /JSON|765xxx
2021-05-10 14:47:38,657: PAGE: /JSON|765xxx
2021-05-10 14:47:38,827: ERROR on SendTCPPacket: write tcp ipxxx:9722->ipxxx:43602: write: connection timed out
2021-05-10 14:47:38,827: ERROR on SendTCPPacket: write tcp ipxxx:9722->ipxxx:56621: write: broken pipe
2021-05-10 14:47:38,827: ERROR on SendTCPPacket: write tcp ipxxx:9722->ipxxx:63440: write: broken pipe

many many more for 1/2 minutes

EDIT: I've seen also a no route to host error added to connection timeout and broken pipe.

我怎样才能解决这个问题?

答案1

我已经更换了提供商,但两天后就发生了崩溃,旧的提供商使得服务器只持续了 1 天或更短的时间。

这个问题仍然没有解决方案。

相关内容