Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Problems with warehouse (https://postpacific.loc-online.com/showthread.php?t=6348)

rodier 30.11.2006 11:18

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 30.11.2006 20:50

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])


TofA 30.11.2006 20:56

Ban "ahehe" should do the trick

rodier 30.11.2006 21:14

Hmm I found in SQL log problems with db inconsistency..
Code:

CHECKDB found 0 allocation errors and 3 consistency errors in database 'lin2world'.
...

HongK 30.11.2006 21:33

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.

m4rk 30.11.2006 21:59

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.

rodier 30.11.2006 22:19

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 30.11.2006 22:20

Quote:

Originally Posted by m4rk (Post 73400)
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 30.11.2006 23:39

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 ;]


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