Jump to content
  • 0

Memory Leaks and Lag


jeyner

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   0
  • Joined:  01/28/12
  • Last Seen:  

I have a terrible problem, my server is lag and unstable. I use a Centos 5.5 with AMD Athlon™ X2 Dual-Core & 4 GB DDR2-RAM & Unlimited traffic. Then the server has only the emulator and web services but most of 2GB to ram them are lost.

6ee9c.jpg

I found "map-server_sql.leaks" in the log and this show memory leaks in the next lines:

// src/map/npc.c
CREATE(nd->u.shop.shop_item, struct npc_item_list, i);
//src/common/db.c
CREATE(it, struct DBIterator_impl, 1);
//src/map/chat.c
cd = (struct chat_data *) aMalloc(sizeof(struct chat_data));
//src/map/map.c
CREATE(mapit, struct s_mapiterator, 1);

could anyone help?

tnks =D

Edited by jeyner
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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