Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 05.03.2007, 04:04   #1
hhk31257
Архивный участник
 
Join Date: May 2006
Posts: 166
Default soulshot lag

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!
hhk31257 is offline  
Old 05.03.2007, 06:35   #2
mcrabben7
Архивный участник
 
Join Date: Apr 2006
Posts: 461
Default

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
mcrabben7 is offline  
Old 05.03.2007, 07:41   #3
Phantom2005
Архивный участник
 
Join Date: Aug 2005
Posts: 394
Default

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.
Phantom2005 is offline  
Old 05.03.2007, 09:31   #4
JotaC
Архивный участник
 
Join Date: Mar 2006
Posts: 69
Default

Quote:
Originally Posted by mcrabben7 View Post
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..
JotaC is offline  
Old 05.03.2007, 10:14   #5
hhk31257
Архивный участник
 
Join Date: May 2006
Posts: 166
Default

Quote:
Originally Posted by Phantom2005 View Post
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 is offline  
Old 07.03.2007, 12:20   #6
hhk31257
Архивный участник
 
Join Date: May 2006
Posts: 166
Default

Quote:
Originally Posted by mcrabben7 View Post
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.

Quote:
Originally Posted by mcrabben7 View Post
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.
hhk31257 is offline  
Old 07.03.2007, 15:23   #7
evern
Архивный участник
 
Join Date: Jul 2006
Posts: 46
Default

grats mate, i was trying to do the same too... but not sure if i did it right, when you say

Quote:
Originally Posted by mcrabben7 View Post
put the log files onto a Ramdisk or another machine. Ramdisks work
does it mean this file ---> lin2world_log.ldf??
evern is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 15:53.