• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Server] Server is closing
#1
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?
  Reply
#2
That is just long callback execution. Use crashdetect plugin and then check the logs after it crashes.
[Image: QIDa2vB.png]

  Reply
#3
(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
  Reply
#4
Try?CrashDetect v4.19.4
  Reply
#5
(2021-06-04, 10:19 AM)Radical Wrote: Try?CrashDetect v4.19.4



You mean to downgrade from 4.20?

Why?
  Reply
#6
Did you forward AtualizarRoubos? Also, where is "rexaustedrobbery" coming from? It's not in your bizinfos enum.
lost venturas | coming soon
  Reply


Forum Jump: