English Server's auto-restart

28 replies
Goto Page
To the start Previous 1 2 Next To the start
07.04.13 01:58:36 am
Up
oxytamine
User
Offline Off
user Cirium has written:
That's inaccurate.

So execute it on any web-site with more than 300 requests/second (I doubt you have any anyway) and then execute my code. You'll spot the difference right away. In matters of speed, grep is way better than any of his *grep brothers.
user Cirium has written:
Judging by the fact that I am using it and it works.

On your lame 4 GB RAM dual-core server where you host CS2D servers? Of course it works, no shit Sherlock.
07.04.13 02:01:52 am
Up
Cirium
User
Offline Off
user oxytamine has written:
On your lame 4 GB RAM dual-core server where you host CS2D servers? Of course it works, no shit Sherlock.


First of all its a quad core, but what can I say? Things sometimes work better when you don't use shared container based pieces of crap.
07.04.13 02:08:48 am
Up
oxytamine
User
Offline Off
user Cirium has written:
First of all its a quad core, but what can I say? Things sometimes work better when you don't use shared container based pieces of crap.

Exactly! At least so. At least you understand that virtual server sucks, yea! Finally, something good I can hear.

But what can I say? Things sometimes work better when you don't use Apache & CentOS.
07.04.13 02:15:25 am
Up
Cirium
User
Offline Off
user oxytamine has written:
Exactly! At least so. At least you understand that virtual server sucks, yea! Finally, something good I can hear.

But what can I say? Things sometimes work better when you don't use Apache & CentOS.


Valid point. Its not perfect.

Considering Apache is process based and Nginx is event based I would consider that to be the right choice.

Both operating systems have their ups and downs.
07.04.13 02:21:03 am
Up
oxytamine
User
Offline Off
user Cirium has written:
Valid point. Its not perfect.

Considering Apache is process based and Nginx is event based I would consider that to be the right choice.

Both operating systems have their ups and downs.

Apache is shithole. It's like Windows compared to Linux (in matters of speed & power). Installing nginx with one of PHP handlers may be a pain in the ass - but the first time I switched from Apache to nginx, RAM usage has dropped by 50%, seriously. Since then I only use nginx. Apache is hard to configure to be ran on high load server with more than 500 requests/second.

Debian uses DEB packages, nothing compared to RPM. It has better dependency management and has been geared towards automatic updating over the Internet. Also Debian needs way less RAM than CentOS does. And many other things why Debian is just better. CentOS is considered to be more "enterprise friendly" - you only really need it if you need RPM packages or in need of "supported" Linux (plans for Red Hat Linux, etc.)
07.04.13 03:09:43 pm
Up
gotya2
GAME BANNED
Offline Off
I used this python script to protect my server from crashes and to make sure it's online.

http://pastie.org/2607947#12

Runs with python 2.7, which comes standard with Centos 5.X or 6.x and uses the 'screen' binary.
07.04.13 03:15:52 pm
Up
Gajos
BANNED
Offline Off
if the time = 0 then reload server?
Banned for Hacking/Cheating in CS2D /DC
07.04.13 03:23:40 pm
Up
oxytamine
User
Offline Off
user Gajos has written:
if the time = 0 then reload server?

It has timeout dude...
07.04.13 04:26:14 pm
Up
RoDioN1322
BANNED
Offline Off
@gotya1
Thank you, it's really works
To the start Previous 1 2 Next To the start