SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 08/08/2019, 01:11 AM   #1
Ragnar
Little Clucker
 
Ragnar's Avatar
 
Join Date: Nov 2015
Posts: 2
Reputation: 0
Question Server hangs/freezes

Hello,

I've encountered a problem, server starts to hang/freeze with about 15-20 players online. I'm using crashdetect and -d3 argument, but i get no errors in the server log to figure out the cause.

At certain point just this happens:
Code:
[connection] **.***.***.**:***** requests connection cookie.
Kicking **.***.***.** because they didn't logon to the game.
[connection] **.***.***.**:***** requests connection cookie.
Kicking **.***.***.** because they didn't logon to the game.
[connection] **.***.***.**:*****requests connection cookie.
Kicking **.***.***.** because they didn't logon to the game.
(I replaced IP's with *)

Im using all the latest plugins and includes, everything is running perfectly till the server "freezes".

List of plugins:
  • crashdetect.so
  • mysql.so
  • sscanf.so
  • streamer.so

List of Includes:
Code:
#include <a_samp>
#include <fixes> 
#include <sscanf2>
#include <foreach>
#include <OPSP>
#include <streamer>
#include <zcmd>
#include <a_mysql>
#include <cuffs>
#include <gl_common>
#include <gpcwv>
#include <strlib>
#include <alltextures>
#include <my_natives>
#include <zones>
#include <md5>
#include <YSI\y_timers>
#include <YSI\y_ini>
#include <YSI\y_va>
Server is running on "Ubuntu 16.04.6 LTS", i have all the 32bit lib's... And im pretty sure the server is not under attack... When we've been online at night with 3-4 people, everything runs fine and the server does not hang.

Server startup:
Code:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[07/08][19:23:28] 
[07/08][19:23:28] Server Plugins
[07/08][19:23:28] --------------
[07/08][19:23:28]  Loading plugin: crashdetect.so
[07/08][19:23:28]   CrashDetect plugin 4.19.4
[07/08][19:23:28]   Loaded.
[07/08][19:23:28]  Loading plugin: mysql.so
[07/08][19:23:28]  >> plugin.mysql: R41-4 successfully loaded.
[07/08][19:23:28]   Loaded.
[07/08][19:23:28]  Loading plugin: sscanf.so
[07/08][19:23:28] 

[07/08][19:23:28]  ===============================

[07/08][19:23:28]       sscanf plugin loaded.     

[07/08][19:23:28]          Version:  2.8.3        

[07/08][19:23:28]   (c) 2018 Alex "******" Cole  

[07/08][19:23:28]  ===============================

[07/08][19:23:28]   Loaded.
[07/08][19:23:28]  Loading plugin: streamer.so
[07/08][19:23:28] 

*** Streamer Plugin v2.9.4 by Incognito loaded ***

[07/08][19:23:28]   Loaded.
[07/08][19:23:28]  Loaded 4 plugins.

[07/08][19:23:28] 
[07/08][19:23:28] Ban list
[07/08][19:23:28] --------
[07/08][19:23:28]  Loaded: samp.ban
[07/08][19:23:28] 
[07/08][19:23:28] 
[07/08][19:23:28] Filterscripts
[07/08][19:23:28] ---------------
[07/08][19:23:28]   Loading filterscript 'SnJ-GoD_maps.amx'...
[07/08][19:23:28]   Loading filterscript 'Basketball-EditedForSnJ.amx'...
[07/08][19:23:28]   Loaded 2 filterscripts.

[07/08][19:23:28]   Filterscript '../scriptfiles/callbackfix.amx' loaded.
[07/08][19:23:28]  
[07/08][19:23:28]  
[07/08][19:23:28]  
[07/08][19:23:28]  ======================================= 
[07/08][19:23:28]  |                                     | 
[07/08][19:23:28]  |        YSI version 4.00.0001        | 
[07/08][19:23:28]  |        By Alex "******" Cole        | 
[07/08][19:23:28]  |                                     | 
[07/08][19:23:28]  ======================================= 
[07/08][19:23:28]  
[07/08][19:23:29] Malloc_OnScriptInit: AMX_HEADER_HEA = 42510980, YSI_gMallocMemory = 20365032, YSI_g_sHeapStart = 5536487
[07/08][19:23:29] Malloc_OnScriptInit: YSI_gMallocMemory + 4 * YSI_g_sHeapStart = 42510980
[07/08][19:23:29] LOADED 9065 texture definitions
Ragnar is offline   Reply With Quote
Old 08/08/2019, 10:40 PM   #2
Mugala
High-roller
 
Mugala's Avatar
 
Join Date: Nov 2012
Location: Georgia, Tbilisi
Posts: 1,066
Reputation: 50
Default Re: Server hangs/freezes

This could be caused by many things, as Kalcor said, it usually can be caused by packet loss and network stuffs, probably your host (vps/cpu/net) doesn't meets minimum requirements to run a server.

better read this.
https://forum.sa-mp.com/showpost.php...03&postcount=2
__________________
Coding in 8 languages including Pawn, C#, C++ and SQL.
Available for hiring.

If you have a coding question or need an assistance in a code, just PM me.
If you want me to create something for you, here is a Discord Mugala#5651

Currently helping Community members in a coding.
Mugala is online now   Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Server Freezes / hangs iLearner Scripting Help 35 10/12/2016 05:16 AM
Server hangs for some seconds iLearner Scripting Help 7 29/11/2016 10:52 AM
Server hangs Dan.. Server Support 4 14/01/2013 12:26 PM
mysql_close() hangs the server iTorran Scripting Help 1 19/07/2012 12:42 PM
Server Hangs Ash. Server Support 42 19/11/2011 09:23 AM


All times are GMT. The time now is 10:52 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.