Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Darwin Streaming Server 5.5.5 run on Linux.

I am having issues starting multiple playlists with PlaylistBroadcaster. I seem to be hitting a limit at 22 simultaneous playlists. Once I try to launch the 23th, I get the following error.

2009-07-09 09:39:38: FATAL: Out of File Descriptors. 
Set max connections lower and check for competing usage from other processes. 

And all PlaylistBroadcaster processes gets killed.

# cat /proc/sys/fs/file-max

# ulimit -n
share|improve this question
up vote 0 down vote accepted

What do you get from ulimit -n? That should give you your "Maximum number of open file descriptors" per process.

Edit: You can see how many file descriptors a process is using by following the instructions here and here.

Resource limits can be set for users at login time by editing /etc/security/limits.conf. See man limits.conf and man pam_limits for details.

share|improve this answer
[root@darwin ~]# ulimit -n Returns: 1024 – Johan Carlsson Jul 9 '09 at 9:29
Anything else I should add to the problem description? – Johan Carlsson Jul 9 '09 at 9:32
Try 'ulimit -n 2048' before starting the server from the same shell (it affects the current shell, and is inherited by any processes it starts). You may need to add it to the server's start script. – pgs Jul 9 '09 at 10:52
Also, this shown how to see how many file descriptors are used by a process: – pgs Jul 9 '09 at 10:54
There's also: – pgs Jul 9 '09 at 10:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.