Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 15.06.2007, 16:11   #1
goodtimeshaxor
Архивный участник
 
Join Date: Oct 2006
Posts: 108
Default Server crashes due to HD?

Soulshot Delay
write to invalid db socket
dwTime[XX] < 80

I see these errors often on my server window before the server crashes and it's getting annoying.

Server specs:
Windows Server 2003 R2 64x Edition
4 GB RAM
Dual Xeon 2.33 GHz
73 GB 15,000 RPM SCSI HDD


These errors start popping up at random times, sometimes right after the server restarted and there are only 50 players online.

Would greatly appreciate it if someone could take the time to connect to the desktop with me and analyze the problems via "Ultra VNC" (remote connection software). Depending on the quality of the fix or analysis I may consider monetary compensation. Post any comments here or contact me via forum PM.
goodtimeshaxor is offline  
Old 15.06.2007, 17:45   #2
SlayerX
Архивный участник
 
Join Date: Dec 2005
Posts: 82
Default

Damn get more rammmm you need at least 6GB if you have DB/Server on the same PC, I would hope you have dual 73GB 15k SCSI disks too.
all that is due to db stress, you could help a little by reindexing/defragging/truncating the databases and configuring the db to not fill transaction logs (last option requires you to have automated backups)
SlayerX is offline  
Old 15.06.2007, 21:00   #3
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

Did we rollback or I did not post?
Like I thought I said before I have same config (my hdd is sata) and it has no problems (I have around 200 onlìne)
m4rk is offline  
Old 15.06.2007, 21:38   #4
khelben
Архивный участник
 
Join Date: Mar 2006
Posts: 104
Default

You may want to look at optimizing your Operating System and SQL.

1st Prevent SQL from paging to the cache file. You didn't include your SQL version but if you're using 2k5 enterprise there's a nice TechNet article here: http://support.microsoft.com/kb/918483

Excerpt:
How to lock pages in memory for an instance of SQL Server 64-bit
In SQL Server 64-bit, you can improve performance by locking memory that is allocated for the buffer pool in physical memory. To enable this capability in SQL Server 64-bit, you must grant the SQL Server startup account the Lock pages in memory permission. When you enable this option, you must restart the computer. To do this, follow these steps:
1. Click Start, click Run, type gpedit.msc, and then click OK. The Group Policy window appears.
2. In the left pane, expand Computer Configuration, and then expand Windows Settings.
3. Expand Security Settings, and then expand Local Policies.
4. Click User Rights Assignment. The policies appear in the right pane.
5. In the right pane, double-click Lock pages in memory.
6. In the Local Security Policy Setting dialog box, click Add User or Group.
7. In the Select Users or Groups dialog box, add the account that has permissions to run Sqlservr.exe, and then click OK.
8. Close the Group Policy window, and then restart the SQL Server service.

After you restart the SQL Server service, all memory that is allocated for the buffer pool will be ineligible for paging by Windows. The buffer pool retains the ability to respond to memory resource notification events and dynamically grow or reduce in response to these events. Allocations that are locked in memory will no longer be visible in any one of the following locations:

• The Private Bytes and Working Set counters in Performance Monitor
• The Mem Usage column on the Processes tab in Windows Task Manager

You may also want to make sure that critical operating system files are held in memory as well. Use google to find one of a dozens of excellent articles.

Another performance option, move your swap file to a different drive.
khelben is offline  
Old 15.06.2007, 22:02   #5
Yui-Ikari
Архивный участник
 
Join Date: Jan 2006
Posts: 58
Default

thanks khel <3
Yui-Ikari is offline  
Old 15.06.2007, 22:04   #6
Bloodust
Архивный участник
 
Join Date: May 2006
Posts: 135
Default

Yea thx khelben I belive I will some day benefit from your wise words :P
Bloodust is offline  
Old 16.06.2007, 21:40   #7
goodtimeshaxor
Архивный участник
 
Join Date: Oct 2006
Posts: 108
Default

Okay I did all of the things you helpful guys suggested but when I defragment the hard disk it stops in the middle of it because it cannot defrag some of the SQL files (I just now thought "Maybe I have to turn the database service off first"). I'll try that the next time it crashes).

How do I "re-index"?

Oh, and I ordered two additional hard drives to be installed tomorrow night.

