select irc.test.com[ip]:Bad file descriptor

These are old archives. They are kept for historic purposes only.
Post Reply
da0o0
Posts: 1
Joined: Mon Nov 05, 2007 12:06 am

select irc.test.com[ip]:Bad file descriptor

Post by da0o0 »

Hi ,i'm having problem with unreal3.2.7 running on linux 2.6.9-42 with this errors :

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
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
Post Reply