![]() |
|
[Pawn] Problems with servers after updating YSI to latest version - Printable Version +- open.mp forum (https://forum.open.mp) +-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3) +--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10) +--- Thread: [Pawn] Problems with servers after updating YSI to latest version (/showthread.php?tid=2067) |
Problems with servers after updating YSI to latest version - GospodinX - 2021-05-30 Hi guys I have some problems after I'm update my YSI to 5.5.301 (latest version) My server stop to work one time per day Code: [20:02:05] Long callback execution detected (hang or performance issue)
[20:02:05] AMX backtrace:
[20:02:05] #0 0003f478 in Alloc:INI_GetKey (Alloc:cur=97, key[]=@01c274e8 "AUKcij", &Alloc:prev=@02cf1a5c 97) at C:\Users\GX\Desktop\Server\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc:372
[20:02:05] #1 0003f844 in bool:INI_AddToBuffer (INI:file=0, key[]=@01c274e8 "AUKcij", value[]=@00000110 "16550000", semis=0) at C:\Users\GX\Desktop\Server\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc:415
[20:02:05] #2 00043208 in bool:INI_WriteInt (INI:file=0, name[]=@01c274e8 "AUKcij", data=16550000) at C:\Users\GX\Desktop\Server\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc:1269
[20:02:05] #3 00721e78 in SacuvajPodesavanja () at C:\Users\GX\Desktop\Server\gamemodes\be.pwn:65854
[20:02:05] #4 007ab7f4 in Call_Zero () at C:\Users\GX\Desktop\Server\gamemodes\be.pwn:75812
[20:02:05] #5 007ab638 in public MinutTimer () at C:\Users\GX\Desktop\Server\gamemodes\be.pwn:75799My server won't crash but players can't enter until I restart the server. Always when I get problems my crash detect log had something from ysi (long callback detected) and there always was: Alloc:INI_GetKey,bool:INI_AddToBuffer ,INI_HandleEntry etc. I've not had any problems with my server/YSI before updating to the latest version. RE: Problems with servers after updating YSI to latest version - Y_Less - 2021-05-31 The problem is probably `SacuvajPodesavanja `, `Call_Zero` or `MinutTimer` doing a huge amount of work. My guess is they're calling a large number of INI functions, so while the delay appears to be in those functions, that's just because the whole stack is shown - you need to look at the bottom not the top. |