Azerothcore-wotlk: ACore players conections limitation

Created on 13 Jan 2020  路  12Comments  路  Source: azerothcore/azerothcore-wotlk

recibe this text ever have exactly population namber.

unknown

Out of file descriptors, suspendig income conections for 10 seconds

Discard completly dedicate resources
64 gb ram
1gbps Bandwhit
xeon2165 6c/12t 3500mhrz
ssd 480gb

Discart changes and improvements in mysql and sysctl.conf

Exactly player number for ocurrence is 950 check this image
ADD: Discard world config max players for 0 or 1k+ 2k+ ect its same message same namber 950 , login is very slow for more conections.

950

BRANCH(ES):

AzerothCore rev. 6a14c29e25e3+ 2020-01-07 11:18:36 +0100 (master branch) (Unix, Release)

OPERATING SYSTEM:

Ubuntu 18

MODULES:

mod-anticheat
mod-boss-announcer
mod-duel-reset
mod-transmog
mod-individual-xp
mod-weekend-xp
mod-congrats-on-level
mod-cfbg (no active)

Most helpful comment

It could also be that you hit the maximum open files per process. You can check the limits of the worldserver process using this command:

# cat /proc/$(pgrep worldserver)/limits | fgrep 'Max open files'
Max open files            1024                 1048576              files

In this example the maximum allowed number of open files is 1024. You can change this (see https://linux.die.net/man/5/limits.conf):
vi /etc/security/limits.conf
Add this for the appropriate user (here: root):

root      soft    nofile      100000
root      hard    nofile      100000

It will increase the allowed limit to 100000. I don't know if a reboot is necessary after changing this.

All 12 comments

You can list all open file descriptors using the following command, perhaps this shows something strange:
ls -al /proc/*/fd/* 2>/dev/null
Open sockets and open files share the same file descriptor table. The maximum number of entries in this table is specified here:
/proc/sys/fs/file-max

@Stoabrogga send file for discord pm
Discard now: "CloseIdleConnections = 0"

I'd never use CloseIdleConnections = 0 as this would cause sockets to remain open. I don't even know why we have such a parameter, doesn't make sense.

CloseIdleConnections its for this Merged:
https://github.com/azerothcore/azerothcore-wotlk/pull/1550

This is optional for no disconect players afk
I test this active and inactive for same problem with limit 950

Ok, then I have no idea, sorry. I also see nothing strange in the file you sent. The error should only occur if you are reaching the limit specified in /proc/sys/fs/file-max, but you are far below this limit, as you can see if counting the open file descriptors:
ls -al /proc/*/fd/* 2>/dev/null | wc -l

It could also be that you hit the maximum open files per process. You can check the limits of the worldserver process using this command:

# cat /proc/$(pgrep worldserver)/limits | fgrep 'Max open files'
Max open files            1024                 1048576              files

In this example the maximum allowed number of open files is 1024. You can change this (see https://linux.die.net/man/5/limits.conf):
vi /etc/security/limits.conf
Add this for the appropriate user (here: root):

root      soft    nofile      100000
root      hard    nofile      100000

It will increase the allowed limit to 100000. I don't know if a reboot is necessary after changing this.

i read this few times but still dont understand whats happen? and why if you get OoFD where is the system variables to make sure it's a core bug?
No useful information, just a screenshot with an error and some speculation.

Yeah i will test this in few hours. Its important share again this tips for Yehonal in this zip:

yehonaltips.zip

This lost when close old forun in azerothcore.org
(Tanks very much Barby for share me this, i love you damn) <3

I think this is a very old issue and is normally listed in the zip above (my zip xD) because I remember reading that you must increase that number in your linux settings. If it's that, it's not that worrying Maxtor ;)

EDIT: yeah pretty much what stoabrogga said, he doesn't even need a tutorial, he knows it by heart xD

Solved guys, thanks for all help =)

@solidmaxtor it would be nice if you could document the issue you had and how you solved it opening a question (for the issue) and answer (for the solution) on stackoverflow

so your players no longer have to wait 3 seconds to log in ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fallen26 picture fallen26  路  3Comments

FrancescoBorzi picture FrancescoBorzi  路  3Comments

wampirr picture wampirr  路  3Comments

Franklampardst picture Franklampardst  路  4Comments

PivanDepolo picture PivanDepolo  路  3Comments