logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Latest Apache 2.2.11 Memory Leakage
Author
markymark



Joined: 26 Aug 2006
Posts: 10
Location: Brighton, UK

PostPosted: Mon 26 Jan '09 14:05    Post subject: Latest Apache 2.2.11 Memory Leakage Reply with quote

I've been using and upgrading through the versions of Apache from Apachelounge for the past 3 years, running through FCGI with no problems at all.

I've just upgraded from 2.2.8 to 2.2.11, and now the memory usage of the httpd.exe process increases continually, and within 1-2 days has reached 1.5GB, at which point it refuses to serve any more requests.

Restarting the Apache service fixes this until it happens again.

Any ideas if there's any issues with this latest release?

Thanks

Mark
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Mon 26 Jan '09 18:13    Post subject: Reply with quote

just curious if you updated mod_fcgid as well?
At 2.2.9 the APR changed and required a change to mod_fcgid.
If you haven't, try using mod_fcgid 2.2b from the download page.
Back to top
markymark



Joined: 26 Aug 2006
Posts: 10
Location: Brighton, UK

PostPosted: Mon 26 Jan '09 19:02    Post subject: Reply with quote

Yes, I updated mod_fcgid as recommended at the same time.

I've had to switch back to 2.2.8 for the time being, where the memory usage sits happily at around 60mb.

All conf files etc are the same.
PHP version I've kept at 5.1.6.6, so that's not changed.

My site makes heavy use of curl, so I don't know if the problem lies there?

Thanks
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Mon 26 Jan '09 21:18    Post subject: Reply with quote

Well .. I notice my Apache was eating 165MB and grows a few 100k per each and every request so I assume something is happening. no curl and VC6 build here.

I guess scheduling a graceful restart every couple hours may be appropriate
Back to top
markymark



Joined: 26 Aug 2006
Posts: 10
Location: Brighton, UK

PostPosted: Tue 27 Jan '09 16:43    Post subject: Reply with quote

Maybe, but I'd rather not do that, especially as 2.2.8 works so well.

I suppose I'll have to hang on till the next version and see if the problem has gone away.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7357
Location: Germany, Next to Hamburg

PostPosted: Tue 27 Jan '09 17:15    Post subject: Reply with quote

if it is worthy make a note at https://issues.apache.org/bugzilla/index.cgi
Back to top


Reply to topic   Topic: Latest Apache 2.2.11 Memory Leakage View previous topic :: View next topic
Post new topic   Forum Index -> Apache