I run wowza as a user wowza, and I am using daemontools for managing the process.
http://cr.yp.to/daemontools.html
This works great. I noticed that max file descriptor is low.
INFO server comment - Max File Descriptor Count: 1024
Now I have setup the limits.conf and increased it to 65535 with the following.
/etc/security/limits.conf
wowza - nofile 65535
Am I missing something?
Edit [install-dir]/bin/setenv.sh and uncomment the ulimit line in the script.
Charlie
This worked. I assumed that if I increased the number in /etc/security/limits.conf that it would automatically be set for the user running the process. Is there a way to increase it automatically without the ulimit (just curious). I will use the ulimit in the script.
Also I see the value in the script is set to 20000, what is the optimal value for this. Is there a doc on performance tuning on linux. Thanks