Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I got a weird problem, and all the guys at my relatively small web dev company have giant question marks above their heads.

So here is the thing: we have turned PC of one of our ex developers into dev & testing server. It has local static IP address 192.168.0.40. It runs ubuntu server 11.10 with Apache 2.2.20 and PHP 5.3.6

We have one problem: it serves PHP pages extremely slowly ONLY to windows clients. So, if I try to fetch http://192.168.0.40/info.php from linux or osx machine, everything works as one would hope it to work - displays standard PHP information page immediately. But if I request from a windows machine on the same network, it takes about 5-10 minutes for the page to show up. We have tried with multiple win machines, always the same result. Also, when I try to fetch static HTML page, for example, http://192.168.0.40/index.html, it is displayed immediately on all machines, including Win. One more thing - virtual machines on Linux machines with Windows on them fetch php immediately.

I am not sure what might cause it. If you guys have any ideas/solutions, I would much appreciate your input!

share|improve this question
    
Could be a DNS problem. The php info page has two images in it, maybe those are the problem, with Linux and OS X failing fast (or using a different DNS server, or some /etc/hosts entry) –  AndreasM Feb 13 '12 at 12:13
    
wouldn't the fact that I am using IP address to access it bypass any DNS issues? Also, the problem persists if I make a php file with only "<?php echo 'test'; " inside, no images or anything. –  IvoK Feb 13 '12 at 13:28
    
Indeed this should eliminate the problem. Does it happen with all browsers (IE, Chrome, FF)? Maybe it's a malware list that the browser tries to access. Or a addon in FF. You could try to find the problem with Wireshark to see what goes out and in in Windows. –  AndreasM Feb 13 '12 at 13:36
    
Problem is the same on multiple machines, on all browsers you mentioned, + we tried with wget too. Also, we tried with wget spider mode, and delay was also ~6-7 minutes. I will try to check with Wireshark if there is some suspicious looking traffic. –  IvoK Feb 13 '12 at 13:39
    
Another thing could be auto-proxy configuration (wpad) –  AndreasM Feb 13 '12 at 13:42
show 2 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.