SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 13/01/2018, 08:18 PM   #11
Sew_Sumi
Godfather
 
Join Date: Jun 2008
Location: Azerbaijan
Posts: 6,279
Reputation: 517
Default Re: Random mass timeouts after grading Debian.

Quote:
Originally Posted by FufLa View Post
There's no solution to the issue in there though. Merely the fact that Debian 8 does fix it. Debian 9 seems to be on the borked side again.
Bullshit... There's many avenues for investigation in there.
Sew_Sumi is offline   Reply With Quote
Old 16/01/2018, 05:22 PM   #12
ThatOneDude
Little Clucker
 
Join Date: Apr 2010
Posts: 11
Reputation: 0
Default Re: Random mass timeouts after grading Debian.

I agree. Not sure where to start though. Can't seem to discern a trigger. Nothing from the kernel in dmesg, no uptick in traffic or SQL queries, no change in network availability or stability.

(Unrelated: I'm really cringing at the broken title of this thread.)
ThatOneDude is offline   Reply With Quote
Old 18/02/2018, 12:33 AM   #13
ThatOneDude
Little Clucker
 
Join Date: Apr 2010
Posts: 11
Reputation: 0
Default Re: Random mass timeouts after grading Debian.

I found what so far appears to be a solution (other than reinstalling Debian 8 ). This leaves the rest of your system intact.

Before using these instructions, you should be familiar with running a samp server on Linux as well as have a basic understanding of Linux and Debian.

Install debootstrap using your package manager (apt-get or aptitude for Debian).
Create a new directory with your choice of name. (I went with "/jessie-chroot" in the root filesystem)
Use debootstrap to install your choice of distribution (I went with jessie, which is the code name for Debian 8 )
As root or using sudo, use chroot to enter the new Debian environment you have installed.
Install libstdc++ 6 within your environment.
Make a new user to run your samp03server.
Install and run the samp03server. (I put mine in my new samp user's home directory)

This gives you the benefits of running your samp server from Debian 8, while allowing you the security of keeping an up to date Debian 9 as your primary system. (And for those of you who have already upgraded and are having timeouts, this will save you having to wipe and start over.)

These instructions should also work for Ubuntu, but I have not tested them and cannot confirm.
ThatOneDude is offline   Reply With Quote
Old 22/05/2018, 09:25 AM   #14
Ivory
Big Clucker
 
Ivory's Avatar
 
Join Date: Jul 2012
Posts: 177
Reputation: 13
Default Re: Random mass timeouts after grading Debian.

I have a same problem when i upgrade to debian 9. I think, the best solution is to externalise service in a docker container from debian 8 image. This is a best practice if you want to stay updated for all services, for example you can create a docker container from php7.2-apache image for you website and create another container for database and another for your samp server. This makes it possible to configure each VM (docker container) with the perfect configuration for each service. Once the image (Dockerfile) created, you have only bound all the containers together. With this solution you can have last technologies php, mariadb on your website container and your samp server running without problems. It's not difficult to understand docker mechanic but just it's difficult to understand how create, build, start docker image and link container with the docker-compose but this is a best !!!!

Thank you for you post
__________________
Partage :

[Filterscript] Éditeur d'accessoire
[Filterscript] Multi éditeur
[Include] Gestion de preview model
__________________________________________________


Ivory is offline   Reply With Quote
Old 22/05/2018, 09:29 AM   #15
Ivory
Big Clucker
 
Ivory's Avatar
 
Join Date: Jul 2012
Posts: 177
Reputation: 13
Default Re: Random mass timeouts after grading Debian.

Look this for example :

https://github.com/Pyrax/samp-docker

This a Dockerfile for samp, it's really interesting and complete solution to this problem
__________________
Partage :

[Filterscript] Éditeur d'accessoire
[Filterscript] Multi éditeur
[Include] Gestion de preview model
__________________________________________________


Ivory is offline   Reply With Quote
Old 22/05/2018, 11:10 AM   #16
Sew_Sumi
Godfather
 
Join Date: Jun 2008
Location: Azerbaijan
Posts: 6,279
Reputation: 517
Default Re: Random mass timeouts after grading Debian.

Has anyone even thought to check with Debian to see if there's an issue that they've actually found at some stage?
Sew_Sumi is offline   Reply With Quote
Old 22/05/2018, 02:42 PM   #17
MustangV10
Huge Clucker
 
Join Date: Dec 2011
Posts: 254
Reputation: 11
Default Re: Random mass timeouts after grading Debian.

I've noticed this too on Debian 9, Ubuntu 18.04 and even CentOS 7. Running CentOS 6 (EOL 2020) and no problems whatsoever. Each time, stock configs with the exception of MariaDB over MySQL.
MustangV10 is offline   Reply With Quote
Old 22/05/2018, 02:48 PM   #18
Calgon
Godfather
 
Calgon's Avatar
 
Join Date: Jan 2009
Posts: 6,489
Reputation: 1126
Default Re: Random mass timeouts after grading Debian.

Pretty sure a fairly big (once upon a time) roleplay server had this issue on Debian, moved to CentOS and problems were solved.

Quote:
Originally Posted by MustangV10 View Post
I've noticed this too on Debian 9, Ubuntu 18.04 and even CentOS 7. Running CentOS 6 (EOL 2020) and no problems whatsoever. Each time, stock configs with the exception of MariaDB over MySQL.
Not sure if they use 6 or 7 but there's no harm in just using 6, it's stable and works fine.
Calgon is offline   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
Timeouts & Lag - GetServerTickRate FunnyBear Scripting Help 4 08/01/2017 12:28 AM
Server timeouts? SupremeJensen Server Support 0 05/01/2016 10:25 AM
Timeouts Blacklite Server Support 1 17/06/2011 02:28 AM
Timeouts? Meta Client Support 1 03/01/2011 11:57 AM
Help? Timeouts? JonathanRulez09 Server Support 1 01/08/2009 05:21 PM


All times are GMT. The time now is 01:53 PM.


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