PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > Apache 2 Tuning
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

Apache 2 Tuning

Réponse
 
LinkBack Outils de la discussion
Vieux 08/05/2007, 18h05   #1
Antoni
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Apache 2 Tuning

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!

  Réponse avec citation
Vieux 08/05/2007, 18h41   #2
shimmyshack
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Apache 2 Tuning

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

  Réponse avec citation
Vieux 09/05/2007, 13h14   #3
Armand Brahaj
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Apache 2 Tuning

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!
  Réponse avec citation
Vieux 09/05/2007, 16h54   #4
Joshua Slive
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Apache 2 Tuning

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.

  Réponse avec citation
Vieux 10/05/2007, 15h42   #5
Antoni
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Apache 2 Tuning

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

  Réponse avec citation
Vieux 10/05/2007, 16h08   #6
shimmyshack
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Apache 2 Tuning

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)

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 00h35.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11635 seconds with 14 queries