Re: httpd 2.4 and windows "hangs" and AcceptFilter solution

2015-06-11 Thread Andy Wang
On 06/11/2015 12:54 PM, William A Rowe Jr wrote: On Thu, Jun 11, 2015 at 11:09 AM, Andy Wang mailto:aw...@ptc.com>> wrote: On 06/11/2015 09:02 AM, William A Rowe Jr wrote: Sounds telling. Can you get your installer to stall without invoking httpd.exe - and then

Re: httpd 2.4 and windows "hangs" and AcceptFilter solution

2015-06-11 Thread William A Rowe Jr
On Thu, Jun 11, 2015 at 11:09 AM, Andy Wang wrote: > > On 06/11/2015 09:02 AM, William A Rowe Jr wrote: > >> >> Sounds telling. Can you get your installer to stall without invoking >> httpd.exe - and then attempt to start httpd outside of the installer on >> the same machine? Something going on

Re: httpd 2.4 and windows "hangs" and AcceptFilter solution

2015-06-11 Thread Andy Wang
On 06/11/2015 09:02 AM, William A Rowe Jr wrote: Sounds telling. Can you get your installer to stall without invoking httpd.exe - and then attempt to start httpd outside of the installer on the same machine? Something going on within the installer may be interacting with the winsock stack.

Re: httpd 2.4 and windows "hangs" and AcceptFilter solution

2015-06-11 Thread William A Rowe Jr
On Thu, Jun 11, 2015 at 8:48 AM, Andy Wang wrote: > > Pleading windows ignorance here, but what kind of permissions problem? > Both processes are elevated to administrator via UAC (or with UAC disabled) > and literally as soon as you kill the parent java.exe process, it starts to > work. > Sound

Re: httpd 2.4 and windows "hangs" and AcceptFilter solution

2015-06-11 Thread Andy Wang
On 06/10/2015 09:46 PM, William A Rowe Jr wrote: On Wed, Jun 10, 2015 at 4:12 PM, Andy Wang mailto:aw...@ptc.com>> wrote: I can reproduce the first case with the installer, pretty much ondemand using our installer stuff. I've tried reproducing it by ripping out the actions that do

Re: httpd 2.4 and windows "hangs" and AcceptFilter solution

2015-06-10 Thread William A Rowe Jr
On Wed, Jun 10, 2015 at 4:12 PM, Andy Wang wrote: > I can reproduce the first case with the installer, pretty much ondemand > using our installer stuff. I've tried reproducing it by ripping out the > actions that do the Runtime.exec() to call httpd.exe into a separate > standalone program, and t

Re: httpd 2.4 and windows "hangs" and AcceptFilter solution

2015-06-10 Thread Andy Wang
I can reproduce the first case with the installer, pretty much ondemand using our installer stuff. I've tried reproducing it by ripping out the actions that do the Runtime.exec() to call httpd.exe into a separate standalone program, and the problem doesn't occur there. Go figure. But when thi

Re: httpd 2.4 and windows "hangs" and AcceptFilter solution

2015-06-10 Thread William A Rowe Jr
Can you reproduce using the real network driver? The loopback/localhost interface is famously junk. On Jun 10, 2015 11:22 AM, "Andy Wang" wrote: > Yeah, that much I more or less get. > > What I really don't understand is what can a client do (IE11) that would > regularly cause httpd.exe to hang

Re: httpd 2.4 and windows "hangs" and AcceptFilter solution

2015-06-10 Thread Andy Wang
Yeah, that much I more or less get. What I really don't understand is what can a client do (IE11) that would regularly cause httpd.exe to hang with AcceptEx. This is reproducible on every single machine I've ever tried, including completely vanilla virtual machines, or pretty straightforward

Re: httpd 2.4 and windows "hangs" and AcceptFilter solution

2015-06-10 Thread William A Rowe Jr
It turns off all advanced socket mechanics for accepting connections. That means it won't pre-fetch data. Because of how cobbled-together the WinSock network stack drivers (third parties, included) were, there are many things that break sendfile (disable sendfile) or socket reuse (disable advance

httpd 2.4 and windows "hangs" and AcceptFilter solution

2015-06-10 Thread Andy Wang
I originally asked this on user@httpd and didn't get a response, so thought I'd redirect to dev and see if anyone can explain why this would occur if you have time. I have to admit, it's a curiosity to me, that I just don't want to let go until I understand it and what research I've done into