PDA

View Full Version : [Please HELP] CacheD.exe Crash.


jhoni1234
17.01.2007, 16:04
minidump result : 0
Crashed Thread[21].
Deadlock or Super-Lag!!! CurrentTick[1704183734] - DeadlockCheckerTick[1704123718] = 60016
Server Up Time : Sun Jan 14 21:02:06 2007
Current Time : Wed Jan 17 07:07:29 2007
Elapsed Time : 2 days 10 hours 5 minutes 23 seconds
IOBufferPool - 39985 / 39996, PendingWrite 173 bytes [0]
[(1752) 2007/01/17 07:07:29]: =======================
an Access Violation in module CacheD.exe at 0023:00441328.
start at 2007/1/14 21:02:06
Write to location 00000000 caused an access violation.

Registers:
EAX=00000000 CS=0023 EIP=00441328 EFLGS=00010246
EBX=7d4d168e SS=002b ESP=0509ecf0 EBP=6593eec6
ECX=0509ed1c DS=002b ESI=0000ea70 FS=0053
EDX=003b6b30 ES=002b EDI=003b6b30 GS=002b
Bytes at CS:EIP:
c6 00 01 8b 87 08 00 00 00 83 c4 10 83 04 85 78
Stack dump:
0509ecf0: 008ff138 00000002 00514cd8 0000003c 00000002 0509ed48 049d05d4 00000000
0509ed10: 009d05d4 003b6b30 00000001 0509ff44 004f30bc 00000003 00424e4d 00000000
0509ed30: 00000000 049c0118 0509ff78 049c0118 01000000 00000002 00000000 049d05d4
0509ed50: 049d05d8 049d05d8 00000000 049c05cc 049c0604 049c0604 0509ed44 00000001
0509ed70: 0509ed48 049d05d4 00000002 0000000c 0509ed44 00000001 0509ed48 049d05d4
0509ed90: 00000000 00000011 00000017 02020202 536e6957 206b636f 00302e32 00000000
0509edb0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0509edd0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0509edf0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0509ee10: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000


GuardInfo :

IOThread [0][67437] (good): void IOThread_common(void *arglist) -> static bool SaveNpcInfo(CNpcDbSocket* pSocket, const unsigned char* packet) -> DBConn::Execute
Lock Stack : .\NpcDbSocket.cpp(186[ba])

