Bug #987

Server crash

Added by Spyhawk almost 3 years ago. Updated 12 days ago.

Status:Feedback% Done:

10%

Priority:ImmediateSpent time:-
Assignee:-
Category:Server
Target version:2.77
OS: Arch:

Description

Server randomly crashes after being left alone for a few days (etlegacy.com). This happened a couple of time already.

Userinfo: \name\^o[BOT]^7Royen\rate\25000\snaps\20\ip\localhost\cl_guid\OMNIBOT1200000000000000000000000
ClientUserinfoChanged: 12 n\^o[BOT]^7Royen\t\2\c\3\lc\3\r\0\m\0000000\s\0000000\dn\\dr\0\w\8\lw\8\sw\7\mu\0\ref\0\u\0
Userinfo: \name\^o[BOT]^7Merki\rate\25000\snaps\20\ip\localhost\cl_guid\OMNIBOT1400000000000000000000000
ClientUserinfoChanged: 14 n\^o[BOT]^7Merki\t\2\c\1\lc\1\r\0\m\0000000\s\0000000\dn\\dr\0\w\8\lw\8\sw\7\mu\0\ref\0\u\0
voice: ^o[BOT]^7Beelz Medic
Kill: 6 5 8: ^o[BOT]^7Halfwit killed ^o[BOT]^7Beelz by MOD_MP40
—– Server Shutdown —–
Sending heartbeat to etmaster.idsoftware.com
Sending heartbeat to master.etlegacy.com ==== ShutdownGame (0 - venice) ====
^2<EndGame>
^2– Script System Info –
^2Current Memory Usage 3.6894 MB
^2Soft Memory Usage 4.80334 MB
^2Hard Memory Limit 5.33704 MB
^2System Memory Usage 2.90606 MB
^2Full Collects 3
^2Inc Collects 1
^2GC Warnings 0
^2Threads: 4, 3 Running, 0 Blocked, 1 Sleeping
^2ShutdownOmniBot
ShutdownGame:
————————————————————
—————————
Z_Malloc: failed on allocation of 33912 bytes from the main zone: /media/sf_legacy/lnxetlegacy64/src/server/sv_net_chan.c, line: 265 (sizeof(netchan_buffer_t))

etlded-fds.txt Magnifier (1.73 KB) Ododo, 23.10.2019 06:56


Related issues

Related to ET: Legacy Development - Bug #1243: Server crash related to filesystem access New 02.04.2019

History

#1 Updated by Spyhawk almost 3 years ago

Note this might be related to the MSG_WriteBits issue that has been fixed in master already.

#2 Updated by IR4T4 almost 3 years ago

Spyhawk wrote:

Note this might be related to the MSG_WriteBits issue that has been fixed in master already.

Not sure about this. Basically the given error message tells us we are out of memory in Z - allocating memory fails. We did fix tons of leaks and I think we should update our server to master. Let’s use latest code ...

#3 Updated by Spyhawk almost 3 years ago

  • Status changed from New to Feedback

Sever had been updated. Let’s see if it crashes again.

#4 Updated by IR4T4 12 months ago

  • Target version changed from 2.76 to 2.78
  • % Done changed from 0 to 10

#5 Updated by IR4T4 11 months ago

  • Target version changed from 2.78 to 2.77

#6 Updated by Spyhawk 10 months ago

  • Target version changed from 2.77 to 2.78

#7 Updated by Spyhawk 8 months ago

  • Related to Bug #1243: Server crash related to filesystem access added

#8 Updated by Ododo about 1 month ago

A file descriptor for etl.db seems to be created on each map load, without closing the previous. (see attachment)
So maybe the system has reached a limit as the errno 24 on mapvoteinfo.txt suggest.

EDIT: sorry wanted to answer to #1243

#9 Updated by Spyhawk about 1 month ago

  • Target version changed from 2.78 to 2.77

#10 Updated by hellreturn 12 days ago

Had similar crash today.

Players: 40 appx
ETL Server: Current release
Mod: silent mod
Map: ET Beach

Error before crash -
Z_Malloc: failed on allocation of 33856 bytes from the main zone.

#11 Updated by ryven 12 days ago

Are you using official 2.76 build, or making one yourself from the master?
But thanks for the report, these issues being slowly investigated.

#12 Updated by hellreturn 12 days ago

ryven wrote:

Are you using official 2.76 build, or making one yourself from the master?
But thanks for the report, these issues being slowly investigated.

2.76 build. All our ETL servers (Windows + Linux) are on official 2.76 build as of now.

Also available in: Atom PDF