Jump to content
  • 0

Map Server Freezes


timepass

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  01/12/19
  • Last Seen:  

Hi all,

My server is live and have active members around 60-70. I am facing one issue with map server freeze. This started happening suddenly. The CPU usage goes up to 97-99% for map server and gets freezes. The freeze happens at any random time, like after 1hour or 1day. There are no errors or warnings in char-server, login-server and map-server. Is there any way to find out what could be the root cause or anyway to debug this issue or anyway to identify the running script which is utilizing all CPU resources. PLEASE HELP ME GUYS ? . This issue is really annoying. 

Host Configuration

Core : 2 cores
RAM : 4 GB
Platform : Centos 7

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  924
  • Reputation:   167
  • Joined:  04/05/13
  • Last Seen:  

Try look for infinite loop scripts.

like

for(

while(

 

+ Did you modified any src?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  01/12/19
  • Last Seen:  

Ok, will look for such script.

Here is the list for modified SRC
@autoattack
MvP Spawn Announcer
@afk
@resist
Costume Clown System
Extended Vending

 

anyone of them could be a possible threat?

And we also implemented Gepard recently. It started all after Gepard installation. We talked with the owner but he said it has noting to do with map-server freeze.

Edited by timepass
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  924
  • Reputation:   167
  • Joined:  04/05/13
  • Last Seen:  

I assume autoattack.

Edited by Start_
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  01/12/19
  • Last Seen:  

We have identified few while loops. I haven't seen freeze so far. Lets hope for the best. 

Any idea about below error?

[Error]: buildin_getarg: No callfunc or callsub!
[Debug]: Source (NPC): PVPLADDER (invisible/not on a map)

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  924
  • Reputation:   167
  • Joined:  04/05/13
  • Last Seen:  

I just found if you had 1 or more special storage than normal storage, that can cause map server crash.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  130
  • Reputation:   11
  • Joined:  11/26/16
  • Last Seen:  

On 7/9/2021 at 12:48 AM, Start_ said:

I just found if you had 1 or more special storage than normal storage, that can cause map server crash.

I actually have 10 storage and still monitoring if there is some problems with it.

I think its autoattack if you have autopots and set the ms delay lower on the default settings it will probably use your server resources.

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...