I Use Autorestart script in start.sh with screen.That makes server up when my server goes down.It worked good for couple weeks.but yesterday i entered with putty to my server and i saw that server didnt goed up,it stuck at loading the libraires,but after few seconds it started to load the server,But The Server was off for 11 hours.(I use autoshutdown plugin,it stops server each 4 hours).it Always Loads The Server when i type: screen -r i think the problem is about screen detaching or attaching or anohter.
You Know.It Sometimes Don't Stuck,But Somedays it stuck,i dont know if it stuck or not until i type screen -r and look if stucked or not.But i remember it sometimes shows (Attached) and sometimes (Detached).What it should be?Or i am doing something wrong with Screen commands like C+A,D and screen -x (PID) or screen -r?Which i should use?