Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 30.11.2006, 11:18   #1
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default Problems with warehouse

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..
rodier is offline  
Old 30.11.2006, 20:50   #2
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

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])
rodier is offline  
Old 30.11.2006, 20:56   #3
TofA
Архивный участник
 
Join Date: Jan 2006
Posts: 13
Default

Ban "ahehe" should do the trick
TofA is offline  
Old 30.11.2006, 21:14   #4
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

Hmm I found in SQL log problems with db inconsistency..
Code:
CHECKDB found 0 allocation errors and 3 consistency errors in database 'lin2world'.
...
rodier is offline  
Old 30.11.2006, 21:33   #5
HongK
Архивный участник
 
Join Date: Jun 2005
Posts: 258
Default

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.
HongK is offline  
Old 30.11.2006, 21:59   #6
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

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.
m4rk is offline  
Old 30.11.2006, 22:19   #7
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

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
rodier is offline  
Old 30.11.2006, 22:20   #8
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

Quote:
Originally Posted by m4rk View Post
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.
I look in SQL logs and there was its problem with inconsistency..
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..
rodier is offline  
Old 30.11.2006, 23:39   #9
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

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 ;]
rodier 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 20:52.