PDA

View Full Version : !!!Deadlock or Super-Lag detected! Error


krashnburnz
15.11.2006, 03:25
Im getting this error, and it crashes the entire Server box every time it happens. The NPC Server, Game Server, and everything else is running on the same box. This screen it just so happened to crash when the NPC's were loading, which is not always the case. Its totally random when this happens. Could be during loading, could be 3 hours after the server has been online. I have replaced 1 of the Harddrives, thinking this could be a issue. But still the same problem. Maybe i should replace the other harddrive as well?

Server Specs are:
2 x Xeon 3.4ghz CPU's
8 GB DDR2-3200 ECC memory
2 x 74GB Raptor HD (Raid 0)
3ware 8006-2 Raid Controller
Supermicro Server 6014v-t2
Win 2003 server x64
MSSQL 2005 Enterprise Edition

Can anyone help me figure out the problem here? It would be much appreciated. I been trying to trouble shoot this issue for Weeks now, and still havent figured out the issue.

http://www.mml2files.net/deadlock.JPG

hel
15.11.2006, 04:10
post your linerror.txt from l2npc

krashnburnz
15.11.2006, 05:22
minidump result : 0
Crashed Thread[1].
CRASH
Server Up Time : Tue Nov 14 13:51:32 2006
Current Time : Tue Nov 14 13:54:27 2006
Elapsed Time : 0 days 0 hours 2 minutes 55 seconds
IOBufferPool - 1996 / 2000, PendingWrite 176 bytes [0]
=============== object report
user[0], npc[14678]
[(2612) 2006/11/14 13:54:27]: =======================
an Access Violation in module L2NPC.exe at 0033:00451a41.
start at 2006/11/14 13:51:30
Write to location 00000000 caused an access violation.

Registers:
EAX=00000000 CS=0033 EIP=00451a41 EFLGS=00010246
EBX=4709ea64 SS=002b ESP=476efd10 EBP=00685568
ECX=0067e678 DS=002b ESI=00400000 FS=0053
EDX=00000002 ES=002b EDI=00000008 GS=002b
Bytes at CS:EIP:
c6 00 01 65 48 8b 04 25 58 00 00 00 48 8b 08 4c
Stack dump:
476efd10: 4709ea64 00000000 00000002 00000000 00000001 00000000 00000002 00000000
476efd30: 4709ea64 00000000 00000040 00000000 fffffffe ffffffff 0047efe6 00000000
476efd50: 00000000 00000000 0048163c 00000000 4709ea64 00000000 00000008 00000000
476efd70: 00400000 00000000 000198c4 00000000 00019898 00000000 77d5fcd7 00000000
476efd90: 006895c0 00000000 fffffffe ffffffff 00400000 00000000 00485a94 00000000
476efdb0: 476efdc0 00000000 0048190b 00000000 4709ea64 00000000 0000002b 00000000
476efdd0: 00000000 00000000 00000008 00000000 00019898 00000000 00000032 00000000
476efdf0: 00000001 00000000 0048068f 00000000 00000001 00000000 0000002b 00000000
476efe10: 00000001 00000000 0000002b 00000000 00000032 00000000 00000000 00000000
476efe30: 00000000 00000000 4709ea64 00000000 4709eab4 00000000 fffffffe ffffffff


GuardInfo :

IOThread [0][47] (good): void IOThread_common(void *arglist)
Lock Stack :

IOThread [1][969] (ahehe): void IOThread_common(void *arglist) -> void CIOSocket::Close() -> void CDBNPCSocket::OnClose()
Lock Stack :

IOThread [2][218] (good): void IOThread_common(void *arglist)
Lock Stack :

IOThread [3][282] (good): void IOThread_common(void *arglist)
Lock Stack :

ListenThread [13][375] (good): void NPCServer::Run() -> unsigned __stdcall WaitThread(void *)
Lock Stack :

MainThread [12][3736421] (good): Lock Stack :

GuardInfo end



[(2612) 2006/11/14 13:54:28]: *.\ioc.cpp:648(Tue Dec 13 02:52:30 2005) exception

