View Single Post
Old 18th November 2013, 14:06   #9
Cande
Junior Member
 
Join Date: Nov 2013
Posts: 7
sc_serv max open files

Hello,
I'm trying to change the maximum number of open files for the process sc_serv in my private Shoutcast DNAS 2.2 server running on Ubuntu 12.04.3 LTS 64 bit.

The system itself (sysctl -a) has a safe 202022 max open files limit.

I changed this value at "user level" to 65536 (both hard and soft limits) by editing the /etc/security/limits.conf (and by requiring pam_limits.so) and also run "ulimit -n 65536", but if I run this command:

cat /proc/(sc_serv's PID)/limits

... it shows "Max open files 1024 (soft limit) and 4096 (hard limit).
Accordingly, Shoutcast's log states 1024 as maximum open files limit.

It sounds like sc_serv uses a "self per process" setting when it starts up, ignoring system wide and per user settings.
Is there a way to change this? Is this a known limit or bug?

Thanks a lot in advance for your support and your great work!

Cheers!!!
Cande
Cande is offline