Slow Apache download of files

Alles, was den Apache betrifft, kann hier besprochen werden.

Slow Apache download of files

Postby marta_casais » 29. November 2010 11:59


I have an Apache instaled on a Linux server.
When I try to download a file with a Web Browser (Microsoft I.Explorer or Firefox), it takes a long time (an hour) for a file of 1 MB. And the Web Browser is almost bloqued. It occurs from several diferents clients.

The download is a simple GET action. There is a directory in the Linux served, configured in the Apache config file (httpd.conf).

The curius thing is that if I download a file, the second time I try to download it, is very fast (from the same client or from another), as if the server cached the files.

I don´t know what ocurrs. Any sugestion is welcomed.

The files are in the server path: /intranet/var/docs/documentos/
This is my Apache configuration file (httpd.conf):

ServerRoot "/intranet/opt/apache"
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 120
MinSpareServers 16
MaxSpareServers 64
StartServers 16

Redirect permanent /index.html http://intranet.local/intranet2/

Listen 80

LoadModule proxy_module modules/
LoadModule proxy_http_module modules/

LoadModule jk_module modules/

<IfModule !mpm_netware_module>
User apapache
Group #-1

ServerName intranet75
DocumentRoot "/intranet/opt/apache/htdocs"

<Directory "/intranet/opt/apache/htdocs">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all

Alias /Documentos "/intranet/var/docs/documentos/"

<Directory "/intranet/var/docs/documentos/">
Options Indexes FollowSymLinks
#Options SymLinksIfOwnerMatch
AllowOverride None
Order allow,deny
Allow from all

<IfModule dir_module>
DirectoryIndex index.html

<FilesMatch "^\.ht">
Order allow,deny
Deny from all
Satisfy All

ErrorLog logs/error_log

LogLevel warn

<IfModule log_config_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common

<IfModule logio_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio

CustomLog logs/access_log common

<IfModule alias_module>
ScriptAlias /cgi-bin/ "/intranet/opt/apache/cgi-bin/"

<IfModule cgid_module>

<Directory "/intranet/opt/apache/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all

DefaultType text/plain

<IfModule mime_module>
TypesConfig conf/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz

<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin

JkWorkersFile "/intranet/opt/apache/conf/"
JkLogfile "/intranet/logs/apache/mod_jk.log"
JkLogLevel info
JkMount /intranet2/* ajp13
JkMount /intranet/* ajp13

Thanks in advance. :)
Posts: 1
Joined: 29. November 2010 11:21

Return to Apache

Who is online

Users browsing this forum: No registered users and 11 guests