Quote:
Originally Posted by Phantom2005
What i've noticed is that after i messed my "user_item" up one time it started to lag heavily. My server only has 8gb ram although it can handle over 1000+ players. Before with this messed up "user_item" table it nearly could handle 300 like said above.
Try running SQL Profiler and watch for any procedures that take alot of CPU. It might happen because of that.
|
can you give a little more info about what you did to fix your problem?
im also thinking that it comes from a fucked database.
because there is absolutely no difference between a single drive and a raid 10 (same amount of lag etc)
i get all these errors in l2server
[.\UserSocket.cpp][5574]Choose inventory item fail. Pending item is null
[.\ObjectDB.cpp][217] undefined (or unregistered)ClassId[7863]
[.\ObjectDB.cpp][408] CreateItem Failed. (GetObject Failed)
[d:\work\l2server\ThreadSafeLibrary.h][2268] Asynchronous Execution Queue[20] Overflow.
thanks for all your answers already, especially mcrabben7.
ill take your option in consideration if im sure my database isnt at fault here.
Edit, just ran the sql profiler (im new to this)
and i noticed these things:
lin_updateuseritem CPU 16 (cpu usage %?)
lin_amountchange CPU 15
all other EXEC's are CPU 0
btw, mcrabben7 i did some some crash testing, and i came to the conclusion that if your server crashes you cannot use nor recover your database because the log is corrupted.
how do you work with this? hourly backups with the possibility of a 1 hour rollback?