A case of Epic beer to the first person...
I'll buy a case of Epic beer to the first person* that can solve my networking problem at home, (special conditions apply of course).
I have a Debian server on one end of my desk that hosts this website and a PC at the other end of my desk that I'm writing this on now. The web server happily serves pages to the outside world ok but takes 4 minutes to serve a page on my internal network. They are both connected to the same switch.
The network is fine because Synergy works perfectly between the PC and the server. Transferring files between them is perfect. But either apache or PHP or MySQL is causing very slow page lad times.
DNS appears fine. The server is not loaded. No IO issues and no swapping.
Any suggestions of where to look, anyone?
Bloody hell I hate computers. They completely give me the shits.
The Photo
It's our shadow somewhere over the Waikato from our flight on Saturday afternoon.
*You have to collect the beer, I cannot ship it.
Captured: 2007:09:15 14:05:59Posted: Wednesday, September 19, 2007, 6:43 pm
Auckland Furnished Apartment | Babies | Where's Yours?
Click to add your comment
So how do you connect to the server, whats the domainname and to what does it resolve? Is it the external IP? Did you do some tracerting?
Olly @ Wednesday, September 19, 2007, 9:56 pm
Dave @ Wednesday, September 19, 2007, 10:01 pm
Jody @ Thursday, September 20, 2007, 3:40 am
1. It's very easy for people who think about software all day to entirely forget about hardware. Have you checked the switchport and cable to your internal PC and its NIC?
2. Have you turned up the loglevel to debug in apache to see what is happening at a low level when you request a page internally?
Oh, and a third question:
You clearly have excellent taste in beer (it seems Epic is going almost mainstream now, good on it, couldn't happen to a nicer beer) - have you considered joining SOBA? I'd post a link but your blog might think I'm a spammer rather than a passionate beer advocate. ;) www dot soba dot org dot nz. You know you want to.
Greig @ Thursday, September 20, 2007, 8:14 am
Rob @ Thursday, September 20, 2007, 9:14 am
mtr your-pc-hostname
then try
route
it will be your dns resolv setup broke, cat /etc/resolv.conf
jamesh @ Thursday, September 20, 2007, 9:35 am
That will solve your problems.
That'll be one case of epic, thanks.
Mike @ Thursday, September 20, 2007, 10:44 am
Rik @ Thursday, September 20, 2007, 11:10 am
Darren Wood @ Thursday, September 20, 2007, 4:55 pm
as i say.. just a guess as i recently had some problems of this sort. Hope it helps
Aidan @ Friday, September 21, 2007, 9:15 am
Create an entry in your windows hosts file which points www.spudooli.com to the internal IP address of your server. Once you've made the change, completely quit your browser, reopen and try browsing to www.spudooli.com.
cheers
Steve Baker @ Friday, November 21, 2008, 2:38 pm