Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 19:46

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Error Source 5519+ CPU Consume 100%

Discussion on Error Source 5519+ CPU Consume 100% within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2008
Posts: 31
Received Thanks: 1
Angry Error Source 5519+ CPU Consume 100%

My server gets to the line 15 and 25 and held in 15 and 30 CPU power but eventually rises to 100% and no more low
no one can enter and latency increases to 10 000 and then I have to restart and that's all the time with any server 5515 +

My pc
AMD 4200+ 2.2 dual
3gb ram ddr2
window server 2008
3 mb internet

I'm using server

BaussHacker where to place your code more or less
I would publish a more stable server
rigoberto12r is offline  
Old 09/20/2011, 10:53   #2
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
Check that you haven't got any while loops running without a thread sleep.

Code:
// This will eat all your cpu
while (true)
{
     // Do something
}

// This will not eat your cpu
while (true)
{
    // Do something
    System.Threading.Thread.Sleep(1);
}
It's one thing I have forgot before and the cpu raised to 100% :P

If it's not that then have you changed anything? If so, what and have it always done it?

We need some more information to help you.
BaussHacker is offline  
Old 09/20/2011, 11:41   #3
 
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
Quote:
Originally Posted by BaussHacker View Post
Check that you haven't got any while loops running without a thread sleep.

Code:
// This will eat all your cpu
while (true)
{
     // Do something
}

// This will not eat your cpu
while (true)
{
    // Do something
    System.Threading.Thread.Sleep(1);
}
It's one thing I have forgot before and the cpu raised to 100% :P

If it's not that then have you changed anything? If so, what and have it always done it?

We need some more information to help you.
Because his processor is dual, with your code only 50% will be constantly used, which means he got something async related that gets in something like you described. And I say async because if one async thread doesnt finishes its job there another thread ready to do the work, and if all threads get stuck in the same spot, it will not only use 100% but also lots of memory(ram) if not set a pool size. And because all async threads are used you wont be able to login / play because there's no one to take your requests and pass them through to the packet handler.
-impulse- is offline  
Thanks
1 User
Old 09/20/2011, 12:28   #4
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
Quote:
Originally Posted by -impulse- View Post
Because his processor is dual, with your code only 50% will be constantly used, which means he got something async related that gets in something like you described. And I say async because if one async thread doesnt finishes its job there another thread ready to do the work, and if all threads get stuck in the same spot, it will not only use 100% but also lots of memory(ram) if not set a pool size. And because all async threads are used you wont be able to login / play because there's no one to take your requests and pass them through to the packet handler.
Didn't know that. Thank you
BaussHacker is offline  
Old 10/13/2011, 15:19   #5
 
elite*gold: 0
Join Date: Mar 2008
Posts: 31
Received Thanks: 1
This server I upload the cpu in any type of computer quad core, dual core, pentium 4
I go to Server 5375 because I do not turn up the cpu but has some bugs xD
rigoberto12r is offline  
Old 10/13/2011, 15:53   #6
 
diedwarrior's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 611
Received Thanks: 195
Just convert stuff from 5519 to 5375, thats what i do ^^.
diedwarrior is offline  
Old 10/13/2011, 17:43   #7
 
Lateralus's Avatar
 
elite*gold: 0
Join Date: May 2005
Posts: 1,892
Received Thanks: 920
Make sure you're properly closing the connection when transferring the character from auth->game server.
Lateralus is offline  
Old 10/13/2011, 23:34   #8
 
elite*gold: 0
Join Date: Sep 2011
Posts: 40
Received Thanks: 8
try to make kill connections that will help you so much
DontSpeakToMe is offline  
Reply


Similar Threads Similar Threads
help at 5519
09/18/2011 - CO2 Private Server - 0 Replies
i need the packet for ridingCrop to hunt while i were the horse or i need to know the filr who i will check it to solve this problem
hey guys how i can upgrade 5375 to 5519 ?
08/19/2011 - CO2 Private Server - 10 Replies
Done
Request packet item for 5519
08/11/2011 - CO2 Private Server - 10 Replies
Welcome Coders i need The Packet items Which make the items show on characters and i need The lenght of it



All times are GMT +1. The time now is 19:46.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.