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