select irc.test.com[ip]:Bad file descriptor
Posted: Mon Nov 05, 2007 12:14 am
Hi ,i'm having problem with unreal3.2.7 running on linux 2.6.9-42 with this errors :
So i just need to have more than normal 1024 clients so i changed this thinks :
/usr/include/bits/typesizes.h <== changed 1024 to 5000
then
added : session required pam_limits.so to :
/etc/pam.d/login
/etc/pam.d/sshd
/etc/pam.d/su
and
added this 2 lines in /etc/security/limits.conf :
root hard nofile 5000
root soft nofile 5000
And now the problem is only when server get more than 1024 clients after got it disconnect ircd with the previous error message ,i tryed to changed the listen ip:port; in listen *:port; adding the options like clientsonly; under listen but nothing ,so typed also ulimit -n ,ulimit -n 5000 and started again ircd but nothing ,i hope someone can help me to solve this problem ,thanks
da0
Code: Select all
[23:05] -irc.test.com- select irc.test.com[ip]:Bad file descriptor
-
[23:05] -irc.test.com- select irc.test.com[ip]:Bad file descriptor
-
[23:05] -irc.test.com- select irc.test.com[ip]:Bad file descriptor
-
[23:05] -irc.test.com- *** Notice -- Aieeeee!!! Restarting server... too many select errors
/usr/include/bits/typesizes.h <== changed 1024 to 5000
then
added : session required pam_limits.so to :
/etc/pam.d/login
/etc/pam.d/sshd
/etc/pam.d/su
and
added this 2 lines in /etc/security/limits.conf :
root hard nofile 5000
root soft nofile 5000
And now the problem is only when server get more than 1024 clients after got it disconnect ircd with the previous error message ,i tryed to changed the listen ip:port; in listen *:port; adding the options like clientsonly; under listen but nothing ,so typed also ulimit -n ,ulimit -n 5000 and started again ircd but nothing ,i hope someone can help me to solve this problem ,thanks
da0