note 36437 added to function.gethostbyaddr

From: Date: Thu, 09 Oct 2003 13:15:55 +0000
Subject: note 36437 added to function.gethostbyaddr
Groups: php.notes 
Request: Send a blank email to php-notes+get-58125@lists.php.net to get a copy of this message
[quote] recently, i've encountered a bad experience with this function. while i have yet to find out the root of the problem, i would like to share my experience. i woke up one morning to find all pages on my server loading very slowly. frontpage load speed is typically .4seconds, and that morning, it was 12seconds. after 24 hours of myisamchk'ing, top / ping / tracert / reboot / service mysqld / httpd restartin'ing, nothing helped. eventually, i tracked the bugger down to the gethostbyaddr function. the anomaly was that the problem was only happening to ME, and not to my 1-200 users per day. would love to hear suggestion on why this happened and potential resolutions, if any exist. thank you. [/quote] This happens to me wehn i use the funtion LOCALY! The function cant check existance and then jsut timout after some seconds I think 8 or so. ---- Manual Page -- http://www.php.net/manual/en/function.gethostbyaddr.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+36437 Delete -- http://master.php.net/manage/user-notes.php?action=delete+36437&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+36437&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#58125) next »