Jump to content
  • 0

CPU usage goes to 100%


Moriarty

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   13
  • Joined:  06/20/12
  • Last Seen:  

I'm using a Amazon EC2 m3.medium ( more than enough resources to host a ragnarok server )

My cpu usage never goes more than 10%, however some times it sudenly jumps to 100%, and then my char-server can't save anything in the database, and nobody can log in.

I've already opened a ticket on amazon support, but, maybe this can be a rAthena problem, so i'm posting here too.

Did anybody have this problem too? Or i'm a first? haha
If you have any ideas how to solve this, it will be much apreciated.

 

Oh, by the way, with 100% cpu usage, players still connected to map-server can play as if nothing happenned, players offline can't login, and nothing is saved on database.
I can still log in on the cloud, open phpmyadmin and stuff

If I restart the server, everything goes back to normal, so I guess that maybe there is really an issue.
Oh, and i'm not complete sure that 100% cpu usage is the cause to char-server down, maybe it's the other way around.

This is my normal usage: http://puu.sh/a2mwt/4a1fcbb636.png
When it happens again, I will take a print of what is using 100%.

Edited by Moriarty
Link to comment
Share on other sites

17 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  491
  • Reputation:   19
  • Joined:  11/19/11
  • Last Seen:  

how much RAM do you use?

rathena running good with 1GB RAM

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   13
  • Joined:  06/20/12
  • Last Seen:  

I Have 4GB, as you can see in the pic, it uses only 800MB, RAM is not the problem.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

could be there's something wrong with your script, file, or others that leads to infinite loop, makes server re-calculates, therefore CPU usage -> 100%, and the rest thing.

not only the script, others as well

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   3
  • Joined:  05/16/12
  • Last Seen:  

I'm having the same problem!


Verify this map 1@ma_h and warp.

 

The map-server up to 100% of CPU and Freeze.

 

Soluction:

 

coment the line: in maps_athena.conf

//map: 1@ma_h
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   13
  • Joined:  06/20/12
  • Last Seen:  

HOLY SHIT, it's true o______o

Only this map? Maybe something with instances, will test others

THANKS MAN :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   3
  • Joined:  05/16/12
  • Last Seen:  

HOLY SHIT, it's true o______o

Only this map? Maybe something with instances, will test others

THANKS MAN :)

I found another map with the same problem: poring_c02

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   13
  • Joined:  06/20/12
  • Last Seen:  

Yeah, it hapenned again with my server this night.

There may be other maps too.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  3
  • Reputation:   0
  • Joined:  06/24/14
  • Last Seen:  

It still happen to me. Any ideas?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   6
  • Joined:  07/03/13
  • Last Seen:  

You need to check your PC, because one map cant be the reason of freezing.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   13
  • Joined:  06/20/12
  • Last Seen:  

You need to check your PC, because one map cant be the reason of freezing.

Yes it can, and it was.

By the way, not the map, but the npcs on that map.

The problem is solved, althouth my friend is having the same problem and he have already disabled the bangungot hospital instance D:

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  3
  • Reputation:   0
  • Joined:  06/24/14
  • Last Seen:  

OMG still happening my server..

What i missing? T^T

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   13
  • Joined:  06/20/12
  • Last Seen:  

Yeah, there is another thing causing it, don't know what.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

I guess this should go to the bug section, then

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  35
  • Reputation:   0
  • Joined:  11/22/13
  • Last Seen:  

It still happen to me please help me!

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2347
  • Joined:  10/28/11
  • Last Seen:  


probably you have some scripts that consume up all your resources ??
 
try read this, maybe it might be able to help you if your situation does match any one that described by AnnieRuru in the topic.
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  94
  • Reputation:   4
  • Joined:  01/29/13
  • Last Seen:  

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