|
|
|
|
||||||
| alt.apache.configuration Apache web server configuration issues. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hello,
I have a dedicated server with a 30 Mbps connection. My domain www.upblogger.com receives 20K visitors/day. This domains serves videos like YouTube does. The web page can take very long to load. Can this be due to the 30 Mbps connection or changing Apache's config would tune everything up? I changed these values: MaxKeepAliveRequests 0 Thanks! |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On May 8, 6:05 pm, Antoni <antonimassom...@gmail.com> wrote:
> Hello, > > I have a dedicated server with a 30 Mbps connection. My domainwww.upblogger.comreceives 20K visitors/day. This domains serves > videos like YouTube does. The web page can take very long to load. Can > this be due to the 30 Mbps connection or changing Apache's config > would tune everything up? > > I changed these values: > > MaxKeepAliveRequests 0 > > Thanks! there is no use of caching, which would reduce the number of connection attempts, which in turn might reduce intial latency |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
shimmyshack wrote:
> On May 8, 6:05 pm, Antoni <antonimassom...@gmail.com> wrote: >> Hello, >> >> I have a dedicated server with a 30 Mbps connection. My domainwww.upblogger.comreceives 20K visitors/day. This domains serves >> videos like YouTube does. The web page can take very long to load. Can >> this be due to the 30 Mbps connection or changing Apache's config >> would tune everything up? >> >> I changed these values: >> >> MaxKeepAliveRequests 0 >> >> Thanks! > > there is no use of caching, which would reduce the number of > connection attempts, which in turn might reduce intial latency > Personally I think that for Video Downloading a 30MBps server and with 20K users is overloaded. Check the bandwidth statistics and I assume that your bandwidth channel is always full! |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On May 9, 8:14 am, Armand Brahaj <a_bra...@yahoo.com> wrote:
> shimmyshack wrote: > > On May 8, 6:05 pm, Antoni <antonimassom...@gmail.com> wrote: > >> Hello, > > >> I have a dedicated server with a 30 Mbps connection. My domainwww.upblogger.comreceives20K visitors/day. This domains serves > >> videos like YouTube does. The web page can take very long to load. Can > >> this be due to the 30 Mbps connection or changing Apache's config > >> would tune everything up? > > >> I changed these values: > > >> MaxKeepAliveRequests 0 > > >> Thanks! > > > there is no use of caching, which would reduce the number of > > connection attempts, which in turn might reduce intial latency > > Personally I think that for Video Downloading a 30MBps server and with > 20K users is overloaded. > Check the bandwidth statistics and I assume that your bandwidth channel > is always full! Also check to make sure you haven't hit MaxClients. See the server- status handler. In general, serving very large files like that doesn't tax apache very much. So I agree that most likely problem is bandwidth limits. |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
It seems mod_bw was eating up my system resources somehow. Has anyone
tested mod_bw or any other bandwidth limiter module for Apache 2? Thanks |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
On May 10, 3:42 pm, Antoni <antonimassom...@gmail.com> wrote:
> It seems mod_bw was eating up my system resources somehow. Has anyone > tested mod_bw or any other bandwidth limiter module for Apache 2? > > Thanks yeah I've been using mod_bw since august last year on apache 2.2.x (win32) with no issues. Here's an excerpt from a vhost config BandWidthModule On AddOutputFilterByType MOD_BW audio/mpeg audio/x-mpeg audio/x-mpeg-3 audio/mpeg3 BandWidth all 10240 MinBandWidth all -1 #consider how best to serve this error BandWidthError 510 ErrorDocument 510 /error/HTTP_SERVICE_UNAVAILABLE.html.var this just reduces the rate at which mp3's are served from the vhost. Are you sure it wasn't a connection throttle rather than bandwidth, I got the feeling that your bw was fine when I was eventually able to connect, that it was initial latency rather than bw. Could it have been the case that as mod_bw buffered content for many users, you hit the RAM limit and started using virtual RAM? When serving films round the home, the memory usage for the apache child does oscillate by a few MB which wouldn't happen if you decided to use shaper to shape your traffic from the server, you would have the added advantage of having hard and soft limits with shaper (linux) |
|
![]() |
| Outils de la discussion | |
|
|