GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   VPS memory usage (https://gfy.com/showthread.php?t=1074493)

David Petters 07-13-2012 09:59 AM

VPS memory usage
 
Is it normal for a VPS to consume 667 RAM when there are 0 visitors and no scripts are running?

The hosting company insists that the os, mysql and cPanel consume all that RAM.

I've worked with servers before and never had this problem.

leg4 07-13-2012 10:02 AM

I don't think so...

What is your overall php memory set as on the server?

David Petters 07-13-2012 10:19 AM

Quote:

Originally Posted by leg4 (Post 19057447)
I don't think so...

What is your overall php memory set as on the server?

It was 768 and after I saw they just don't understand I agree to change it to 1024 because my website was down and their reason was that I used all memory and it returns err 500

leg4 07-13-2012 10:25 AM

Not your actual memory usage but php memory... Do you have WHM on the server?

awwhoez 07-13-2012 10:31 AM

i had the same issue with a brand new VPS server i brought a while back got a refund and brought a dedicated server

David Petters 07-13-2012 10:35 AM

Quote:

Originally Posted by leg4 (Post 19057496)
Not your actual memory usage but php memory... Do you have WHM on the server?

Yes, but I don't have where to see php memory or I can't find it

BradBreakfast 07-13-2012 11:23 AM

Personally I wouldn't ever buy a VPS for shared hosting with cPanel with under 2 gigs and I wouldn't get a VPS for nginx single site hosting with under a gig of RAM.

Denny 07-13-2012 12:50 PM

Get a real host.

raymor 07-13-2012 03:25 PM

That's a bit high with no traffic. Run telinit 3 and then check memory usage with "free -m", looking at the "+/-" row. They could have had a full GUI running.

Also see Fris's Apache thread today. Linux and Apache can run in 16MB without PHP. With PHP, it depends on which extensions you have enabled.

kazymjir 07-13-2012 05:09 PM

Log into shell and check running processes.

facialfreak 07-13-2012 08:39 PM

Posts like "I would never buy a VPS .." or "get a real host" are totally unwarranted.
There are several reasons that could cause your server to use memory even when you are not doing anything (or anything that you know of ...), and 99% of them have nothing to do with it being a VPS, or a fault of the host.

I have clients running 300+ wordpress installs - with decent traffic - on a VPS with 512mb of RAM. With the proper caching and http compression engine, a VPS will handle a lot, and has notable benefits for redundancy and I/O.


Quote:

Originally Posted by kazymjir (Post 19058092)
Log into shell and check running processes.

What HE ^^ said :thumbsup

1) Run TOP and see what processes (PIDs) are using your resources ...

2) Check your mail logs and see if perhaps malware (on your home PC) is using the server's sendmail to bulk mail spam (you will also see many dovecot PIDs in 'top' if your server is being used as a mailing slave)
**If your issues seem to be mail-related, run your favorite malware removal software (AVAST boot time/root kit scan is one of the better ones), change all your logins/passwords on the server, and REBOOT the server!

3) Make sure all available server updates and patches are installed, as these often address exploits that will use your resources.

David Petters 07-24-2012 10:20 AM

I moved to hostgator and the same scripts with the whole system uses ~200 RAM compared to 600 just the system.

My advice is to stay away from Certified Hosting


All times are GMT -7. The time now is 09:23 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123