Web Hosting Forum | Lunarpages
News: July 14, 2008 - New Contest! - Submit Your WordPress Theme Designs, Win BIG!
September 1, 2008 - Submit Your Web Site for the Sept 2008 Site of the Month!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 08, 2008, 12:18:48 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: VPS Memory Problem  (Read 513 times)
absynthemuse
Trekkie
**
Offline Offline

Posts: 15


WWW
« on: May 14, 2007, 05:25:20 AM »

Help!

So, I was out of the country for two weeks and was able to check on my website only periodically. I come back, and my website is crashing constantly, and memory used is 99%. I have no idea how it got that high, and I can't figure out how to figure out what has been sucking up all that memory. Nothing big has been added to the site and no changes have been made since I'm gone.

I'm a VPS newbie, so I'm not sure how confident I am around the VPS panel, so I wanted to ask here: How do I figure out what is sucking up all the memory and fix the problem?

Thanks!

Lis
Logged
JamesG
Lager Ship
Berserker Poster
*****
Offline Offline

Posts: 12026


If In Doubt, Cluster!


WWW
« Reply #1 on: May 14, 2007, 05:44:36 AM »

i haven't used a VPS server as yet, i would advise dropping an email to support@lunarpages.com however as they may be able to provide some helpful information.
Logged

Joshua Delsman
Newbie
*
Offline Offline

Posts: 5


« Reply #2 on: May 14, 2007, 07:07:14 AM »

Hello,

Can you provide us with some server statistics, such as how many visitors to your website in one hour, one day? Also, is your website static, or does it use a scripting language such as PHP/MySQL?

I ask this because VPS sometimes have trouble serving websites with more than 150+ concurrent connections. This only really becomes a problem if you have a huge site with a lot of traffic and dynamic processing.

If you're still confused, or cannot find the web statistics, contact support@lunarpages.com and we'll get you situated.

Thank you!
Logged

Lunarpages Systems Administrator

For more support:
http://dedicated@lunarpages.com/
http://desk.lunarpages.com/
vivalite
Intergalactic Cowboy
*****
Offline Offline

Posts: 52


« Reply #3 on: May 14, 2007, 11:17:05 AM »

I wonder that was some one attacking your site? Try to put a limit in your Apache might solve the problem.
This is how I setup my Apache MPM specific:
Code:
<IfModule prefork.c>
ServerLimit  65
StartServers  5
MinSpareServers  5
MaxSpareServers  10
MaxClients  65
MaxRequestsPerChild 10000
</IfModule>

This setting gives me around 75 concurrent connections and it should be reasonable for most sites.
« Last Edit: May 14, 2007, 11:58:07 AM by vivalite » Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM