This is a discussion on Apache 2.0.46 Memory & Load within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hi, I have a website serving videos (some 10MB or more) running on apache 2.0.46 and I have ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
I have a website serving videos (some 10MB or more) running on apache 2.0.46 and I have a lot of problems with apache. It stars consuming swap memory and makes the system load go over 100 so I have to reboot the server oftenly. The server in question is based on Plesk6 running on Redhat9, and I haven't loaded any aditional modules. These are my apache defaults, compiled as prefork: StartServers 4 MinSpareServers 5 MaxSpareServers 10 MaxClients 100 MaxRequestsPerChild 1000 |
|
|||
|
> I have a website serving videos (some 10MB or more) running on apache
> 2.0.46 and I have a lot of problems with apache. > > It stars consuming swap memory and makes the system load go over 100 > so I have to reboot the server oftenly. > > The server in question is based on Plesk6 running on Redhat9, and I > haven't loaded any aditional modules. Daniel, I had a similar problem with this version of Apache (2.0.46), but did not test with later versions. I did not find any solution at that time and revert to Apache 1.3. Note that 2 bugs related to this issue are referenced on Bugzilla : 11427 (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11427) and (more recent) 23567 (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23567). You may append informations to these pages, and possibly provide a test case to help the Apache team reproduce and correct the bug if any. Hope that helps, Chris. |
|
|||
|
In article <e8d80bfc.0312170612.5ebaa40b@posting.google.com >, one of infinite monkeys
at the keyboard of daniel_avila@yahoo.com (Daniel Avila) wrote: > Hi, > > I have a website serving videos (some 10MB or more) running on apache > 2.0.46 and I have a lot of problems with apache. > > It stars consuming swap memory and makes the system load go over 100 > so I have to reboot the server oftenly. What does that look like in "top" as it's happening? Does anything appear in the error log? Have you tried with mod_diagnostics to see if your entire video is getting buffered somewhere? > The server in question is based on Plesk6 Never heard of it. > running on Redhat9, and I But presumably is not redhat's bundled apache? > These are my apache defaults, compiled as prefork: Did you compile from clean Apache source, or is "plesk6" something with a bundled apache binary or source? -- Nick Kew |
|
|||
|
I've tweaked httpd.conf with this module limitipconn_module that I
found on google to keep 2 max connection for the videos (since people used to use download manager, and yes, I have a pretty .htaccess but there are too many tricks to step it out). Also I've changed the apache parameters to: StartServers 4 MinSpareServers 5 MaxSpareServers 20 MaxClients 200 MaxRequestsPerChild 500 KeepAlive On MaxKeepAliveRequests 100 MaxMemFree 100 The server is fine for a few hours with load within 1 or less, and it respond fast. I think this is a serius bug in apache 2.0 that should be fixed. "Christophe LEITIENNE" <c.leitienne@remove.this.and.invalid.bgpartners.fr .invalid> wrote in message news:<brpr99$uc4$1@news-reader5.wanadoo.fr>... > > I have a website serving videos (some 10MB or more) running on apache > > 2.0.46 and I have a lot of problems with apache. > > > > It stars consuming swap memory and makes the system load go over 100 > > so I have to reboot the server oftenly. > > > > The server in question is based on Plesk6 running on Redhat9, and I > > haven't loaded any aditional modules. > > Daniel, > > I had a similar problem with this version of Apache (2.0.46), but did > not test with later versions. > I did not find any solution at that time and revert to Apache 1.3. > Note that 2 bugs related to this issue are referenced on Bugzilla : > 11427 (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11427) and > (more recent) 23567 > (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23567). > You may append informations to these pages, and possibly provide a test > case to help the Apache team reproduce and correct the bug if any. > > Hope that helps, > Chris. |