Re: [Nchat-users] basic questions
Brought to you by:
haplo
|
From: Bryan B. <bb...@ea...> - 2005-01-19 17:39:04
|
On Wednesday 19 January 2005 7:07 am, chino wrote: > I need to run nchat like root because chroot enviroment requiered it. So > who is realy running nchat, root or nchat user? Since you have the user option set, after NexusChat does the chroot() it will drop its root privs and become the nchat user. So it is actually running as the nchat user. > Ok another question: I set somewhere the max number of user [999], but > when I type /s I can see " 14 ports opne ", one port by user, so when > there are 15 users chatting there are 0 ports open and noone can login > in the chat. What is the meaning of those ports? How coud I increase it? That max number you are talking about was referring to the database size. You want to change the number of max ports. There is an option to change it in the setup.sh program, or you can edit config.h and change the MAX_USERS variable to whatever you want. I also wouldn't suggest setting MAX_USERS to 999 for speed reasons. I would set it to the most users you have ever had online at the same time and maybe add 10 to that. Hope that helps. -- Bryan Burns a.k.a "Haplo" <bburns3earthlink.net> |