Jump to content

[A20] Server crash everyday, Linux


HMK3

Recommended Posts

Hi

 

I run a dedicated server on a notebook with ubuntu:

(8gb ram, pentium b960 2.20GHz, SSD) EAC on

 

Mods:

- AGF-A20HUDPlus1.03

- AGF-Backpack72Plus1.00

- Botman

- Allocs_CommonFunc

- Allocs_CommandExtensions

 

The server crashes amost every night near 3am, with the "Aborted (core dumped)" usually when no players are arround, and the logs always end with:

Spoiler

2022-01-29T04:20:01 43784.408 INF Time: 723.47m FPS: 18.25 Heap: 2092.0MB Max: 2643.8MB Chunks: 402 CGO: 0 Ply: 0 Zom: 0 Ent: 9 (382) Items: 0 CO: 0 RSS: 3888.1MB
2022-01-29T04:20:05 43787.943 INF Clearing all pools
mmap(PROT_NONE) failed
Caught fatal signal - signo:6 code:-6 errno:0 addr:0x3e8000039c4
Obtained 24 stack frames.
#0  0x007fce24472980 in (Unknown)
#1  0x007fce240adfb7 in (Unknown)
#2  0x007fce240af921 in (Unknown)
#3  0x007fce23721df1 in (Unknown)
#4  0x007fce23721e5e in (Unknown)
#5  0x007fce23724fc4 in (Unknown)
#6  0x007fce23725391 in (Unknown)
#7  0x007fce23727480 in (Unknown)
#8  0x007fce237289c6 in (Unknown)
#9  0x000000420a7bd6 in (wrapper managed-to-native) System.GC:InternalCollect (int)
#10 0x00000041a98aa0 in GameManager:Update ()
#11 0x007fce2353fbe5 in (Unknown)
#12 0x007fce236afa10 in (Unknown)
#13 0x007fce236b08bd in (Unknown)
#14 0x007fce25ae5ca2 in (Unknown)
#15 0x007fce25ae3f42 in (Unknown)
#16 0x007fce25ac6d48 in (Unknown)
#17 0x007fce25804346 in (Unknown)
#18 0x007fce25966ca7 in (Unknown)
#19 0x007fce25966c62 in (Unknown)
#20 0x007fce2596720e in (Unknown)
#21 0x007fce25b44af6 in (Unknown)
#22 0x007fce24090bf7 in (Unknown)
#23 0x0055ff2b062029 in (Unknown)

and sometimes the server disapear from the server browser.

I dont know if it had something to do with the garbage collector.

 

Here i leave the last 3 crash logs

https://drive.google.com/file/d/1iljt9Xr9h1cx_fiNz4x079cpTa2uIJSt/view?usp=sharing

https://drive.google.com/file/d/1l6NBfYm7MMcaKAdedWrnLjH57EV8Ocyx/view?usp=sharing

https://drive.google.com/file/d/1RnDWLZO1GuDcRgXsyZw0EuZfMy4M9b-d/view?usp=sharing

 

Edited by HMK3 (see edit history)
Link to comment
Share on other sites

Early in your log there’s an error that occurs frequently:  [NM] Data received bad!

 

Now this message can be from several things and one of them is a reported bug that’s being worked on. You can try a few things before deciding it’s the reported bug though. Be sure the 7 Days folder is excluded from your antivirus/antimalware. It is not enough to just turn it off as in the casw of Windows Defender, it doesn’t completely turn off so create an exclusion. Secondly, make sure all the ports needed to host a server are properly open/forwarded. Check with an online port scanner to double check that they are indeed forwarded. We’ve seen instances where the ISP block the forwarding of ports and also seen routers that say a port is open but the scanner finds them still closed. If you still see that error after doing these two things, then you may need to wait for the bug to be fixed. If someone else has any other ideas, I’m sure they’ll chime in.

Link to comment
Share on other sites

5 hours ago, HMK3 said:

I run a dedicated server on a notebook with ubuntu:

(8gb ram, pentium b960 2.20GHz, SSD) EAC on

Check your swapfile size. If it's 2Gb, increase it to 8Gb.

Don't use wireless if you are.

This line from your log makes me think all the things from A19 were not cleaned out properly.

2022-01-28T16:10:18 1.103 INF Last played version: Alpha 19.6

Link to comment
Share on other sites

17 hours ago, Beelzybub said:

Check your swapfile size. If it's 2Gb, increase it to 8Gb.

Don't use wireless if you are.

This line from your log makes me think all the things from A19 were not cleaned out properly.

2022-01-28T16:10:18 1.103 INF Last played version: Alpha 19.6

 

I dont know what other files i miss, I deleted the whole server directory, and the save world on the .local/share folder. 

Also i just upgraded the swapfile from 2 to 8gb.

I will update if i have another crash.
Thanks a lot

 

Link to comment
Share on other sites

5 hours ago, HMK3 said:

I have never edited this file

If you delete the file and validate you will get the correct one.

 

There's a known issue that some player names can cause problems if the name includes unusual, non ascii characters.

Like this one.

PlayerName='p1xejo ツ

See if that player is willing to change their name to something simple like "Bugsy" to test.

 

Also still seeing the "last version played A19" thing which is an indication that things still need a cleanup.

 

There are network errors, but I think that's a known issue that is being worked on, though it could also indicate something weird going on in your network connection.

Also, that's a lot of work for that poor little cpu. Is it possible the thing is overheating? What % use is it running at when you're playing?

And edit this down to "6".

GamePref.ServerMaxAllowedViewDistance = 12

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...