Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Slow Apache download of files

Status
Not open for further replies.

martacasais

Technical User
Nov 29, 2010
2
ES
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
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. :)
 
No firewalls.
Apache is installed in a server in the LAN.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top