Hmmm...forgive me if i'm totally-off, but why would it have anything to do with DNS? The requests do come out to about 4 per second, (I see them in the logs, no errors). And if its trying to perform a reverse dns, im assuming it would only need to do a lookup once (but not even take this long), then cache the result so the remaining requests would be fast afterwards, but I just tried it with hostnamelookups Off in Apache and it didn't make a difference. I'm not sure if I made it clear, but I am running the Benchmark from the -same machine- that Apache & MySQL are running on to rule-out problems. I am seeing the few requests that actually do come through in httpd-access.log for Apache, they seem fine and, no errors are present in the error log. I did check the netstat -an right after I sent the requests and always see a lot of TIME_WAIT's... Im pretty beginner/intermediate right now at FreeBSD right now, so im not too sure of any other debug info I could provide. ----- Original Message ---- From: Steven Hartland <killing_at_multiplay.co.uk> To: Mr. Man <chinohillsbanditos_at_yahoo.com>; freebsd-current_at_freebsd.org Sent: Tuesday, November 7, 2006 3:06:06 PM Subject: Re: Dell 1950 & 2950 with Broadcom NetXtreme II BCM5708 1000Base-T Sounds like a DNS, possibly a reverse DNS on authentication timing out? Mr. Man wrote: > I am benchmarking with ab (apache bench/mark) to test the speed of a > php file which calls a simple mysql query. When I configure the php > file to use the ip 127.0.0.1 to connect to mysql, it comes out to > about > 700requests/second. But when I point to its LAN ip 192.168.0.6, it > comes out to 4 requests per second. Thats FOUR... The benchmark > actually sits for a few extra seconds longer than it should as if it > froze. ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster_at_multiplay.co.uk.Received on Sun Nov 12 2006 - 03:16:08 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:02 UTC