|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-08-04 05:27 UTC] yorgosun at gmail dot com
[2009-08-04 17:17 UTC] andrei@php.net
[2009-08-04 23:21 UTC] yorgosun at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 05:00:01 2025 UTC |
Description: ------------ I wrote a test script, when I request it in high concurrent connections(about 200c/s),php process cause high cpu usage(about 25% usage on 1.6G Xeon * 2's server). follow is the script code: <? $mem = $dbm->getMemcached(); $in = "testword!"; $mem->set("DDDFFD",$in); for($i=0;$i<100;$i++) { $out = $mem->get("DDDFFD"); echo $i.":".$out."<BR>"; } ?> My project must using the get method many times to catch the data in php script, project's script can't support enough concurrent connections. Does this issue happen because libmemcached or php_memcached?