apache SLOW?

CTho9305

Elite Member
Jul 26, 2000
9,214
1
81
I'm running apache 2.0.35 on xp... max upload speed was 490kb/sec. right now 220k/sec. I can download files over AIM at 990kb/sec, so I think my hub isn't a problem. does apache on XP suck that much? do I have it misconfigured?
 

BCYL

Diamond Member
Jun 7, 2000
7,803
0
71
You usually have different download/upload limits on your broadband connections... The speed u can download does not mean you can upload at the same speed...
 

CTho9305

Elite Member
Jul 26, 2000
9,214
1
81
nope, i'm on a 10mbit lan. The person downloading was connected to me through one switch.
 

RSMemphis

Golden Member
Oct 6, 2001
1,521
0
0
How much RAM do you have?

Apache works slightly differently than AIM... It may try to get the file into RAM, cannot find enough RAM, and start swapping it, whereas AIM may stream it more efficiently.

Also, I am not sure that Windows is the best platform for Apache - it may run faster on a *Unix.
 

mobogasm

Golden Member
Oct 25, 1999
1,033
0
0
aim send files more efficiently than apache...highly doubt that, i would also try upgrading to the latest version and checking out the apache site for FAQ's.
 
Jun 18, 2000
11,211
775
126
AIM likely uses multiple threads when downloading files. Opening multiple threads/connections to the host usually speeds up transfers considerably.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
AIM likely uses multiple threads when downloading files. Opening multiple threads/connections to the host usually speeds up transfers considerably.

Multiple connections to the same host, when that host isn't throttling you, get you nothing but extra overhead in managing the threads and connections. And if the host is throttling you hopefully it's smart enough to limit per IP and not per socket.

I've never used apache for tranfering large files so I can't comment on it though, I usually use FTP or SMB.
 
Jun 18, 2000
11,211
775
126
Originally posted by: Nothinman
And if the host is throttling you hopefully it's smart enough to limit per IP and not per socket.
There must be a lot of stupid server admins out there, because Download Accelerator helps more often than it doesn't.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
There must be a lot of stupid server admins out there, because Download Accelerator helps more often than it doesn't.

According to all the CodeRed attempts in my apache logs I would say you're very right. Also, DAP now comes with a nice dose of spyware, if you didn't know.
 

CTho9305

Elite Member
Jul 26, 2000
9,214
1
81
I'll give 2.0.40 or whatever is the newest a shot.
edit: um... apache now uploads at 700k/sec, as does AIM, so either the clients I was testing with were all sucking or something else was temporarily not acting right. Guess i'll stick with .0.35 unless there is some exploit or something ;)
 

CTho9305

Elite Member
Jul 26, 2000
9,214
1
81
There's a remote-crashing bug, so I put on 2.0.40. Now I can't start apache:
Syntax error on line 760 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf:
Cannot load D:/php/sapi/php4apache2.dll into server: The specified procedure could not be found.

I did not change the httpd.conf file and did not move any DLLs around. I tried uisng a differnet location of the php dll but still can't get it to work.
 

Rias

Member
Aug 23, 2002
101
0
0
Did you get a new version of the php module? If you're still using the same module you used with 2.0.35 you might want to upgrade that too (or rather, have to).