SA-MP Forums Archive
ssh problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: ssh problem (/showthread.php?tid=284764)



ssh problem - _ReloadeD_ - 20.09.2011

when I run my server, after some minuts the server don't move everyone in the server don't responde and the server still run.....
I tried switch modes but it's reapet.
SSH:
Код:
samp2 ~/samp03 $ ./samp03svr &
[1] 24388
samp2 ~/samp03 $
Started server on 188.64.97.218:7777, with maxplayers: 500 lanmode is OFF.


samp2 ~/samp03 $ ps x
  PID TTY      STAT   TIME COMMAND
24081 ?        S      0:00 sshd: samp2@pts/8
24082 pts/8    Ss     0:00 -bash
24388 pts/8    Sl     0:01 ./samp03svr
24400 pts/8    R+     0:00 ps x



Re: ssh problem - woot - 20.09.2011

It's probably your script. Try looking at "top" when your server is frozen. It is very likely that it has 100% CPU usage at the point its frozen.


Re: ssh problem - Ehab1911 - 20.09.2011

Dude, use less processor-taking functions . For commands use ******'s or ZCMD.

Clean your script, justify it, make sure you don't have disappeared errors( If the Gamemode compiles without errors doesn't mean it's without errors ).

Use less objects, use the objects in a Filterscript file. Make sure you run the samp03svr as an adminstrator .

Good luck


Re: ssh problem - skullmuncher1337 - 20.09.2011

Quote:
Originally Posted by Ehab1911
Посмотреть сообщение
use the objects in a Filterscript file.
How does that work? I always thought that Filterscripts take up more processing power to run.


Re: ssh problem - _ReloadeD_ - 20.09.2011

I changed the gamemode to lvdm and the same thing happen.....
Код:
samp2 ~ $ cd samp03
samp2 ~/samp03 $ ./samp03svr &
[1] 29333
samp2 ~/samp03 $
Started server on 188.64.97.218:7777, with maxplayers: 500 lanmode is OFF.


samp2 ~/samp03 $



Re: ssh problem - JiHost - 20.09.2011

Tried using nohup?


Re: ssh problem - _ReloadeD_ - 20.09.2011

Quote:
Originally Posted by JiHost
Посмотреть сообщение
Tried using nohup?
what is that?


Re: ssh problem - _ReloadeD_ - 20.09.2011

my Client said me that the CPU use 99%