krashnburnz
15.11.2006, 05:25
This is another one from a seperate day
================================
minidump result : 0
Crashed Thread[2].
CRASH
Server Up Time : Tue Nov 07 14:26:43 2006
Current Time : Tue Nov 07 19:18:41 2006
Elapsed Time : 0 days 4 hours 51 minutes 58 seconds
IOBufferPool - 1997 / 2000, PendingWrite 0 bytes [0]
=============== object report
user[7], npc[34683]
[(2328) 2006/11/07 19:18:41]: =======================
an Access Violation in module L2NPC.exe at 0033:00451a41.
start at 2006/11/7 14:26:41
Write to location 00000000 caused an access violation.

Registers:
EAX=00000000 CS=0033 EIP=00451a41 EFLGS=00010246
EBX=4709ea64 SS=002b ESP=480efd10 EBP=00685568
ECX=0067e678 DS=002b ESI=00400000 FS=0053
EDX=00000002 ES=002b EDI=00000008 GS=002b
Bytes at CS:EIP:
c6 00 01 65 48 8b 04 25 58 00 00 00 48 8b 08 4c
Stack dump:
480efd10: 4709ea64 00000000 00000002 00000000 00000002 00000000 00000002 00000000
480efd30: 4709ea64 00000000 00000040 00000000 fffffffe ffffffff 0047efe6 00000000
480efd50: 00000000 00000000 0048163c 00000000 4709ea64 00000000 00000008 00000000
480efd70: 00400000 00000000 000198c0 00000000 0001989c 00000000 77d5fcd7 00000000
480efd90: 006895c0 00000000 fffffffe ffffffff 00400000 00000000 00485a94 00000000
480efdb0: 480efdc0 00000000 0048190b 00000000 4709ea64 00000000 0000002c 00000000
480efdd0: 00000000 00000000 00000008 00000000 0001989c 00000000 00000032 00000000
480efdf0: 00000002 00000000 0048068f 00000000 00000002 00000000 0000002c 00000000
480efe10: 00000002 00000000 0000002c 00000000 00000032 00000000 00000000 00000000
480efe30: 00000000 00000000 4709ea64 00000000 4709eab4 00000000 fffffffe ffffffff


GuardInfo :

IOThread [0][47] (good): void IOThread_common(void *arglist)
Lock Stack :

IOThread [1][109] (good): void IOThread_common(void *arglist)
Lock Stack :

IOThread [2][1594] (ahehe): void IOThread_common(void *arglist) -> void CIOSocket::Close() -> void CDBNPCSocket::OnClose()
Lock Stack :

IOThread [3][250] (good): void IOThread_common(void *arglist)
Lock Stack :

ListenThread [13][328] (good): void NPCServer::Run() -> unsigned __stdcall WaitThread(void *)
Lock Stack :

MainThread [12][17806484] (good): Lock Stack :

GuardInfo end



[(2328) 2006/11/07 19:18:42]: *.\ioc.cpp:648(Tue Dec 13 02:52:30 2005) exception

Drag
15.11.2006, 15:18
Nice IOBuffer :D Set it to 1200 or even 800 for beginning. When u will have more players - set to more :)

krashnburnz
15.11.2006, 19:35
Could this be a issue? The IObuffer?

Drag
15.11.2006, 20:31
U can try... nothing to lose lawl :)
Anyway i never saw 50k :]

krashnburnz
15.11.2006, 23:59
No, it didnt make any difference. Still crashes

GMan
16.11.2006, 05:30
well for one, i alwasy thought that error was from the fact that the communication between the servers was lagging out like if one process is taking all the CPU cycles the other server would not be able to send packets as fast... but i might be wrong, but looking at your Screen shot i see you are running all the servers on one server.. althoe this might have been ok back in C1-C3 with the 64 bit hardware the other non 64 bit servers are running in 32bit emulation mode and can cause alot of havoc.

just a thought, try seperating the World and NPC server form the others (world and NPC are the only 64bit exes)

krashnburnz
16.11.2006, 06:35
K, ill try it tomorrow and let you know what happens. Thanx for your response.

Question though... I doubt many that use these files are running 2 Boxes for 1 server. I have searched these forums for 2 weeks tryin to find a solution, and very few people are having similiar issues. So why arent others having this issue?

alysia
16.11.2006, 13:37
When you found a solution please post it ^^ Here my error



