Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache 2.2.0 and memory consumption |
|
Author |
|
Artesius
Joined: 08 Jun 2006 Posts: 6
|
Posted: Thu 08 Jun '06 13:48 Post subject: Apache 2.2.0 and memory consumption |
|
|
Hello !
I have a strange problem. Apache is taking more and more memory as it run.
The scheme is simple: one visitor comes in, the memory grow a little.
He quits and the memory didn't go down. Another one is coming and the used memory grows... and so on.
Until the memory is satured.
I've tried to tweak the MaxThreadsPerChild and so on without result.
My server is a XP Pro SP2 with a 2Ghz Intel CPU, 512 Mb RAM.
Apache is the 2.2.0 version with PHP 5.1.2, MySQL 5.0.21. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Thu 08 Jun '06 14:55 Post subject: |
|
|
512 Mb RAM is not much when you are running Apache with php and Mysql. Special php is allocating memory. We are running with 2Gb memory and when Apache starts it consumes about 20 Mb and it grows in time to about 250 Mb and stays on that value. |
|
Back to top |
|
Artesius
Joined: 08 Jun 2006 Posts: 6
|
Posted: Thu 08 Jun '06 15:38 Post subject: |
|
|
My website isn't as big
We "just" have 15.000 to 18.000 visits per month.
Fortunatly i've reinstalled Apache 2.2.2 and the problem is gone. The memory usage remains stable about 35-40 Mb.
I have absolutely no idea why it suddenly becomes good. I've spend 2 weeks on this and it was resolve in 5 minutes....
If all is good I should have a real server in the near future... |
|
Back to top |
|
erasokamotesk
Joined: 31 May 2006 Posts: 1 Location: nowhere
|
Posted: Thu 08 Jun '06 15:46 Post subject: |
|
|
totally agreed with you
Admin note:
This kind of one-liners makes no sense. Please contribute to our community or do not post.
|
|
Back to top |
|
|
|
|
|
|