Linux automatically going into sleep mode (Or how to call it) when its not being touched.
#1

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...
Reply
#2

Screen. look it up, and I hope you don't just leave SSH open all the time..
Reply
#3

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...
Reply
#4

Use
Код:
nohup ./samp03svr &
OR
Код:
./samp03svr &
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.
Reply
#5

Use screen ./samp03svr
Reply
#6

Im already using that. The centos itself goes into some sort of standby mode. Even my sql, web and everything else freezes.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)