Foros del Web » Administración de Sistemas » Apache »

Apache tarda demasiado en responder, y los recursos sobran...

Estas en el tema de Apache tarda demasiado en responder, y los recursos sobran... en el foro de Apache en Foros del Web. Buenas, tengo un servidor web dedicado core 2 quad, con 8gb de ram... Cuando intento conectarme a las páginas alojadas en él, tarda demasiado en ...
  #1 (permalink)  
Antiguo 06/10/2008, 19:29
Avatar de yrduk  
Fecha de Ingreso: enero-2007
Ubicación: Caracas, Venezuela
Mensajes: 277
Antigüedad: 17 años, 3 meses
Puntos: 3
Apache tarda demasiado en responder, y los recursos sobran...

Buenas, tengo un servidor web dedicado core 2 quad, con 8gb de ram...

Cuando intento conectarme a las páginas alojadas en él, tarda demasiado en responder...

Aquí van algunos parámetros del httpd.conf.

Código:
#
# In the standard configuration, the server will process this file,
# srm.conf, and access.conf in that order.  The latter two files are
# now distributed empty, as it is recommended that all directives
# be kept in a single file for simplicity.  The commented-out values
# below are the built-in defaults.  You can have the server ignore
# these files altogether by using "/dev/null" (for Unix) or
# "nul" (for Win32) for the arguments to the directives.
#
#ResourceConfig /etc/apache/srm.conf
#AccessConfig /etc/apache/access.conf

#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 30

#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive On

#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 300

#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 3

#
# Server-pool size regulation.  Rather than making you guess how many
# server processes you need, Apache dynamically adapts to the load it
# sees --- that is, it tries to maintain enough server processes to
# handle the current load, plus a few spare servers to handle transient
# load spikes (e.g., multiple simultaneous requests from a single
# Netscape browser).
#
# It does this by periodically checking how many servers are waiting
# for a request.  If there are fewer than MinSpareServers, it creates
# a new spare.  If there are more than MaxSpareServers, some of the
# spares die off.  The default values are probably OK for most sites.
# a new spare.  If there are more than MaxSpareServers, some of the
# spares die off.  The default values are probably OK for most sites.
#
MinSpareServers 30
MaxSpareServers 60

#
# Number of servers to start initially --- should be a reasonable ballpark
# figure.
#
StartServers 40
#
#
# Limit on total number of servers running, i.e., limit on the number
# of clients who can simultaneously connect --- if this limit is ever
# reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW.
# It is intended mainly as a brake to keep a runaway server from taking
# the system with it as it spirals down...
#
MaxClients 700


# MaxRequestsPerChild: the number of requests each child process is
# allowed to process before the child dies.  The child will exit so
# as to avoid problems after prolonged use when Apache (and maybe the
# libraries it uses) leak memory or other resources.  On most systems, this
# isn't really needed, but a few (such as Solaris) do have notable leaks
# in the libraries. For these platforms, set to something like 10000
# or so; a setting of 0 means unlimited.
#
# NOTE: This value does not include keepalive requests after the initial
#       request per connection. For example, if a child process handles
#       an initial request and 10 subsequent "keptalive" requests, it
#       would only count as 1 request towards this limit.
#
MaxRequestsPerChild 10000
Apenas se usan 1.6GB de los 8 GB que hay de RAM, y el uso del procesador es muy bajo (menos de 1).

El servidor es Apache 2. Yo pienso que es el httpd.conf, porque el sábado hice una modificación de él (los valores de los parámetros que estoy mostrando), y desde ese día es que ha empezado con éste problema.

Gracias de antemano por su ayuda!!
__________________
Twitter/kudry
mkd.la - blog
  #2 (permalink)  
Antiguo 07/10/2008, 10:08
 
Fecha de Ingreso: abril-2006
Mensajes: 1.128
Antigüedad: 18 años
Puntos: 33
Respuesta: Apache tarda demasiado en responder, y los recursos sobran...

yrduk:
Ese problema que tu mencionas NO parece ser que tu servidor sea el causante; mas bien la conexion a Internet puede estar lenta por saturacion.
Este es un asunto que tienes que tratar con tu hosting y hacerles saber que tu sitio esta lento causado por problemas de la red de ellos o por exceso de clientela que utiliza la misma red a nivel de tu hosting.
Saludos
Y espero te ayude
Franco
  #3 (permalink)  
Antiguo 07/10/2008, 17:55
Avatar de yrduk  
Fecha de Ingreso: enero-2007
Ubicación: Caracas, Venezuela
Mensajes: 277
Antigüedad: 17 años, 3 meses
Puntos: 3
Respuesta: Apache tarda demasiado en responder, y los recursos sobran...

Cita:
Iniciado por franco190453 Ver Mensaje
yrduk:
Ese problema que tu mencionas NO parece ser que tu servidor sea el causante; mas bien la conexion a Internet puede estar lenta por saturacion.
Este es un asunto que tienes que tratar con tu hosting y hacerles saber que tu sitio esta lento causado por problemas de la red de ellos o por exceso de clientela que utiliza la misma red a nivel de tu hosting.
Saludos
Y espero te ayude
Franco
Gracias por tu respuesta!, bueno.. eso haré a ver que dicen...

Salu2
__________________
Twitter/kudry
mkd.la - blog
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 20:11.