![]() |
|
|
#1 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
HI all
in last few days our server start crashing and most often message is: Code:
IOThread [7][11781] (ahehe): void IOThread_common(void *arglist) -> static bool RequestPickItem(CSocket* pSocket, const unsigned char* packet) -> CWareHouse::PickItem(CSocket* pSocket, const unsigned char* packet, int nNPCClassId ) -> bool CItem::Save(bool bForceSave) -> DBConn::Execute -> DBConn::Error
Lock Stack : RW WriteLock(482406792[1cc0f188])
Code:
IOThread [6][7734] (ahehe): Lock Stack : RW WriteLock(79159576[4b7e118]) -> RW any help? (cacheD crash first..) the numbers are random.. |
|
|
|
|
#2 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
again..
Code:
IOThread [0][36703] (ahehe): void IOThread_common(void *arglist) -> static bool SellItemsPacket(CSocket* pSocket, const unsigned char* packet) -> CItem::CommitTransation() -> bool CItem::Delete() -> DBConn::Execute -> DBConn::Error
Lock Stack : RW WriteLock(487731344[1d123090])
IOThread [1][0] (good): void IOThread_common(void *arglist)
Lock Stack :
IOThread [2][0] (good): void IOThread_common(void *arglist) -> static bool RequestManipulateItem(CSocket* pSocket, const unsigned char* packet) -> CWareHouse::ManipulateItems(CSocket* pSocket, const unsigned char* packet) -> CItem::CommitTransation() -> bool CItem::Save(bool bForceSave) -> DBConn::Execute
Lock Stack : RW WriteLock(487695376[1d11a410])
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Jan 2006
Posts: 13
|
Ban "ahehe" should do the trick
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
Hmm I found in SQL log problems with db inconsistency..
Code:
CHECKDB found 0 allocation errors and 3 consistency errors in database 'lin2world'. |
|
|
|
|
#5 |
|
Архивный участник
Join Date: Jun 2005
Posts: 258
|
Well the errors its showing are relating to the DB and it looks like at the end of the error theres a DB connection error.
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: Jan 2006
Posts: 607
|
you could search in cached logs for the last cached action... and if for every crash it's the same you'll have more info about how/why the crash occurs.
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
ok I repaired it all but there are still 2 errors..
Code:
Msg 8966, Level 16, State 2, Line 3 Unable to read and latch page (1:3222) with latch type SH. 23(error not found) failed. Msg 8966, Level 16, State 2, Line 3 Unable to read and latch page (1:3789) with latch type SH. 23(error not found) failed. Msg 8909, Level 16, State 1, Line 3 |
|
|
|
|
#8 | |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
Quote:
so I run EXEC sp_dboption 'lin2world', 'single user', 'TRUE' DBCC CHECKDB (lin2world, REPAIR_allow_data_loss) now 12/14 errors fixed.. but there are last 2.. |
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
CHECKDB found 0 allocation errors and 0 consistency errors in database 'lin2world'.
DBCC execution completed. :-DD all errors done. there was problem with harddrives so I use chkdsk /f and restart ;] |
|
|
|
|