open.mp forum
[Server] Server is closing - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Support (https://forum.open.mp/forumdisplay.php?fid=12)
--- Thread: [Server] Server is closing (/showthread.php?tid=2063)



Server is closing - robertjwx - 2021-05-29

I was using that samp server hosts (heavyhost) with 50 slots and my server never closes.

This week i paid a VPS put it online with 300 slots and now my server closes randomlly, the host still normal, only the samp03svr closes

What it can be?



The logs before crashes don't looks tell a lot:

Code:
[21:09:33] [debug] #0 001c02b8 in public AtualizarRoubos () in SP.amx



[21:09:39] Kicking ***.***.**.** because they didn't logon to the game.



[21:10:05] [debug] Long callback execution detected (hang or performance issue)



[21:10:05] [debug] AMX backtrace:



[21:10:05] [debug] #0 001c15e0 in public DesaparecerWeaponDrop () in SP.amx



[21:17:37] [debug] Long callback execution detected (hang or performance issue)



[21:17:37] [debug] AMX backtrace:



[21:17:37] [debug] #0 001c0354 in public AtualizarRoubos () in SP.amx



But there isn't much about this funciton:

Code:
#define MAX_BIZZ 5000



enum bizinfos



{



? ? bizzID,



? ? bizzName[30],



? ? bizzType,



? ? Float:bizzX,



? ? Float:bizzY,



? ? Float:bizzZ,



? ? bizzOWNER,



? ? bizzBank,



? ? bizzProducts



}



new BizzInfo[MAX_BIZZ][bizinfos];











public AtualizarRoubos() {



? ? // atualizar roubos



? ? for(new bizzid = 1; bizzid < sizeof(BizzInfo); bizzid) {



? ? ? ? BizzInfo[bizzid][rexaustedrobbery] -= 5;



? ? ? ? if(BizzInfo[bizzid][rexaustedrobbery] < 0) BizzInfo[bizzid][rexaustedrobbery] = 0;



? ? }



}





Something like this could close my server?



What should i do?


RE: Server is closing - Snow - 2021-05-30

That is just long callback execution. Use crashdetect plugin and then check the logs after it crashes.


RE: Server is closing - robertjwx - 2021-06-04

(2021-05-30, 07:37 PM)Snow Wrote: That is just long callback execution. Use crashdetect plugin and then check the logs after it crashes.



I'm using

Code:
#include <crashdetect>



plugins:

Code:
plugins crashdetect.so mysql.so sscanf.so streamer.so pawnraknet.so





right?

i'm already using this


RE: Server is closing - Radical - 2021-06-04

Try?CrashDetect v4.19.4


RE: Server is closing - robertjwx - 2021-06-06

(2021-06-04, 10:19 AM)Radical Wrote: Try?CrashDetect v4.19.4



You mean to downgrade from 4.20?

Why?


RE: Server is closing - Schoenherr - 2021-06-06

Did you forward AtualizarRoubos? Also, where is "rexaustedrobbery" coming from? It's not in your bizinfos enum.