Slow LAN/WAN bandwidth with 2.2.6 on Win2003

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

 



Hi.

I'm experiencing really slow transfers when accessing the Apache 2.2.6 server over the LAN (1Gbps) and WAN (10Mbps). I have no problems with HTTP using IIS6, or other protocols like FTP, SMB, or NFS.

I am testing using wget with output to NUL: or /dev/null, example:
example: wget http://192.168.0.5/c.bin -ONUL:

I have IIS6 running on port 81 and Apache running on port 80.

Windows XP client on LAN (1Gbps)
-------------------------------------------------------------
Apache 2.2.6 (port 80) --> 500 KB/s   <== really slow
IIS 6.0 (port 81)      --> 22 MB/s
SMB file transfer      --> 19 MB/s

FreeBSD 4.8 client over WAN (10Mbps):
-------------------------------------------------------------
Apache 2.2.6 (port 80) --> 500 KB/s   <== slow, same as LAN
IIS 6.0 (port 81)      --> 1 MB/s     <== max speed of SDSL line

Localhost access (from web server)
-------------------------------------------------------------
Apache 2.2.6 (port 80) --> 78 MB/s    <== very good
IIS 6.0 (port 81)      --> 65 MB/s    <== very good

To me it seems like there is some problem with my Apache and Windows 2003 TCP/IP tuning (I haven't touched this myself), since localhost access is fast and LAN/WAN access is slow. The actual physical network works fine, as seen from the IIS6.0 tests and testing with other protocols like SMB/FTP/NFS.

I've tried to increase the SendBufferSize (131072) but I saw no difference. The results from these tests are stable, and has been so
for several weeks. I've also tried to run Apache on different ports,
but there is no change.

Can anyone help me shed some light on this problem?

Environment:
- OS: Windows 2003 Small Business Server 2003 R2 (all updates applied)
- Hardware: AMD Sempron 3000+, 2GB RAM, 1Gbps Intel NIC
- Switch: 3Com OfficeConnect 8 port 1Gbps switch
- Wiring: CAT 6
- WAN access: 10MBps SDSL
- Default Apache 2.2.6 install, no changes to httpd.conf
- Test file is 700MB binary file served from local file system (RAID5).
- No software firewall or other packet filters are installed
- Server is mostly idle (1.6GB free physical memory, 2% CPU usage)


I know that I can fix my problems by going back to IIS, but I want to run Apache as I plan to use PHP, mod_jk connected to Tomcat and some other Apache modules extensively. (haven't started configuring that yet)


Thanks in advance,

- Oivind

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