Re: Why Would Apache be so slow??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tony Anecito wrote:
Hi All,

I am using Apache 2.4 and it is taking 10s of seconds to download small files. for example:

200 49018 5046875

[...]
 >
This is extreemly frustrating to see Apache so slow.

Hi.
It is also quite frustrating to see someone jumping to conclusions like that, when on the other hand Apache powers about 75% of public websites worldwide, and when Apache by itself is probably capable of serving 1000 requests like the above, per second.

It is possible that something is definitely wrong in your configuration, such as the last 2 lines of your "Loadmodule" series:
LoadModule logio_module modules/mod_logio.so
LoadModule logio_module modules/mod_mem_cache.so
(spot it ?)

but it is about 100 times more likely that your problem is somewhere outside of Apache (such as some network problem).
Can you describe your setup a bit more in detail ?
Such as :
- where is your Apache server ?
- where is the browser you are testing with ?
- is there something in-between ?
- which exact URL are you trying in the browser, to get that file ?
- what else is using the same "line" between your browser and the server ?


Basically, if Apache tells you that it took 5 seconds to send a 50K file to your client, it means that it could not send more than 10 Kbytes/second, or roughly 100 Kbit/s. Since on the other hand you mention pretty fast disks (which can probably read more than 50 MB/second), and a line which can reach 2 Mbit/second, there are some 1,900 Kbit/second getting lost somewhere.
And it is probably not inside of Apache.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux