View Full Version : soulshot lag
hhk31257
05.03.2007, 04:04
16gig ram
raid10 sata2 raid drives
quad core opteron
i get soulshot lag constantly, i upgraded the server form a single disk to raid10 and nothing has changed.
im running out of options here, i would greatly appreciate it if someone could help.
the soulsthot delay starts when there are +-300 ppl online and stays thesame at 1000+ online
i think it must be a problem in my database, or?
i never had this problem till at some point it started and never ended.
i remember someone posting an sql script that fixes? soulshot problems.
all help is appreciated!
mcrabben7
05.03.2007, 06:35
You have too much on one machine. You *must* get the lin2world log files (or the entire database) onto another dedicated 15k RPm drive, or onto another server. You are absolutely flooding the server I/O running it all on one machine.
We have a server with 2x Opteron 2212 (Dual Core x2), 12 Gb of DDR2 RAM, and 2 Raid 0 15k RPM SAS Drives and we get soulshot lag at 500 players if we don't put the log files onto a Ramdisk or another machine. Ramdisks work great, and we had 3200 players online without lag, but if the server crashes the database will corrupt without the log files. Be warned ;p
Phantom2005
05.03.2007, 07:41
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.
You have too much on one machine. You *must* get the lin2world log files (or the entire database) onto another dedicated 15k RPm drive, or onto another server.
Isnt possible to disable log files?
I have no minimum interest in keep the logs in my server..
hhk31257
05.03.2007, 10:14
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?
hhk31257
07.03.2007, 12:20
put the log files onto a Ramdisk or another machine. Ramdisks work great
confirmed! ty mate.
works like a char now with this 700$ ramdisk.
but if the server crashes the database will corrupt without the log files. Be warned ;p
ye this is a big downer... although its worth the risk with hourly backups.
grats mate, i was trying to do the same too... but not sure if i did it right, when you say
put the log files onto a Ramdisk or another machine. Ramdisks work
does it mean this file ---> lin2world_log.ldf??