Ubuntu 18.04でゲーム専用サーバーアプリケーションがしばらくするとクラッシュ/遅延 - xfce4 GUI

Ubuntu 18.04でゲーム専用サーバーアプリケーションがしばらくするとクラッシュ/遅延 - xfce4 GUI

ゲームサーバーアプリケーションを実行していますが、しばらくすると(何時間も実行したり、まったく問題なく実行しても)、接続されているすべての人がクラッシュします(1〜2分遅れ、ほとんどの人の接続が失われますが、アプリケーションは続行します。開いていて、その後は新しい人の接続のために再起動されます。

サーバーは、vCore 1個、RAM 500MB、ネットワーク帯域幅400mbpsを備えたVPSで実行されています。リソースを監視しましたが、ゲームサーバーがいっぱいになったとき、CPUは50%、RAMは常に30%程度でした。アップロードには約10mbpsが消費されます。ファイアウォールが無効になっています。

私が言うのはAssetto Corsa専用サーバーです。

これは競合ログです。

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

プロバイダを変更しましたが、2日後に競合が発生し、以前のプロバイダではサーバーは1日以内にのみ持続しました。

この問題に対する解決策はまだありません。

おすすめ記事