Linux automatically going into sleep mode (Or how to call it) when its not being touched. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Linux automatically going into sleep mode (Or how to call it) when its not being touched. (
/showthread.php?tid=492634)
Linux automatically going into sleep mode (Or how to call it) when its not being touched. -
Unri - 04.02.2014
Hello. I have a simple problem, for which i cant find a solution on my own. My VPS - CentOs is going into sleep mode or something like that, it just freezes and i need to touch the console for it to start workign again.
For example when i go to bed and im not doing anything with my server anymore, my server and web page stops working, obviously all clients get timed out and i have to touch the console. After touching the console, everything immedietly starts working again. Server doesnt even shut down, it just freezes.
Sorry, I dont know how to explain it better with my bad english...
Re: Linux automatically going into sleep mode (Or how to call it) when its not being touched. -
Hoborific - 04.02.2014
Screen. look it up, and I hope you don't just leave SSH open all the time..
Re: Linux automatically going into sleep mode (Or how to call it) when its not being touched. -
Unri - 05.02.2014
Quote:
Originally Posted by Hoborific
Screen. look it up, and I hope you don't just leave SSH open all the time..
|
Nope, its something else...
Re: Linux automatically going into sleep mode (Or how to call it) when its not being touched. -
Hostskool - 05.02.2014
Use
OR
To run the sa-mp server in background without having to keep the console open 24/7. You can simply close it after using this command.
Re: Linux automatically going into sleep mode (Or how to call it) when its not being touched. -
mahardika - 05.02.2014
Use screen ./samp03svr
Re: Linux automatically going into sleep mode (Or how to call it) when its not being touched. -
Unri - 05.02.2014
Im already using that. The centos itself goes into some sort of standby mode. Even my sql, web and everything else freezes.