Author Topic: 1020user bug  (Read 2582 times)

0 Members and 1 Guest are viewing this topic.

Offline mariner

  • Member
  • ***
  • Posts: 25
  • Karma: +2/-5
    • [K.lan]Project (now tested)
1020user bug
« 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.
Eat my bolts, bastard... ? member of Devaster Squad

sudo ./configure_brain.sh

PtokaX forum

1020user bug
« on: 16 March, 2009, 21:04:45 »

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 480
  • Karma: +209/-22
  • PtokaX developer
Re: 1020user bug
« Reply #1 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
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

Offline mariner

  • Member
  • ***
  • Posts: 25
  • Karma: +2/-5
    • [K.lan]Project (now tested)
Re: 1020user bug
« Reply #2 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.
Eat my bolts, bastard... ? member of Devaster Squad

sudo ./configure_brain.sh

Offline ATAG

  • Scripter
  • Double Ace
  • ******
  • Posts: 111
  • Karma: +14/-0
  • secret things
    • Metin2 Hungarian Forum
Re: 1020user bug
« Reply #3 on: 18 March, 2009, 13:18:35 »
When you run linux you should know his basics.

ulimit -n 2048

or edit your limits.conf file


Offline mariner

  • Member
  • ***
  • Posts: 25
  • Karma: +2/-5
    • [K.lan]Project (now tested)
Re: 1020user bug
« Reply #4 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.
Eat my bolts, bastard... ? member of Devaster Squad

sudo ./configure_brain.sh

PtokaX forum

Re: 1020user bug
« Reply #4 on: 19 March, 2009, 13:35:07 »