I have a local server box setup with a 4 year old Dell SC420, 2.8GHz, 3GB RAM, Pentium - should be a relatively fast machine I would think.
I am running PCBSD 1.5.1 (FreeBSD 6.3/X11) and using Firefox3 trying to access an Apache2 server and MySQL5 server with PHP5 and Drupal6, in the same box, via the localhost on http://127.0.0.1
but it's running absurdly slow, so I suspect some kind of DNS problem.
I can access the same server from outside the box on the local network, via the NIC IP address and it's considerably faster.
If I ping 127.0.0.1 internally it returns .03 ms; pretty fast.
It can easily take more than 60 seconds to load a complex admin page internally but less than half that externally.
Accessing any site on the internet is also slightly slower from the server box VS my Window laptop through the same router. That's a separate issue I'd like to solve someday too.
Can there be that much work for the processor to do running all that stuff? Or is this an Apache config issue? For comparison I tried running Drupal on XAMPP on the Windows laptop and it was off the charts slow.
Any suggestions how to diagnose/fix this?