Author |
|
sb.net
Joined: 22 Sep 2006 Posts: 120 Location: USA
|
Posted: Mon 30 Oct '06 18:07 Post subject: |
|
|
IT WORKED FOR ME TOO. thanks sooooo much. |
|
Back to top |
|
tdonovan Moderator
Joined: 17 Dec 2005 Posts: 611 Location: Milford, MA, USA
|
Posted: Mon 30 Oct '06 18:25 Post subject: |
|
|
That's great that you are up and running! W00t! W00t!
It looks like we worked around the problem rather than really fixed it.
Since it affects you and sb.net (and probably many other people too) - it would be good if we could get to the bottom of it.
It looks like you are running XP Pro, while sb.net is running XP Home.
The only thing in common so far is that they are both XP-sp2 systems and you are both running Apache 2.2.3.
That can't be the whole story, since I and other people run fine on XP-sp2.
If you don't mind, could you let us know a few more details in hopes of actually reproducing this problem while running Apache in the debugger:What's your exact version of xp ( [Start] [Run] winver.exe) - mine is Version 5.1 (Build 2600.xpsp_sp2_gdr.050301-1519 : Service Pack 2)
What's your total and available Physical memory when Apache is running ( [Ctrl-Shift-Esc] [Performance] tab)
What kind of disk is the mp3 file on - same drive as Apache, different drive? How big? How full?
Are you up-to-date with all Windows-Update patches?
Are you running any other software which might affect disk file access? (kind of a vague question, I know...)
What anti-virus software are you running?
BTW - just checking, are you sure it was EnableSendfile, not EnableMMAP which worked?
It narrows it down a lot if we can be positive about which directive made the difference.
Thanks for any info you can provide. This really should get into the Apache bugbase (or maybe the Windows XP bugbase) - but a non-reproduceable bug is not likely to get fixed very fast unless we can find out what makes this happen to some folks and not to others.
Thanks again for any help you can provide in killing this evil bug once and for all!
-tom- |
|
Back to top |
|
azoapes
Joined: 26 Oct 2006 Posts: 14
|
Posted: Mon 30 Oct '06 19:12 Post subject: |
|
|
Yes, I run with only EnableSendfile disabled, not EnableMMAP. And it works.
My server has this:
* 1Gb RAM, 400MB available when running
* Win XP Pro ver 5.1 (Build 2600.xpsp.050928-1517 : Service Pack 2)
* htdocs in Apache directory, local hard drive on server (NTFS)
* Automatic updates on critical updates -> a lot of KBXXXXX's installed...
* Kaspersky Anti-Virus 6.0
* DTE disabled, Windows firewall disabled
Other relevancies you can think of? |
|
Back to top |
|
sb.net
Joined: 22 Sep 2006 Posts: 120 Location: USA
|
Posted: Mon 30 Oct '06 19:24 Post subject: |
|
|
only "EnableSendfile off"
http://data-base-web.com/winver.png
physical memory: 457192k
mp3s on the same drive. used space: 126gb. free space: 15gb. size: 142gb
I am semi-updated.
not that i know of.
McAfee. |
|
Back to top |
|
tdonovan Moderator
Joined: 17 Dec 2005 Posts: 611 Location: Milford, MA, USA
|
Posted: Mon 30 Oct '06 19:46 Post subject: |
|
|
Thanks guys!
It looks like using Windows disk-file "overlapped IO" and "asynchronous IO" together is not working right for you.
If you are interested in the gory programming details about this, see http://support.microsoft.com/default.aspx/kb/156932
The Apache code looks right to me at first glance, according to the notes in the kb - but I'll check more carefully.
It doesn't seem like low available memory triggers the bug.
Maybe it happens when the disk is mostly full like sb.net reports (and maybe fragmented) . I'll try to create this situation and try again to reproduce the symptoms.
In short - it looks more like a Windows XP bug than an Apache bug, but that's just a guess at this point.
Apache is probably unique in using almost every available Windows file-access and net-access performance feature at the same time.
That could be the explanation why other software (like SAMBAR) doesn't show this bug.
-tom- |
|
Back to top |
|
sb.net
Joined: 22 Sep 2006 Posts: 120 Location: USA
|
Posted: Mon 30 Oct '06 21:50 Post subject: |
|
|
actually, when I saw that I only had 15gb left I started cleaning off my computer. Then i tried using apache without EnableSendfile off. It worked!, but i am going to keep it on. So the problem is in disk space. |
|
Back to top |
|
azoapes
Joined: 26 Oct 2006 Posts: 14
|
Posted: Mon 30 Oct '06 22:30 Post subject: |
|
|
sb.net wrote: | actually, when I saw that I only had 15gb left I started cleaning off my computer. Then i tried using apache without EnableSendfile off. It worked!, but i am going to keep it on. So the problem is in disk space. |
Sounds unbelievable... I have 14GB free space right now on that particular disk... it's newly defragmented so that's not the problem anyway. In that case, it started somewhere about 20GB free, which is about 10% quota of that partition, and 8% of that hard drive...
The issue is either about at least 20GB free space or at least 10% free space. |
|
Back to top |
|
sb.net
Joined: 22 Sep 2006 Posts: 120 Location: USA
|
Posted: Mon 30 Oct '06 22:38 Post subject: |
|
|
maybe windows starts a service at that point that apache can't work with. |
|
Back to top |
|
azoapes
Joined: 26 Oct 2006 Posts: 14
|
Posted: Mon 30 Oct '06 22:40 Post subject: |
|
|
sb.net wrote: | maybe windows starts a service at that point that apache can't work with. |
youve-only-got-20-gigabytes-left.exe ? An application to f**k your computer up in case you missed that you've only got 20 GB free space left |
|
Back to top |
|
sb.net
Joined: 22 Sep 2006 Posts: 120 Location: USA
|
Posted: Mon 30 Oct '06 22:44 Post subject: |
|
|
yea. |
|
Back to top |
|
Cotez
Joined: 07 Nov 2006 Posts: 1
|
Posted: Tue 07 Nov '06 15:04 Post subject: |
|
|
I had the same problem on Apache like sb.net and azoapes but now it is solved!
You are a hero in this thread tdonovan.
Thanks.... |
|
Back to top |
|
azoapes
Joined: 26 Oct 2006 Posts: 14
|
Posted: Tue 07 Nov '06 17:51 Post subject: |
|
|
A bug report is filed, and it will probably be fixed with the next version of Apache.
We're not alone. |
|
Back to top |
|
tdonovan Moderator
Joined: 17 Dec 2005 Posts: 611 Location: Milford, MA, USA
|
Posted: Tue 07 Nov '06 21:18 Post subject: |
|
|
re: "A bug report is filed"
I can't find it in ASF Bugzilla. What's the bug number?
thx,
-tom-
p.s. never mind - found it. Bug 26142
-t- |
|
Back to top |
|