note 82944 added to function.Memcache-pconnect

From: Date: Fri, 02 May 2008 23:16:41 +0000
Subject: note 82944 added to function.Memcache-pconnect
Groups: php.notes 
Request: Send a blank email to php-notes+get-139011@lists.php.net to get a copy of this message
Please note the next on using pconnect on apache: When using this function every apache child will keep the connection open. Offcourse handy on not issueing a new connection on every request, but very error prone when memcached bails out for any reason. Every time a php script is run with pconnect your script will bail out completely without any error within the log files. Unless you are shure you run memcached with 100% uptime and your failover is 100% up, use pconnect, otherwise stay with the connect. Maybe this is hulpfull for the ones (just like me), using pconnect and testing with exiting memcached without restarting apache. Occured in my configuration on CentOS 5 with PHP version 5.1.6 and Apache 2.2.3 ---- Server IP: 89.248.170.61 Probable Submitter: 83.81.104.245 ---- Manual Page -- http://www.php.net/manual/en/function.Memcache-pconnect.php Edit -- https://master.php.net/note/edit/82944 Del: integrated -- https://master.php.net/note/delete/82944/integrated Del: useless -- https://master.php.net/note/delete/82944/useless Del: bad code -- https://master.php.net/note/delete/82944/bad+code Del: spam -- https://master.php.net/note/delete/82944/spam Del: non-english -- https://master.php.net/note/delete/82944/non-english Del: in docs -- https://master.php.net/note/delete/82944/in+docs Del: other reasons-- https://master.php.net/note/delete/82944 Reject -- https://master.php.net/note/reject/82944 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#139011) next »