Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...One of the best run forums I have used in years! ...I like the way the site is organized and your no tolerance of flames..."

Geography

Where in the world do Tek-Tips members come from?

Slow Apache download of files

martacasais (TechnicalUser)
29 Nov 10 6:00
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. :)
Diancecht (Programmer)
30 Nov 10 8:41
Any firewalls?

Cheers,
Dian

martacasais (TechnicalUser)
1 Dec 10 2:08
No firewalls.
Apache is installed in a server in the LAN.

 

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close