And incase this helps, here is the latest log after l2server.exe crash:
Quote:
A:I:S:E:PEIE:BO=1.000000:1.000000:1.000000:1.0 00000:1.000000:0:0:1
L:Y:X:H=0:0:0:0:0
Crashed Thread[13].
Server Up Time : Sat Jun 16 20:32:39 2007
Current Time : Sat Jun 16 20:33:10 2007
Elapsed Time : 0 days 0 hours 0 minutes 31 seconds
IOBufferPool - 0 / 0, PendingWrite 0 bytes [0]
=============== object report
user[0/0], npc[0/0], item[0/0], usersocket[0]
=============== npc server connection log
no connect

[(4228) 2007/06/16 20:33:10]: =======================
an Access Violation in module L2Server.exe at 0033:006fc99b.
start at 2007/6/16 20:32:38
Write to location 1ca34054 caused an access violation.

Registers:
EAX=1ca20000 CS=0033 EIP=006fc99b EFLGS=00010202
EBX=000021cc SS=002b ESP=3c20ddf0 EBP=7b2ea020
ECX=00005015 DS=002b ESI=00005015 FS=0053
EDX=000032cc ES=002b EDI=00a39ad0 GS=002b
Bytes at CS:EIP:
89 1c 88 65 48 8b 04 25 58 00 00 00 4a 8b 0c e8
Stack dump:
3c20ddf0: 7cf18f44 00000000 7b2ea020 00000000 0bc5d888 00000000 1d26107c 00000000
3c20de10: 7b2ea0e0 00000000 78cdbea4 00000000 fffffffe ffffffff 00627deb 00000000
3c20de30: 0bc5d888 00000000 34369c2c 00000000 0bc5d888 00000000 1d26107c 00000000
3c20de50: 00005015 00000000 00000000 00000000 0bc5d888 00000000 34369c2c 00000000
3c20de70: ffff0000 00000000 7b2ea0e0 00000000 00abbdb0 00000000 00000009 00000000
3c20de90: 0000000f 00000000 009187da 00000000 7b2ea0e0 00000000 00000000 00000000
3c20deb0: 00400000 00000000 00000000 00000000 00000000 00000000 008e8c53 00000000
3c20ded0: 3c20e130 00000000 3c20e130 00000000 0000005d 00000000 0000001f 00000000
3c20def0: fffffffe ffffffff fffffffe ffffffff fffffffe ffffffff 0090a1ca 00000000
3c20df10: 78cdbee0 00000000 78cdbee0 00000000 3c20e220 00000000 00000000 00000000


ver = Dec 16 2005_22:03:13


GuardInfo :

IOThread [0][3847031] (good): Lock Stack :

IOThread [1][3847031] (good): Lock Stack :

IOThread [2][3847031] (good): Lock Stack :

IOThread [3][3847031] (good): Lock Stack :

ListenThread [13][3847031] (ahehe): void ListenThread_common() -> void LoadData(void) -> void CObjectDB::LoadItem() -> void CObjectDB::RegisterObject(CObject *pObj) -> void SetIndexByClassID(int nClassID, int nIndex)
Lock Stack :

MainThread [12][860] (good): Lock Stack :

GuardInfo end



[(4228) 2007/06/16 20:33:10]: *.\L2Server.cpp:1301(Fri Oct 21 19:59:07 2005) exception
I have been monitoring the Hard disk queue length, read queue length, and write queue length after the most recent server reboot and it has been doing very well. This has been true for the past few reboots. On all previous reboots, however, the hard drive would go crazy and peak at 100% usage for an extended period of time and eventually crash the entire server. (dwTime[XX] <80!!!!!!)

I am reluctant to just say that the hard drive is the problem because it runs smooth for some time before crashing AND a friend's server runs on a worse system than mine with 300 people online for 7 days before crashing (and it crashed only because his HD ran out of physical space)

Any other ideas?

==Update==
I did what khelben suggested with locking the allocated physical memory if the buffer pool and, not sure if it was the solution, but I'm seeing massive improvement. Prior to doing this the had drive was going crazy and jumping from 50% - 100% queue lengths. Now its at an average of 1.4% and very steady.

What ever the solution was. I would like to thank everyone who helped:
Khelben, HF, SlayerX, PyroMaker, and anyone else that escapes my mind.
goodtimeshaxor is offline  
Old 17.06.2007, 23:09   #8
goodtimeshaxor
Архивный участник
 
Join Date: Oct 2006
Posts: 108
Default

Well last night it was running at lower than 1% for over 24 hours but after I restarted today it started going crazy again. it's been about 1 hour since the restart and the HDD seems to be calming down a bit.

Is it supposed to go crzy after restart and then calm down over time?
goodtimeshaxor 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 18:53.