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

Hello,

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/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so

LoadModule jk_module modules/mod_jk.so

<IfModule !mpm_netware_module>
User apapache
Group #-1
</IfModule>


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



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

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

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

<IfModule dir_module>
DirectoryIndex index.html
</IfModule>

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

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
</IfModule>

CustomLog logs/access_log common
</IfModule>

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

<IfModule cgid_module>
</IfModule>

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

DefaultType text/plain

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


<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>

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



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

Return to Apache

Who is online

Users browsing this forum: No registered users and 34 guests