Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 25.01.2007, 11:15   #1
hhk31257
Архивный участник
 
Join Date: May 2006
Posts: 166
Default cacheD problem

Hello,

I have a strange problem in cached
when the server is booted, the cached starts looping the exec's
going faster and faster resulting in massive SS lag ofcourse.
anyone know what is causing this problem?
thanks


/25/2007 12:00:xx.xx7, sql execution time [14906]ms, sql[EXEC lin_GetUserLogTime 46086, 1, 1]
01/25/2007 12:00:xx.xx7, sql execution time [14906]ms, sql[EXEC lin_GetUserLogTime 46083, 1, 6]
01/25/2007 12:00:xx.xx6, sql execution time [16765]ms, sql[EXEC lin_GetUserLogTime 36810, 1, 29]
01/25/2007 12:00:xx.xx7, sql execution time [5344]ms, sql[EXEC lin_GetUserLogTime 44814, 1, 6]
01/25/2007 12:00:xx.xx7, sql execution time [6078]ms, sql[EXEC lin_GetUserLogTime 46080, 1, 14]
01/25/2007 12:00:xx.xx7, sql execution time [8266]ms, sql[EXEC lin_GetUserLogTime 46086, 1, 7]
01/25/2007 12:00:xx.xx1, Error sql: EXEC lin_SetLastTaxUpdate '2007-0-25 12:0:58', '2006-11-30 0:0:32', '2006-11-30 20:0:38' (0)
01/25/2007 12:00:xx.xx1, Error 42000:[Microsoft][ODBC SQL Server Driver][SQL Server]Error converting data type varchar to datetime.
01/25/2007 12:00:xx.xx1, [.\Socket.cpp][12448] cannot update last tax change date.
01/25/2007 12:01:xx.xx9, sql execution time [8344]ms, sql[EXEC lin_GetUserLogTime 46080, 1, 15]
01/25/2007 12:01:xx.xx9, sql execution time [11328]ms, sql[EXEC lin_GetUserLogTime 46089, 1, 1]
01/25/2007 12:01:xx.xx0, sql execution time [10000]ms, sql[EXEC lin_GetUserLogTime 44814, 1, 9]
01/25/2007 12:02:xx.xx3, [.\User.cpp][4150] Cannot find item. [5588]
01/25/2007 12:02:xx.xx5, Item delete Error, id[6223842]
01/25/2007 12:02:xx.xx1, [.\WareHouse.cpp][4195] item delete fail[6223842][5592][44590]
01/25/2007 12:07:xx.xx3, sql execution time [12843]ms, sql[EXEC lin_GetUserLogTime 46080, 1, 18]
01/25/2007 12:07:xx.xx0, sql execution time [12984]ms, sql[EXEC lin_GetUserLogTime 45662, 1, 46]
01/25/2007 12:07:xx.xx7, sql execution time [13344]ms, sql[EXEC lin_GetUserLogTime 13751, 1, 77]
01/25/2007 12:07:xx.xx6, sql execution time [11531]ms, sql[EXEC lin_GetUserLogTime 46086, 1, 15]
01/25/2007 12:08:xx.xx5, [.\NpcDbSocket.cpp][176] Save NpcBoss[golkonda_longhorn] Warning! HP[503434]->HP[430694]
01/25/2007 12:08:xx.xx6, sql execution time [25829]ms, sql[EXEC lin_GetUserLogTime 45530, 1, 52]
01/25/2007 12:09:xx.xx2, sql execution time [26391]ms, sql[EXEC lin_GetUserLogTime 45756, 1, 46]
01/25/2007 12:09:xx.xx3, sql execution time [17125]ms, sql[EXEC lin_GetUserLogTime 46078, 1, 18]
01/25/2007 12:09:xx.xx5, sql execution time [11812]ms, sql[EXEC lin_GetUserLogTime 45685, 1, 13]
01/25/2007 12:09:xx.xx1, sql execution time [18094]ms, sql[EXEC lin_GetUserLogTime 44808, 1, 69]
01/25/2007 12:09:xx.xx3, sql execution time [26453]ms, sql[EXEC lin_GetUserLogTime 37384, 1, 78]
01/25/2007 12:09:xx.xx3, sql execution time [26421]ms, sql[EXEC lin_GetUserLogTime 8298, 1, 65]
01/25/2007 12:10:xx.xx5, sql execution time [25969]ms, sql[EXEC lin_GetUserLogTime 46081, 1, 23]
01/25/2007 12:10:xx.xx6, [.\NpcDbSocket.cpp][176] Save NpcBoss[golkonda_longhorn] Warning! HP[430694]->HP[383401]
01/25/2007 12:10:xx.xx6, sql execution time [10719]ms, sql[EXEC lin_GetUserLogTime 45271, 1, 40]
01/25/2007 12:10:xx.xx8, sql execution time [5312]ms, sql[EXEC lin_GetUserDataByCharId 33857]
01/25/2007 12:11:xx.xx9, sql execution time [27563]ms, sql[EXEC lin_GetUserLogTime 41133, 1, 26]
01/25/2007 12:12:xx.xx0, sql execution time [13141]ms, sql[EXEC lin_GetUserLogTime 45685, 1, 15]
01/25/2007 12:12:xx.xx8, sql execution time [8937]ms, sql[EXEC lin_GetUserLogTime 44771, 1, 69]
01/25/2007 12:12:xx.xx0, [.\NpcDbSocket.cpp][176] Save NpcBoss[golkonda_longhorn] Warning! HP[350215]->HP[309826]
01/25/2007 12:12:xx.xx1, sql execution time [10250]ms, sql[EXEC lin_GetUserLogTime 46081, 1, 24]
01/25/2007 12:12:xx.xx1, sql execution time [21109]ms, sql[EXEC lin_GetUserLogTime 46080, 1, 19]
01/25/2007 12:12:xx.xx7, sql execution time [12375]ms, sql[EXEC lin_GetUserLogTime 45685, 1, 16]
01/25/2007 12:13:xx.xx8, sql execution time [6281]ms, sql[EXEC lin_GetUserDataByCharId 45504]
01/25/2007 12:13:xx.xx1, sql execution time [6235]ms, sql[EXEC lin_GetUserDataByCharId 40654]
01/25/2007 12:13:xx.xx1, sql execution time [26719]ms, sql[EXEC lin_GetUserLogTime 45698, 1, 39]
01/25/2007 12:13:xx.xx6, sql execution time [9234]ms, sql[EXEC lin_GetUserLogTime 46083, 1, 12]
hhk31257 is offline  
Old 25.01.2007, 13:27   #2
petre1980
Архивный участник
 
