Single Core VPS

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
User avatar
Edge100x
Founder
Founder
Posts: 12948
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Single Core VPS

Post by Edge100x »

In the tutorial, the "Control-X" bit means that you need to hold down the control key, then hit "X". This is the command to exit the text editor I have you use (nano).
rustydusty1717
This is my homepage
This is my homepage
Posts: 642
Joined: Sun Sep 20, 2009 6:15 pm

Re: Single Core VPS

Post by rustydusty1717 »

Perfect, got it! How much memory does Gnome use exactly? Also, is there a way to shut off VNC as well? I like to do everything from SSH and will never use VNC anyways. More memory, the better. With just one CS server running, I only have 50mb of ram left :(
Image
User avatar
Edge100x
Founder
Founder
Posts: 12948
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Single Core VPS

Post by Edge100x »

rustydusty1717 wrote:Perfect, got it! How much memory does Gnome use exactly?
I'm not sure, but if you turn it off and reboot, you should have a good idea.
Also, is there a way to shut off VNC as well? I like to do everything from SSH and will never use VNC anyways. More memory, the better.
Our VNC is run outside of the VDS, so it won't affect your server's performance, and it does not count toward your memory usage. We don't allow this VNC access to be disabled.
With just one CS server running, I only have 50mb of ram left :(
Are you sure that most of your RAM isn't just being used for a disk cache? By default, Linux tries to use any free RAM for that purpose, and then gives it to applications whenever needed.

To find your actual free RAM, use the free command:

Code: Select all

example # free -m
             total       used       free     shared    buffers     cached
Mem:          3294       2978        315          0        126       2278
-/+ buffers/cache:        573       2721
Swap:         1913        169       1744
In this example, the "2721" number is what you would be looking for and represents how much memory is either free or being used for the disk cache; it's all immediately available to the system. "315" is the amount here that's not being used at all (so it's essentially wasted).
rustydusty1717
This is my homepage
This is my homepage
Posts: 642
Joined: Sun Sep 20, 2009 6:15 pm

Re: Single Core VPS

Post by rustydusty1717 »

total used free shared buffers cached
Mem: 1002 603 399 0 55 349
-/+ buffers/cache: 198 804
Swap: 1023 0 1023


Essentially, how much ram do I have left over then? This is with my two CS server's running.
Image
User avatar
Edge100x
Founder
Founder
Posts: 12948
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Single Core VPS

Post by Edge100x »

It's a bit harder to read without the formatting, but it looks like you have 804 MB available.

(My original post above was incorrect -- I accidentally put the wrong number for my example. I've fixed this now.)
rustydusty1717
This is my homepage
This is my homepage
Posts: 642
Joined: Sun Sep 20, 2009 6:15 pm

Re: Single Core VPS

Post by rustydusty1717 »

Okay, perfect. Just wanted to make sure I had plenty of ram. Better safe than sorry is my motive :)

For future refrence for other NFO clients, you can get 950-1000 FPS on HL1 servers perfectly fine on CentOS 5.4. I haven't tried higher, but 1000 FPS seems to be perfect for the HL1 engine anyways. The settings I use are -pingboost 2 in the command line and +sys_ticrate 1500 in my server.cfg
Image
User avatar
Edge100x
Founder
Founder
Posts: 12948
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Single Core VPS

Post by Edge100x »

Awesome, I'm glad to hear it works out of the box :)
Post Reply