• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

TrinityCore 3.3.5 Worldserver.exe taking a very long time to start

BuxBunny

Member
Hello,
So my WC.exe is taking a lot of time to start, even though the machine i'm running on is pretty decent, I saw servers restarting in like 5-10 seconds top, but mine takes like 3-4 minutes.
Running on Windows server 2012 - 32gb ram - i7 4790K@4GHZ
 

Sylica

Exalted Member
Hello,
So my WC.exe is taking a lot of time to start, even though the machine i'm running on is pretty decent, I saw servers restarting in like 5-10 seconds top, but mine takes like 3-4 minutes.
Running on Windows server 2012 - 32gb ram - i7 4790K@4GHZ

Depends on the settings set in the world configuration. Every server is different I guess, and the system as well. Don't worry, mines is around 5 to 8 minutes. Retail server took about 10 minutes to start up.
 

Tommy

Founder
Hard to tell when we need a bit more info, config setting for example. How do you have your database setup (locally?)? Almost all of the load time will come from DBC and database. I'm probably pointing out redundant causes, but eh, we might get somewhere. How many times have you started up your Worldserver? Normally the first time load can be a bit slow (not sure about 4m slow though).
 

BuxBunny

Member
Hard to tell when we need a bit more info, config setting for example. How do you have your database setup (locally?)? Almost all of the load time will come from DBC and database. I'm probably pointing out redundant causes, but eh, we might get somewhere. How many times have you started up your Worldserver? Normally the first time load can be a bit slow (not sure about 4m slow though).

The DB is locally hosted yes, I restart my server everytime I build some new script, or do some SQL queries. Since it's a new server I'll go with I restarted it A LOT.
And sorry I don't know which informations should I provide, so please tell me what's needed.
 

Syphex

Exalted Member
There should be a text documment called "server" upload that to a site or a google document and paste the link here, it may show what takes a very long time for you to start your server up, like errors and stuff that may collide.
 

Tommy

Founder
There should be a text documment called "server" upload that to a site or a google document and paste the link here, it may show what takes a very long time for you to start your server up, like errors and stuff that may collide.

That's actually another reason. Database errors can spam the console with error messages which slows down startup time as well. However, in most cases it won't delay it by much and I doubt DB errors are causing 3m-4m startup time. Are you sure it is 3 or 4 minutes? Didn't exaggerate? I believe when the world does start it shows how long it took to start.
 

BuxBunny

Member
That's actually another reason. Database errors can spam the console with error messages which slows down startup time as well. However, in most cases it won't delay it by much and I doubt DB errors are causing 3m-4m startup time. Are you sure it is 3 or 4 minutes? Didn't exaggerate? I believe when the world does start it shows how long it took to start.

World initialized in 3 minutes 23 seconds.
 

Rochet2

Moderator / Eluna Dev
TrinityCore rev. 3be7b0399280 2016-06-17 20:30:45 +0100 (3.3.5 branch) (Win32, Debug) (worldserver-daemon)
You are compiling in debug. This will cause the server to be very slow due to debug code.
If you dont need to debug, build in release for maximum speed. You can select this right before you compile..
 

Tommy

Founder
Figures. I was going to ask that because I thought of it in my head earlier.. not sure why I didn't. Nou Rochet.
 

BuxBunny

Member
You are compiling in debug. This will cause the server to be very slow due to debug code.
If you dont need to debug, build in release for maximum speed. You can select this right before you compile..

Figures. I was going to ask that because I thought of it in my head earlier.. not sure why I didn't. Nou Rochet.
Now it makes sense, rebuilding in release, will keep you posted thanks a lot.

Edit :
World initialized in 0 minutes 30 seconds
IS THIS REAL LIFE ? :O
Thank you very much.

Edit 2 :
Lost every custom script, even when I re-build still not showing up.
 
Last edited:

Rochet2

Moderator / Eluna Dev
Are the scripts in your source folder though?
Recompiling should not lose anything unless you changed the source or some settings like for example in cmake.
 

BuxBunny

Member
Are the scripts in your source folder though?
Recompiling should not lose anything unless you changed the source or some settings like for example in cmake.

Yes they are still in the source folder yes, I didn't literally "lose" them but they aren't working and no, I didn't change any setting in cmake.
For example, your multivendor and item gossip aren't working anymore.
 
Last edited:
Top