| View previous topic :: View next topic |
| Author |
Message |
xrtc
Joined: 05 Mar 2010 Posts: 3
|
Posted: Fri Mar 05, 2010 10:00 am Post subject: status page weird problem |
|
|
hello,
when my server got 1000++ users the status pages looks like this
also sometimes i get connection timeout
i am using icecast 2.3.2
and this is my top command output
 |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Mar 05, 2010 2:15 pm Post subject: |
|
|
It looks suspiciously near the default 1024 file descriptor limit (ulimit -a). When no more can be allocated then new connections cannot be established and errors will be logged in the icecast log file.
karl. |
|
| Back to top |
|
 |
xrtc
Joined: 05 Mar 2010 Posts: 3
|
Posted: Wed Mar 10, 2010 4:24 pm Post subject: |
|
|
thnx for ur reply....
changed that with ulimit -n 2048 and w8ing to see what will happen  |
|
| Back to top |
|
 |
xrtc
Joined: 05 Mar 2010 Posts: 3
|
Posted: Fri Mar 12, 2010 3:43 pm Post subject: |
|
|
so after a few hours searching found that ulimit -n 2048 its only for current "login session".
i am using a start up script for icecast so i added to /etc/rc.d/init.d/icecast
the ulimit -n 2048 line
| Code: |
.......
start)
# Start daemon.
echo -n $"Starting icecast streaming daemon: "
ulimit -n 2048 <-----------
...... |
so every time that icecast start will change current open files to 2048
thnx for info karlH. |
|
| Back to top |
|
 |
|