max.user

These are old archives. They are kept for historic purposes only.
Post Reply
skynet
Posts: 2
Joined: Fri May 13, 2005 8:45 pm

max.user

Post 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.
Shelluser
Posts: 38
Joined: Tue Feb 01, 2005 8:30 pm
Location: The Netherlands
Contact:

Re: max.user

Post 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).
With kind regards, Peter

NekoNet IRC
www.neko-net.org / [url=irc://irc.neko-net.org:6667]irc.neko-net.org[/url]
skynet
Posts: 2
Joined: Fri May 13, 2005 8:45 pm

Post by skynet »

Done.

I still dont know sorry.

mfg
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post 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.
-- codemastr
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post 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.
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post 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)
Why the hell can't my signature be empty?
"Your message contains too few characters."
Syzop
UnrealIRCd head coder
Posts: 2117
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post 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.
Fussi
Posts: 33
Joined: Fri Sep 24, 2004 9:46 pm
Location: At Home
Contact:

Post 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
Syzop
UnrealIRCd head coder
Posts: 2117
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

In this case the files limit would still be 1024. The fact that the max process limit is higher is unrelated.
Post Reply