IOThread [1][67781] (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(474792520[1c4cc248])

IOThread [2][67688] (good): void IOThread_common(void *arglist) -> static bool UseItemPacket(CSocket* pSocket, const unsigned char* packet) -> bool CWareHouse::UseItem(CSocket* pSocket, const unsigned char* packet) -> DBConn::Execute
Lock Stack : RW WriteLock(78904352[4b3fc20])

IOThread [3][68156] (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(474765896[1c4c5a48])

IOThread [4][68328] (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(78892704[4b3cea0])

IOThread [5][68531] (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(78892960[4b3cfa0])

IOThread [6][68422] (good): void IOThread_common(void *arglist) -> static bool UseItemPacket(CSocket* pSocket, const unsigned char* packet) -> bool CWareHouse::UseItem(CSocket* pSocket, const unsigned char* packet) -> DBConn::Execute
Lock Stack : RW WriteLock(474781256[1c4c9648])

IOThread [7][68906] (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(78893600[4b3d220])

IOThread [8][1547] (good): void IOThread_common(void *arglist)
Lock Stack :

IOThread [9][1562] (good): void IOThread_common(void *arglist)
Lock Stack :

IOThread [10][1656] (good): void IOThread_common(void *arglist)
Lock Stack :

IOThread [11][1828] (good): void IOThread_common(void *arglist)
Lock Stack :

ListenThread [21][10984] (ahehe): unsigned __stdcall WaitThread(void *) -> !!! deadlock or super-lag detected !!!
Lock Stack :

MainThread [20][1704194750] (good): MessageLoop_common
Lock Stack :

GuardInfo end



[(1752) 2007/01/17 07:07:32]: *.\CacheD.cpp:660(Tue Aug 9 23:52:17 2005) exception



PLEASE, any people can nhelp me to find a fix, but every 2-3 days crash :(.


Greetings


Jhoni.

mcrabben7
18.01.2007, 04:50
ListenThread [21][10984] (ahehe): unsigned __stdcall WaitThread(void *) -> !!! deadlock or super-lag detected !!!
Lock Stack :

Get a better/faster CacheD machine, or maybe the error is somewhere else in L2Server. Many possible causes.

jhoni1234
19.01.2007, 00:47
Get a better/faster CacheD machine, or maybe the error is somewhere else in L2Server. Many possible causes.

Machine Especifications:

AMD Athlon x2 64 bits 4600+ Dual core (2.4 GHZ)
4 GB RAM DDR2 800 MHZ Dual Channel


All server is in ONE PC.


Greetings

jhoni.

FidoW
19.01.2007, 01:08
And how many users ONLINE ?

I have similar machine.... with 800~1000 users online and dont have any problem, actually uptime is 5 days.

mcrabben7
19.01.2007, 01:28
Machine Especifications:

AMD Athlon x2 64 bits 4600+ Dual core (2.4 GHZ)
4 GB RAM DDR2 800 MHZ Dual Channel


All server is in ONE PC.


Greetings

jhoni.

SQL is all about Hard Drive and SQL speed. Plus, 4 GB of RAM is too low to run everything on one server. Low Hard Drive speed plus low RAM will cause lots of lag and crashes with over 400 players online.

FidoW
19.01.2007, 02:15
SQL is all about Hard Drive and SQL speed. Plus, 4 GB of RAM is too low to run everything on one server. Low Hard Drive speed plus low RAM will cause lots of lag and crashes with over 400 players online.

The specs of my server:
Intel Pentium Dual Core 3.0 GHz
4 x DDR2, PC2-4300 (266 MHz), 1024 MBytes, ECC, Nanya Technology
HD BARRACUDA 7200 SATA 160 GB
CACHE 2 x 2048 KBytes, 8-way set associative, 64-byte line size
System Manufacturer Dell Computer Corporation

Running with:
Microsoft Windows Server 2003 x64 Standard Edition SP1
MS SQL Server 2005 Enterprise Edition 64-bit

Players online:
At mornings 300~400
At nigths 900~1100

No one problem... no SS lag, no crashes since i change to this machine 3 months ago. The rare thing is before i was using a similar machine but.. AMD... i have several problems with SS lag and other things like... each a few hours having more than 1000 players... ram memory go to 99,999%, start the SS lag, and some minutes later server crash,i think that machine have some problem, or by the other way, maybe the OS have something to do with that, was XP 64bits. I never know whats the problem because people of datacenter never give me a minute of atention to my requests, so, i change host... and now im more than happy.

jhoni1234
20.01.2007, 07:17
The specs of my server:
Intel Pentium Dual Core 3.0 GHz
4 x DDR2, PC2-4300 (266 MHz), 1024 MBytes, ECC, Nanya Technology
HD BARRACUDA 7200 SATA 160 GB
CACHE 2 x 2048 KBytes, 8-way set associative, 64-byte line size
System Manufacturer Dell Computer Corporation

Running with:
Microsoft Windows Server 2003 x64 Standard Edition SP1
MS SQL Server 2005 Enterprise Edition 64-bit

Players online:
At mornings 300~400
At nigths 900~1100

No one problem... no SS lag, no crashes since i change to this machine 3 months ago. The rare thing is before i was using a similar machine but.. AMD... i have several problems with SS lag and other things like... each a few hours having more than 1000 players... ram memory go to 99,999%, start the SS lag, and some minutes later server crash,i think that machine have some problem, or by the other way, maybe the OS have something to do with that, was XP 64bits. I never know whats the problem because people of datacenter never give me a minute of atention to my requests, so, i change host... and now im more than happy.

I have XP 64 bits AND 300-400 USERS online :(


NO EXIST ANNY SOLUTION? =(

m4rk
20.01.2007, 08:00
you can either limit the number of players on your server or try to change the OS to windows 2003 x64, maybe that can help.

FidoW
20.01.2007, 13:57
I have XP 64 bits AND 300-400 USERS online :(


NO EXIST ANNY SOLUTION? =(

So looks like XP 64 bits have something to do finally...

Simple do a check each a few hours of the state of ram memory to see if is the same problem, SS lag starts when ram is full and no matter how many virtual memory you give to the system... always happen the same, that was my problem with XP x64. With 2003.... actually im going to restart the server but i believe isnt neccesary, all works ok, uptime is over 5 days, but today there are sieges and im want all works good...

dirkr
20.01.2007, 15:23
never hurts to reboot before sieges :)