Jump to content
  • 0

Server Freeze


Meister

Question


  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  841
  • Reputation:   17
  • Joined:  04/16/12
  • Last Seen:  

Hi,

What causes the map server to freeze? Is it because of memory leaks? or warning messages from console?

The freeze by the way doesn't cause the map server to crash. It's just the map-server freezes and nothing happens. The player able to move 1 click then freeze after warping also the mobs are not moving.

Regards

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

server are not multithreaded for now, so a long action will make other char freeze.

It's usually cause by intense computing for that loop. Exanple a very consuming script or some stats etc..

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   703
  • Joined:  12/21/14
  • Last Seen:  

need more info

like what the vps ram ping for you

did you try to debug it ? remove all the npcs and run the server ?

what rathena version

is there custom patches in it ? etc

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  841
  • Reputation:   17
  • Joined:  04/16/12
  • Last Seen:  

1 hour ago, Lighta said:

server are not multithreaded for now, so a long action will make other char freeze.

It's usually cause by intense computing for that loop. Exanple a very consuming script or some stats etc..

@Lighta Is there a chance the server will be multi-threaded? By long-action like casting something or?

For the scripts? Is it NPC scripts or SRC script? If src, should not be a problem since I used default rA and used 2 PR from rA also.

If scripts, I might check all scripts.

1 hour ago, sader1992 said:

need more info

like what the vps ram ping for you

did you try to debug it ? remove all the npcs and run the server ?

what rathena version

is there custom patches in it ? etc

@sader1992 
Additional Information: VPS is 1vCore and 2.5GB Ram
Ping: Normal no Packet Loss
Debug: Didn't since there was no Map-Crash only sudden freeze
Version: Latest with Active Pull Request (renewal ASPD and Refine UI)
Custom Patches: None

From lighta, maybe its a script issue? But all scripts that I have are just freebies npc, warper, woe controller, woe timer.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

is the freeze constant ? repeated ? try to localize when causing the most time.

You can also check if you didn't build in debug configuration, altough it shouldn't freeze. Is there many player on your server doing lot of action ? like a woe ?
For the multithreaded, is discussed but it will take time.

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   703
  • Joined:  12/21/14
  • Last Seen:  

i would suggest you try this> 

rename the npc folder 

restart the server(there is no warps/npcs/monsters/etc)

you can still @commands etc

try to test your server in this state and see if you will get the error 

this wont fix the error it's only let's you know if there is script/ command script doing this for the server

and read the terminal seek for anyerror

if you did get this again then it's not from scripts/command scripts

it's from the vps system / src or even from sql

i think your best option is see what's not causing the problem to know what cause it

unless someone here know what happen for you

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  841
  • Reputation:   17
  • Joined:  04/16/12
  • Last Seen:  

52 minutes ago, Lighta said:

is the freeze constant ? repeated ? try to localize when causing the most time.

You can also check if you didn't build in debug configuration, altough it shouldn't freeze. Is there many player on your server doing lot of action ? like a woe ?
For the multithreaded, is discussed but it will take time.

@Lighta The freeze is not constant. Sometimes it happens sometimes it not. Repeated? Yes because it happens twice in a row but after sometime it didn't again. Normal and no freeze.

As for the players, not sure but also checking them on. As for the WoE, no freeze happened during that time so I assume it wasn't woe script or woe controller. (I checked instanced though) Also, I'm checking of spamming "warp command" specifically when pc_isdead or warp asura something like that.

45 minutes ago, sader1992 said:

i would suggest you try this> 

rename the npc folder 

restart the server(there is no warps/npcs/monsters/etc)

you can still @commands etc

try to test your server in this state and see if you will get the error 

this wont fix the error it's only let's you know if there is script/ command script doing this for the server

and read the terminal seek for anyerror

if you did get this again then it's not from scripts/command scripts

it's from the vps system / src or even from sql

i think your best option is see what's not causing the problem to know what cause it

unless someone here know what happen for you

@sader1992 The line "Best option is see what's not causing the problem to know what cause it" is a good one. Will check! Thanks for the suggestion. Will get back to you once I've done all things!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...