Join Date: Jan 2007
Posts: 45
Default

SQL execution time is to long, this is a hardware problem, need more RAM. Retail 64 bit servers need at least 4 GB of RAM if you run all on 1 machine. A good solution is to run de SQL database on other machine.
petre1980 is offline  
Old 25.01.2007, 13:43   #3
hhk31257
Архивный участник
 
Join Date: May 2006
Posts: 166
Default

Quote:
Originally Posted by petre1980 View Post
SQL execution time is to long, this is a hardware problem, need more RAM. Retail 64 bit servers need at least 4 GB of RAM if you run all on 1 machine. A good solution is to run de SQL database on other machine.
its a quadro opteron with 6 gig ram
The execute time is taking so long because cache is writing to the database like hell.

I started to get this problem yesterday, before i never had problems with it.
hhk31257 is offline  
Old 25.01.2007, 14:59   #4
petre1980
Архивный участник
 
Join Date: Jan 2007
Posts: 45
Default

Hmm....try to increase SqlEexecLimit in cached, also...maybe you use default IOBuffer witch is to big, set it to lower value, like 6000 - 10000.
petre1980 is offline  
Old 25.01.2007, 18:58   #5
mcrabben7
Архивный участник
 
Join Date: Apr 2006
Posts: 461
Default

Use a RamDISK for your SQL transaction logs. Works like a charm.
mcrabben7 is offline  
Old 28.01.2007, 21:39   #6
hhk31257
Архивный участник
 
