I have installed Debian 6 on a computer as a server machine. It does not have any graphical environment installed, only ssh and LAMP.
The server works fine and responds for a while, but after about 30 minutes the server (Apache, SSH) stops responding.
However the issue is solved when I press any button on the computer (keyboard connected to the server machine). Then the server responds again for a while.
I’d like the server machine to stay available always, since obviously server machine shouldn’t go offline for a while. Does anyone know how I could stop the computer from falling to this “sleep” mode?