Extension request refused causes threads to sky rocket

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

genar
Posts: 137
Joined: 13 Jul 2017, 11:49

Extension request refused causes threads to sky rocket

Postby genar » 10 Nov 2019, 14:03

Hey !

Everytime a player manages it to send extension requests while being disconnected, the server receives those requests and throws exception.
Somehow i noticed that the thread processes also increase...

Thats a big problem... A few minutes ago one single player managed to increase the active thread processes from 42 to about 154... this caused massive lags and somehow broke the whole server... people are complaining about this !

Is there a way to stop smartfoxserver from spawning in processes while a extension request refused is noticed ?
genar
Posts: 137
Joined: 13 Jul 2017, 11:49

Re: Extension request refused causes threads to sky rocket

Postby genar » 10 Nov 2019, 14:13

Heres some data...

Screenshot_2.png
(2.48 KiB) Not downloaded yet

Screenshot_1.png
(8.42 KiB) Not downloaded yet
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Extension request refused causes threads to sky rocket

Postby Lapo » 11 Nov 2019, 08:36

Hi,
genar wrote:Hey !

Everytime a player manages it to send extension requests while being disconnected, the server receives those requests and throws exception.

For starters... how can someone be disconnected and sending extension requests?! :)
Can you please better explain what you're doing and report exactly what exceptions you're seeing?
Also it would help to specify which version of SFS2X you're using and what client platform and API version is used on the client side.

Thank you
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 133 guests