minidump result : 0
Crashed Thread[3].
CRASH
Server Up Time : Tue Nov 14 20:49:55 2006
Current Time : Wed Nov 15 07:18:59 2006
Elapsed Time : 0 days 10 hours 29 minutes 4 seconds
IOBufferPool - 1984 / 2000, PendingWrite 102364 bytes [12]
=============== object report
user[40], npc[33043]
[(2956) 2006/11/15 07:18:59]: =======================
an Access Violation in module L2NPC.exe at 0033:005de7a2.
start at 2006/11/14 20:49:53
Write to location 00000000 caused an access violation.

Registers:
EAX=0bfbe690 CS=0033 EIP=005de7a2 EFLGS=00010202
EBX=006e4688 SS=002b ESP=4259fd00 EBP=01b289b0
ECX=0067e678 DS=002b ESI=01b289bc FS=0053
EDX=0000012f ES=002b EDI=00000003 GS=002b
Bytes at CS:EIP:
41 c6 06 01 65 48 8b 04 25 58 00 00 00 48 8b 08
Stack dump:
4259fd00: 006e4688 00000000 0000012f 00000000 00000003 00000000 00000003 00000000
4259fd20: 006e4620 00000000 00000040 00000000 fffffffe ffffffff 1b562803 00000000
4259fd40: 00019828 00000000 1b562835 00000000 00000000 00000000 0048163c 00000000
4259fd60: 555d6fc4 00000000 00000008 00000000 00400000 00000000 00019858 00000000
4259fd80: 00019828 00000000 77d5fcd7 00000000 006895c0 00000000 fffffffe ffffffff
4259fda0: 00400000 00000000 00485a94 00000000 4259fdc0 00000000 0048190b 00000000
4259fdc0: 555d6fc4 00000000 0000002c 00000000 00000000 00000000 00000008 00000000
4259fde0: 00019828 00000000 00000032 00000000 00000003 00000000 0048068f 00000000
4259fe00: 00000003 00000000 0000002c 00000000 00000003 00000000 0000002c 00000000
4259fe20: 00000032 00000000 00000000 00000000 00000000 00000000 555d6fc4 00000000


GuardInfo :

IOThread [0][117922] (good): void IOThread_common(void *arglist) -> void CIOObject::TimerDispatch(bool bRootLoop)
Lock Stack :

IOThread [1][859] (good): void IOThread_common(void *arglist)
Lock Stack :

IOThread [2][318422] (good): void IOThread_common(void *arglist) -> void CIOObject::TimerDispatch(bool bRootLoop) -> void CNPC::TimerExpired(int id) -> inline void AddExecutable(MemoryObject *Matrix, Native Func, CExecutionArgument* Arg) -> add exec - func call -> ASYNCHRONOUS_SERIALIZE_IMPL1(CNPC, AsyncTimerExpired, int, id) -> npc_timer_expired_1 -> int CNPC::HandleEvent(CNPCEvent* pEvent) -> int InterlockedHandleEvent(ScriptEvent* pEvent, CAIParameter* pParameter) -> virtual int HandleEvent(ScriptEvent* pEvent, CAIParameter* pParameter) -> int CScriptEngine::RunNPCScript(CNPCEvent* pNPCEvent, CNPCEventHandler *pHandler, CScriptBinCode *pCode, CAIParameter *pParam, CAIProperty *pProp) -> CScriptAccessible::Invoke() -> void CNPC::AddTimerEx(int id, int msec)
Lock Stack :

IOThread [3][17141] (ahehe): void IOThread_common(void *arglist) -> void CIOSocket::Close() -> void CServerSocket::OnClose() -> server socket closed
Lock Stack :

ListenThread [13][3984] (good): void NPCServer::Run() -> unsigned __stdcall WaitThread(void *)
Lock Stack :

MainThread [12][458649718] (good): Lock Stack :

GuardInfo end



[(2956) 2006/11/15 07:19:07]: *.\ioc.cpp:648(Tue Dec 13 02:52:30 2005) exception


But my NPC-Server runs between 1-10hours befor it crash and the most times it also crash with a Deadlock in the Linerror

paul
16.11.2006, 19:53
We did get deadlock once or twice but it pretty much solved itself. Only thing I can suggest is possibly increasing the priority on the npc server.

krashnburnz
20.11.2006, 05:44
Tried it, doesnt help.

Drag
20.11.2006, 07:05
Check ur CPU usage... it cant be xD 99%

alysia
20.11.2006, 15:32
Check ur CPU usage... it cant be xD 99%

where you see cpu usage 99% ? :)



for myself it is only between 1%-10%