I've got a strange bug. Sometimes my server begins to spam this message to console:
Quote:
Socket ProcessAccept Error: Too many open files
|
At this moment it stops writing logs and starts to thow this errors:
Quote:
CreateFragmentsFromFile: 'sound/wnd.wav' doesn't exist.
|
These messages contain links to *.wav,*.mp3,*.mdl,*.vmt,*vtf... files.
Eventually the server crashes, but without crash-logs:
Quote:
ExceptionHandler::GenerateDump sys_pipe failed:Too many open files
ExceptionHandler::SendContinueSignalToChild sys_write failed:Bad file descriptor
ExceptionHandler::WaitForContinueSignal sys_read failed:Bad file descriptor
Failed to write minidump to: /home/servers/...
Segmentation fault (core dumped)
cat: hlds.1459.pid: No such file or directory
email debug.log to [email protected]
|
I guess, something opens files and doesn't close them, as the result the server runs out "file socket slots". I have no idea what to do with it. May be there is a way to watch all the opend sockets, a list of opend files. Or may be it's something different. Appreciate any suggestions.
Linux CSS server