|
Milosz,
during the last weeks, I've been encountering a lot of stability problems with sc_serv.
The service, which streams 15..20 different external sources (not using sc_trans) kept on crashing (mainly due to segfaults) several times per day, until I discovered version 2.2 of DNAS.
After the update, everything started to be much more stable, so the improvements and fixes introduced with the new DNAS are indeed effective, although some halts were still happening.
By studying the DNAS' logfiles I discovered weird entries, that I suspect are kind of "attacks": some IPs kept on connecting and disconnecting hundreds of times in seconds and some others even tried to use the server to start their own stream (SRC bad password errors).
To test if this was the cause of the crashes I started to ban the attackers' IPs (and in some cases entire netmasks since they were changing IP) via linux firewall and… boom, stability improved noticeably!
My last change to the installation was to rise the max open files limit to 4096, but I can confirm that during a test with "nofile limit" set to 65536 sc_serv crashed, so the standard 1024 value may be enough for DNAS to operate correctly (real time monitoring during an average load of about 200 connected clients shows 800..900 open files).
I have set a global limit of 500 users, but never go over 300 in the last days, so I cannot confirm your problem.
Hope that helps…
Cheers!
Cande
|