Jump to content
  • 0

Can Picklog burn your CPU Usage?


Gouki

Question


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.06
  • Content Count:  241
  • Reputation:   11
  • Joined:  08/12/20
  • Last Seen:  

Hi,

Just wondering if turning on some logs can burn cpu usage?

at some time my cpu usage doesn't go up more than 20%. at peak times it goes beyond 60% which causes delay in movements.

Could picklog be an issue? flooding of traffic in saving?

image.png.13999b3cad97c1ab1b407bafd6864a05.png
 

Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  211
  • Reputation:   17
  • Joined:  12/23/11
  • Last Seen:  

What exe cause this?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.06
  • Content Count:  241
  • Reputation:   11
  • Joined:  08/12/20
  • Last Seen:  

20180621a

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  211
  • Reputation:   17
  • Joined:  12/23/11
  • Last Seen:  

Dude, if problems at sever side - there are only 3 emulator exe(login, map, char) and sql

If problems at client side... Well, picklog is not a reason

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.06
  • Content Count:  241
  • Reputation:   11
  • Joined:  08/12/20
  • Last Seen:  

This is map taking up cpu usage. what im thinking is that whenever logging of files takes too much traffic and this is what happens? could that be possible?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  149
  • Reputation:   46
  • Joined:  07/15/13
  • Last Seen:  

Picklog burns your cpu usage, because record everything.

mine was 99% because the size of picklog was 5gb lol.

i recommend clean picklog file every 15 days or configure log_athena.conf to usefull logs like trades only.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.06
  • Content Count:  241
  • Reputation:   11
  • Joined:  08/12/20
  • Last Seen:  

14 minutes ago, EIysium said:

Picklog burns your cpu usage, because record everything.

mine was 99% because the size of picklog was 5gb lol.

i recommend clean picklog file every 15 days or configure log_athena.conf to usefull logs like trades only.

you can just drop all data on picklog right? yea i was thinking to just enable trade logs

Link to comment
Share on other sites

  • 0

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

if your pickup_log is too big (+1gig)

I recommend that you rename it and make a new one , you will still have the old logs , however it's much easier for your server to deal with anew  clean one.

Edited by sader1992
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.06
  • Content Count:  241
  • Reputation:   11
  • Joined:  08/12/20
  • Last Seen:  

1 hour ago, sader1992 said:

if your pickup_log is too big (+1gig)

I recommend that you rename it and make a new one , you will still have the old logs , however it's much easier for your server to deal with anew  clean one.

yup I do still plan to back it up, but mainly you can just drop all items in picklog and have no problems with account/characters right?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  211
  • Reputation:   17
  • Joined:  12/23/11
  • Last Seen:  

5 hours ago, EIysium said:

Picklog burns your cpu usage, because record everything.

mine was 99% because the size of picklog was 5gb lol.

i recommend clean picklog file every 15 days or configure log_athena.conf to usefull logs like trades only.

You store logs in txt file? 2021 year?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  149
  • Reputation:   46
  • Joined:  07/15/13
  • Last Seen:  

3 hours ago, botka4aet said:

You store logs in txt file? 2021 year?

I use sql

8 hours ago, Almond Snicker said:

you can just drop all data on picklog right? yea i was thinking to just enable trade logs

if you want, or rename to conserve the old log just sader said.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  211
  • Reputation:   17
  • Joined:  12/23/11
  • Last Seen:  

Well, you can have 100 gb base and it doesn't affect cpu in any way.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.06
  • Content Count:  241
  • Reputation:   11
  • Joined:  08/12/20
  • Last Seen:  

What else could increase your cpu usage of mapserver? could be just a faulty vps? or the vps itself cant take too much load?

I no longer have much of npcs and disabled picklogs. I just notices this massive increase in CPU Usage when characters are in magma_dun02 for about 50 people in it.,

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