Jump to content
TrinityCore
Sign in to follow this  
Bookkc

CPU Load 100%

Recommended Posts

Hey, sorry for my english

I have old trinitycore server (like 2011) TC1

This core is important for me... So when the server is played by people, the processor is constantly loaded to 100% but when people get out of the server the load remains 100%

 

I tried on the test server, when I go to the instance itself, the processor is loaded somewhere between 10-20% But if I go out of the instance and write .in un all then the CPU load drops to normal 0%

 

So, how to make that server are reload all npc to start before the initial state, when the server is first started

 

 

If the server is without players, then there i processor is 0% load

Share this post


Link to post
Share on other sites

I don't even know what to say... any version from 2011 definitely isn't supported

Share this post


Link to post
Share on other sites
1 hour ago, Bookkc said:

Hey, sorry for my english

I have old trinitycore server (like 2011) TC1

This core is important for me... So when the server is played by people, the processor is constantly loaded to 100% but when people get out of the server the load remains 100%

 

I tried on the test server, when I go to the instance itself, the processor is loaded somewhere between 10-20% But if I go out of the instance and write .in un all then the CPU load drops to normal 0%

 

So, how to make that server are reload all npc to start before the initial state, when the server is first started

 

 

If the server is without players, then there i processor is 0% load

If you want to use BC wow i suggest you tu switch to oregoncore.

Share this post


Link to post
Share on other sites

i say This core is important for me...

 

i only need how to make that server are reload all npc to start before the initial state, when the server is first started ???

Share this post


Link to post
Share on other sites

maybe your TC1 version has a configuration to auto unload the Grid.
if yes, try to use it

an other realy common issue was bad scripted npc / bosses causing high cpu usage and prevent unloading instances in certain cases.

if you want a suggestion, try to dump your process if it runns on 100% and analyze it with a debugger (or better software) remember to compile with debug info.

good luck

Share this post


Link to post
Share on other sites

depends on your OS, for windows i suggest to use visual studio, or if you want to analyze while your process is running you can try ProcessExplorer to get the high cpu thread and a part of the stack, but it depends much on the fact if you have one hot path for cpu usage or a combination of multiple problems. the second one is much harder to find.

but for clarification, those are giving you only some hints, you need to know how the code works (into deep) to get to the right code place.
(or compile in complete debug with debugger attached and performance session running, but this will make your core at least 10 times slower and laggy)

for other OS i can't give you a suggestion

EDIT: Are you running the old vmaps, or have you updated this core to newer vmaps (maybe including mmaps)?

Share this post


Link to post
Share on other sites
4 hours ago, desteny said:

depends on your OS, for windows i suggest to use visual studio, or if you want to analyze while your process is running you can try ProcessExplorer to get the high cpu thread and a part of the stack, but it depends much on the fact if you have one hot path for cpu usage or a combination of multiple problems. the second one is much harder to find.

but for clarification, those are giving you only some hints, you need to know how the code works (into deep) to get to the right code place.
(or compile in complete debug with debugger attached and performance session running, but this will make your core at least 10 times slower and laggy)

for other OS i can't give you a suggestion

EDIT: Are you running the old vmaps, or have you updated this core to newer vmaps (maybe including mmaps)?

he is using a 7 years old unsupported core.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×