Page 1 of 1
max.user
Posted: Fri May 13, 2005 8:49 pm
by skynet
Hello,
i have a problem! On my IRCD cant connect more then ~1024 users
its blocked! I dont know why! I configure the max. user number over 10 0000!
please help
bye.
Re: max.user
Posted: Fri May 13, 2005 11:33 pm
by Shelluser
skynet wrote:i have a problem! On my IRCD cant connect more then ~1024 users
its blocked! I dont know why!
Read the Unreal FAQ. Its likely that your OS cannot handle more and as such you'll need to focus on that. All of this is explained in the FAQ (to some degree).
Posted: Sat May 14, 2005 11:26 pm
by skynet
Done.
I still dont know sorry.
mfg
Posted: Sun May 15, 2005 12:24 am
by codemastr
Then you didn't read it very carefully since there is a question right on there about how to allow more than 1024 users.
Posted: Sun May 15, 2005 3:48 am
by Stealth
Running 1 server with 10,000 users is a very stupid idea...
If you really have 10,000 users, you should consider creating other servers and linking them together. 10,000 users would require a whole lot (like LOTS) of bandwidth, memory, and CPU usage.
Posted: Sun May 15, 2005 2:32 pm
by Jason
Hide: You forgot this.
You will ALSO need to run ./Config again and change Max File-descriptors to whatever number you wanted, then recompile unreal. After that, restart your server, and it will use the new maximum (and whatever is in your config)
Posted: Sun May 15, 2005 2:54 pm
by Syzop
What's the purpose of such 'official' helpers who don't help but yell at users?
I got to disagree with you here. He didn't only got yelled at, he got refered to the FAQ since this exact question is in it.
It's
good practice that other people (helpers or not) think a bit further than just answering an exact question.. Blindly answering all questions can be quite bad in several cases.
those stupid manuals/faqs are also not very userfull, for dummies written.
Oh yes, your way of changing settings and recompiling your kernel AND REBOOTING etc is much better! Lol.
For some reason I think the faq items' method, dynamically changing these settings on the fly, is a bit better ;)
If it doesn't work on a particular linux dist., perhaps due to PAM being slightly different, then people can always post/mail suggestions of course.
I'm just not blindly going to add your method just because the other method "is for dummies" and "I can recompile the kernel, I am 1337" or anything.
Posted: Tue May 17, 2005 4:20 pm
by Fussi
I have a question related to this.
When i type "ulimit -a" it tells me:
Code: Select all
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) unlimited
cpu time (seconds, -t) unlimited
max user processes (-u) 4095
virtual memory (kbytes, -v) unlimited
So "max user processes" is set to 4095, but open files is 1024. Am i able to incerase the maximum connection count of my IRC server to 4095? Or do i have to incerase the amount of open files too...
Thanks for any reply!
-Fussi
Posted: Tue May 17, 2005 7:43 pm
by Syzop
In this case the files limit would still be 1024. The fact that the max process limit is higher is unrelated.