SA-MP Forums Archive
VPS issue? - 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: VPS issue? (/showthread.php?tid=561623)



VPS issue? - marshallbrown - 04.02.2015

So, I am currently running ONE Teamspeak 3 server and a SAMP server on my VPS.
In Putty, When I excute the command "htop"
I see this; So, Basically - There are many other TS3 server running?






Re: VPS issue? - nickdodd25 - 04.02.2015

Htop shows multiple threads that the process uses. Just to make sure you can also use the 'top' command or 'ps aux' command (without ' ') to confirm that as they should only show one.

Also i would highly recommend not running teamspeak and samp under the root user.


Re: VPS issue? - Jake187 - 04.02.2015

Didn't TeamSpeak's warning saying it doesn't recommend running it under root when you start it up tell you to not run it under root?

Anyways your question was answered and is correct that's the threads, use top to see how many are running.


Re: VPS issue? - LinuxViper - 04.02.2015

Try to use only
Код:
# top
and tell us what you get


Re: VPS issue? - marshallbrown - 04.02.2015

Quote:
Originally Posted by LinuxViper
Посмотреть сообщение
Try to use only
Код:
# top
and tell us what you get
Quote:
Originally Posted by Jake187
Посмотреть сообщение
Didn't TeamSpeak's warning saying it doesn't recommend running it under root when you start it up tell you to not run it under root?

Anyways your question was answered and is correct that's the threads, use top to see how many are running.
Quote:
Originally Posted by nickdodd25
Посмотреть сообщение
Htop shows multiple threads that the process uses. Just to make sure you can also use the 'top' command or 'ps aux' command (without ' ') to confirm that as they should only show one.

Also i would highly recommend not running teamspeak and samp under the root user.
Works fine with only "top" - Thanks alot - I am running only one TS3 and SAMP. I'll take in your advice and change the TS3 directory. +repped all! Thank you


Re: VPS issue? - Sithis - 04.02.2015

Do not just change the TS3 directory, you should not, under ANY circumstance, run it as root, unless you absolutely need it to.


Re: VPS issue? - Jake187 - 05.02.2015

Quote:
Originally Posted by marshallbrown
Посмотреть сообщение
Works fine with only "top" - Thanks alot - I am running only one TS3 and SAMP. I'll take in your advice and change the TS3 directory. +repped all! Thank you
Please PLEASE do not run it as root, changing the directory doesn't solve anything. All you have to do is the following

useradd ts3server
passwd ts3server
cd /home/ts3server/
mv whereeverurtsisat /home/ts3server/
su ts3server
and start the server.

Doing those simple steps make your TeamSpeak not be a threat to your security.