Olav Mørkrid wrote:

> the source of the problem is gethostbyaddr(). it seems to have a 4,5
> second timeout, so some lookups time out after 4,5 seconds, while most
> of them are resolved in < 0.1 second; a radically performance
> difference.

You can change the timeout be amending the options statement
in /etc/resolv.conf:

options timeout: 2  (2 seconds).

See 'man resolv.conf'.  



/Per Jessen, Zürich

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to