Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP Support [Server] Server is closing

 
  • 0 Vote(s) - 0 Average
Server Server is closing
robertjwx
Offline

Burgershot Member
Posts: 5
Threads: 2
Joined: May 2021
Reputation: 0
#1
2021-05-29, 03:12 PM
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?
Snow
Offline

Burgershot Member
Posts: 48
Threads: 5
Joined: Oct 2020
Reputation: 2
Location: Pakistan
#2
2021-05-30, 07:37 PM
That is just long callback execution. Use crashdetect plugin and then check the logs after it crashes.
[Image: QIDa2vB.png]
robertjwx
Offline

Burgershot Member
Posts: 5
Threads: 2
Joined: May 2021
Reputation: 0
#3
2021-06-04, 08:39 AM
(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
Radical
Offline

Burgershot Member
Posts: 148
Threads: 21
Joined: Dec 2020
Reputation: 16
#4
2021-06-04, 10:19 AM
Try CrashDetect v4.19.4
robertjwx
Offline

Burgershot Member
Posts: 5
Threads: 2
Joined: May 2021
Reputation: 0
#5
2021-06-06, 08:19 AM
(2021-06-04, 10:19 AM)Radical Wrote: Try CrashDetect v4.19.4

You mean to downgrade from 4.20?
Why?
Schoenherr
Offline

Burgershot Member
Posts: 8
Threads: 1
Joined: May 2021
Reputation: 0
#6
2021-06-06, 04:45 PM (This post was last modified: 2021-06-06, 04:50 PM by Schoenherr.)
Did you forward AtualizarRoubos? Also, where is "rexaustedrobbery" coming from? It's not in your bizinfos enum.
lost venturas | coming soon
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode