![]() |
|
|
#1 |
|
Архивный участник
Join Date: Oct 2006
Posts: 108
|
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. |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Dec 2005
Posts: 82
|
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) |
|
|
|
|
#3 |
|
Архивный участник
Join Date: Jan 2006
Posts: 607
|
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) |
|
|
|
|
#4 |
|
Архивный участник
Join Date: Mar 2006
Posts: 104
|
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. |
|
|
|
|
#5 |
|
Архивный участник
Join Date: Jan 2006
Posts: 58
|
thanks khel
<3
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: May 2006
Posts: 135
|
Yea thx khelben I belive I will some day benefit from your wise words :P
|
|
|
|
|
#7 | |
|
Архивный участник
Join Date: Oct 2006
Posts: 108
|
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:
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. |
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Oct 2006
Posts: 108
|
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? |
|
|
|
|