PtokaX forum

PtokaX => Bugs => Topic started by: mariner on 16 March, 2009, 21:04:45

Title: 1020user bug
Post by: mariner on 16 March, 2009, 21:04:45
Hi, PPK. We fing one bug in *nix PtokaX 0.4.1.1 When 1020 user login - PtokaX shut's down :( I think it is bad? because some big hubs work on linux.
Title: Re: 1020user bug
Post by: PPK on 16 March, 2009, 23:01:36
When you run linux you should know his basics. In default most linux distributions have limit for opened file descriptors (network sockets are file descriptors too) set to 1024. And that is your 1020 users limit. You need to increase file descriptors limit...
Oh and PtokaX should not shut down on that, but it was not really tested :P
Title: Re: 1020user bug
Post by: mariner on 16 March, 2009, 23:30:38
Dear PPK, i have not so big hub ^_^ But in russian ptokax community I gave this advice.

PS net.ipv4.tcp_max_syn_backlog = 2048
It make big stress to a kernel.
Furtemore, you can use ulimin -n ***** with first command.
We will test big ptokax linux hub tomorrow.
Title: Re: 1020user bug
Post by: ATAG on 18 March, 2009, 13:18:35
Quote from: PPK on 16 March, 2009, 23:01:36
When you run linux you should know his basics.

ulimit -n 2048

or edit your limits.conf file

Title: Re: 1020user bug
Post by: mariner on 19 March, 2009, 13:35:07
I know about ulimit. I use SQUID  :P

Moreover, we continue tests. But hub shut's down  :'( We think, that it's a bug.