Join Date: May 2006
Posts: 166
Default

Thanks for all the reply's..

i still have this problem after trying several possibility's
the server can run great for hours even sometimes days
and then all of a sudden the cached starts executing database commands like hell
(check my first post).
i upgraded the server to quadro core and from then on i have this problem.
before the upgrade the server could run for 7 days without even lagging.

the only difference to my configuration is that i have my sql server installed on drive D: toghether with my databases instead of on the windows disk.

eventlog:
1: cached starts doing exec's
2: cached speeds up the exec's
2: l2server gets soulshotlag
3: cached is spamming exec's like hell + sql exec timeout warnings (timeout because the whole server starts lagging i guess)
4: cached crashes
5: l2server crashes

serverlog
Code:
01/28/2007 18:18:xx.xx5, Soulshot delay is 3593
01/28/2007 18:18:xx.xx0, Soulshot delay is 3593
01/28/2007 18:18:xx.xx0, Soulshot delay is 3593
01/28/2007 18:18:xx.xx1, Soulshot delay is 3500
01/28/2007 18:18:xx.xx1, Soulshot delay is 3500
01/28/2007 18:18:xx.xx1, Soulshot delay is 2625
01/28/2007 18:18:xx.xx8, Soulshot delay is 3609
01/28/2007 18:19:xx.xx0, Can't connect to comm server
01/28/2007 18:19:xx.xx1, VCP type [33] not supported yet in file[.\Creature_server.cpp], line[12102]
01/28/2007 18:20:xx.xx6, Soulshot delay is 6547
01/28/2007 18:20:xx.xx6, Soulshot delay is 16485
01/28/2007 18:20:xx.xx6, Soulshot delay is 16547
01/28/2007 18:20:xx.xx6, Pick item resut is different. server[5832], db[6579]
01/28/2007 18:20:xx.xx6, Soulshot delay is 16094
01/28/2007 18:20:xx.xx6, Soulshot delay is 16344
01/28/2007 18:20:xx.xx6, Soulshot delay is 15875
01/28/2007 18:20:xx.xx6, Soulshot delay is 15672
01/28/2007 18:20:xx.xx6, Soulshot delay is 15344
01/28/2007 18:20:xx.xx6, Soulshot delay is 15157
01/28/2007 18:20:xx.xx6, Soulshot delay is 15047
01/28/2007 18:20:xx.xx6, Soulshot delay is 15000
01/28/2007 18:20:xx.xx6, Pick item resut is different. server[16], db[18]
01/28/2007 18:20:xx.xx6, Pick item resut is different. server[475580], db[477970]
01/28/2007 18:20:xx.xx6, Soulshot delay is 12860
01/28/2007 18:20:xx.xx6, Soulshot delay is 12719
01/28/2007 18:20:xx.xx6, Pick item resut is different. server[476720], db[479110]
01/28/2007 18:20:xx.xx6, Soulshot delay is 12500
01/28/2007 18:20:xx.xx6, Pick item resut is different. server[477928], db[480318]
01/28/2007 18:20:xx.xx6, Soulshot delay is 10875
01/28/2007 18:20:xx.xx6, Pick item resut is different. server[269], db[271]
01/28/2007 18:20:xx.xx6, Soulshot delay is 16344
01/28/2007 18:20:xx.xx6, Soulshot delay is 15985
01/28/2007 18:20:xx.xx6, Soulshot delay is 15735
01/28/2007 18:20:xx.xx6, Soulshot delay is 16110
01/28/2007 18:20:xx.xx6, Pick item resut is different. server[6579], db[5809]
01/28/2007 18:20:xx.xx6, Soulshot delay is 14672
01/28/2007 18:20:xx.xx6, Soulshot delay is 15094
01/28/2007 18:20:xx.xx6, Pick item resut is different. server[271], db[270]
01/28/2007 18:20:xx.xx6, Pick item resut is different. server[18], db[17]
01/28/2007 18:20:xx.xx6, Soulshot delay is 11407
01/28/2007 18:20:xx.xx6, Pick item resut is different. server[479085], db[475386]
01/28/2007 18:20:xx.xx6, Pick item resut is different. server[480318], db[476619]
01/28/2007 18:20:xx.xx0, Soulshot delay is 7328
01/28/2007 18:20:xx.xx0, Soulshot delay is 7625
01/28/2007 18:20:xx.xx0, Soulshot delay is 5141
01/28/2007 18:20:xx.xx0, Soulshot delay is 2922
01/28/2007 18:20:xx.xx6, Soulshot delay is 2110
01/28/2007 18:20:xx.xx6, Soulshot delay is 9891
01/28/2007 18:20:xx.xx6, Soulshot delay is 9172
01/28/2007 18:20:xx.xx6, Soulshot delay is 8094
01/28/2007 18:20:xx.xx2, Soulshot delay is 6453
01/28/2007 18:20:xx.xx8, Soulshot delay is 2140
01/28/2007 18:20:xx.xx8, Soulshot delay is 2078
01/28/2007 18:20:xx.xx1, Can't connect to comm server
01/28/2007 18:20:xx.xx1, DBSocket Close 630e8(7368ad74). GetLastError(64)
01/28/2007 18:20:xx.xx2, DBSocket Close 630f0(7368ae54). GetLastError(64)
cached log
Code:
01/28/2007 18:18:xx.xx1, sql execution time [6329]ms, sql[EXEC lin_LoadItems 42569, 0]
01/28/2007 18:19:xx.xx8, Item delete Error, id[6524419]
01/28/2007 18:19:xx.xx8, [.\WareHouse.cpp][4195] item delete fail[6524419][5592][46725]
01/28/2007 18:19:xx.xx3, [.\User.cpp][4150] Cannot find item. [5588]
01/28/2007 18:20:xx.xx5, sql execution time [16391]ms, sql[EXEC lin_UpdateUserItem 388, 7264, 2414, 0, 0, 0, 0, 0, 0, 5283733]
01/28/2007 18:20:xx.xx0, Error sql: EXEC lin_CheckReserved N'NeBuNu',N'criisty',22367 (0)
01/28/2007 18:20:xx.xx0, Error 01000:[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionWrite (send()).
01/28/2007 18:20:xx.xx6, [.\User.cpp][4150] Cannot find item. [5588]
01/28/2007 18:20:xx.xx9, Error sql: EXEC lin_AmountChange 47453, 6515667, -3, 1 (0)
01/28/2007 18:20:xx.xx9, Error 08S01:[Microsoft][ODBC SQL Server Driver]Communication link failure
01/28/2007 18:20:xx.xx1, Error sql: EXEC lin_AmountChange 47789, 6426012, -1, 1 (0)
01/28/2007 18:20:xx.xx1, Error 01000:[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionWrite (send()).
01/28/2007 18:20:xx.xx1, [.\WareHouse.cpp][4175]Useitem::exec fail, [6426012][2][1][47789][1074807981][1209022967]
01/28/2007 18:20:xx.xx7, Error sql: EXEC lin_GetUnreadMailCount 45304  (0)
01/28/2007 18:20:xx.xx7, Error 08S01:[Microsoft][ODBC SQL Server Driver]Communication link failure

Exception occured. Flush Flush!!!
01/28/2007 18:24:xx.xx5, Can't connect to log server
hhk31257 is offline  
Old 29.01.2007, 20:46   #7
hhk31257
Архивный участник
 
Join Date: May 2006
Posts: 166
Default

anyone have an idea?
hhk31257 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 16:59.