Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
6 registered (driv, Gismo der erste, Harold, Ian, Mark S, PianoWorld), 10 Guests and 19 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 05/15/08
Posts: 1
Top Posters (30 Days)
Ruben Rocha 165
Rick 116
Gizmo 105
Thelockman 61
driv 52
AllenAyres 35
ScriptKeeper 34
Mark S 30
Ian 30
phoebe 25
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
Page 2 of 2 < 1 2
Topic Options
Rate This Topic
#213403 - 05/25/08 09:07 PM Re: Apache Crashing Due to Memory Limit Being Reached On VPS [Re: doug]
doug Offline
member

Registered: 01/24/07
Posts: 121
I guess O actually means "unlimited" so not a problem perhaps.

Top
#213407 - 05/25/08 11:00 PM Re: Apache Crashing Due to Memory Limit Being Reached On VPS [Re: doug]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 11968
Loc: Portland, OR; USA
I was about to post this:
Quote:
The MaxRequestsPerChild directive sets the limit on the number of requests that an individual child server process will handle. After MaxRequestsPerChild requests, the child process will die. If MaxRequestsPerChild is 0, then the process will never expire.


Till I saw your other reply lol...

Not sure how it'll work with 0, I think it'll just keep the apache proces alive all the time vs killing it; so if you spawn too many child processes they'll all remain, which could actually be bad...
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#213412 - 05/26/08 05:21 AM Re: Apache Crashing Due to Memory Limit Being Reached On VPS [Re: doug]
doug Offline
member

Registered: 01/24/07
Posts: 121
Quote:
you probably run under 20 sites on your vps?


Just the one site on this server- the forum. I chose cpanel because I am more familiar with it than I am with others - and it helps with my command-line-avoidance smile

About the MaxRequestsPerChild - from what I was reading last night, putting a limit on the setting only is needed on a few certain servers - Solaris being mentioned if I recall correctly.

Last night I relaized that I could also check the "use persistent connections" box in the forum control panel - which would control the numbers of childs to some degree (if I understand the concept correctly) and aso reduce CPU usage to some degree I believe.

Top
#213413 - 05/26/08 05:56 AM Re: Apache Crashing Due to Memory Limit Being Reached On VPS [Re: doug]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 11968
Loc: Portland, OR; USA
Lol, please do yourself a favor, do not ever click that option (persistent connections) unless you own the server and have several gigs of ram available...
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#213414 - 05/26/08 06:05 AM Re: Apache Crashing Due to Memory Limit Being Reached On VPS [Re: Gizmo]
doug Offline
member

Registered: 01/24/07
Posts: 121
Sounds like you are speaking from experience on that - unchecking the box as I type....

Top
#213434 - 05/26/08 01:22 PM Re: Apache Crashing Due to Memory Limit Being Reached On VPS [Re: doug]
doug Offline
member

Registered: 01/24/07
Posts: 121
So today it was mysql that crashed - not apache. A pattern has developed - the server's bandwidth statistics script runs every 6 hours and drives my server load up from the .5 to .9 range to the 2.4 or higher "red" range - which this afternoon resulted in the database crash.

I can't seem to find a way to change when the bandwidth stats are run - or to turn them off. I have contacted support - they must be getting tired of me by now smile

Top
#213447 - 05/26/08 05:41 PM Re: Apache Crashing Due to Memory Limit Being Reached On VPS [Re: doug]
doug Offline
member

Registered: 01/24/07
Posts: 121
Quote:
I just moved to a new VPS which on paper is better than my old VPS - faster processor, more RAM, more bandwidth, etc. - but I have just discovered it all means nothing.

Apparently the only thing that really matters is how much kernel memory you are allotted when they set up the VPS


I guess this statement really was correct. I have been having problems because I keep reaching my kmemsize limit - which, it turns out is only a fraction of what I had on the old server - even though the new server's advertised specs are much better. No one advertises "kmemsize".

Perhaps the support people don't even know what it is as they keep saying kmemsize is a result of not enough ram and I need more ram (already have 50% more than on the old server).

A quick search on Google says that kmemsize is "the size of unswappable kernel memory allocated for the internal kernel structures for the processes of a particular VPS."

That does not sound like ram to me.

So, before signing up for any hosting I suggest asking about kmemsize.

Top
#213476 - 05/27/08 06:52 AM Re: Apache Crashing Due to Memory Limit Being Reached On VPS [Re: doug]
doug Offline
member

Registered: 01/24/07
Posts: 121
Overnight I moved back to my old server (with more kmemsize) and this morning support at the new server finally got around to answering my question - confirming that all of their plans have the same kmemsize - so if you buy the top of the line plan your forum will run no better than if you opt for the cheapest - as the weak link in the chain is kmemsize - and that information is not available on hosting companies websites....

Top
#213490 - 05/27/08 08:07 AM Re: Apache Crashing Due to Memory Limit Being Reached On VPS [Re: doug]
Sirdude Offline

*****

Registered: 04/19/07
Posts: 2066
Loc: SoCal, USA
you could move to my dedicated server box and not worry about kmemsize laugh
_________________________


Top
#213496 - 05/27/08 08:33 AM Re: Apache Crashing Due to Memory Limit Being Reached On VPS [Re: Sirdude]
doug Offline
member

Registered: 01/24/07
Posts: 121
I am going to have to do something as moving back to my old host is just temporary. I am going to let things settle for a couple of weeks (hopefully) and let members forget about the recent disruptions before actually moving again.

I do want to move though as I have no confidence in my current host and I would like to have an uneventful summer spent fishing, golfing, and traveling - not worrying about whether the forums are up and running.

Perhaps you could PM me some info Sirdude?

Top
Page 2 of 2 < 1 2


Moderator:  Gizmo 
Shout Box

Today's Birthdays
Eric Flyxe, mark_l_88@yahoo.com
Recent Topics
restricting a media tag to a single forum...
by bakerzdosen
Yesterday at 12:52 PM
Recover topics??
by femistyle
Yesterday at 12:22 PM
duplicate entries in viewmessage.php lang file (7.4.1)
by alnadabi
Yesterday at 05:54 AM
Order of variables in language files should be permanent
by alnadabi
Yesterday at 05:12 AM
How do I set Moderation Queue for an individual user?
by luket
11/20/08 11:28 AM
Forum Stats
4249 Members
33 Forums
30488 Topics
154659 Posts

Max Online: 978 @ 06/24/07 08:19 PM