|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2008-09-25 05:13 UTC] paulgao at yeah dot net
Description: ------------ we use memcache extension to read memcached tcp/udp port, have code is: memcache_get(array(x,xx,xxx)) when array is big(64 items), hava error messgae: Notice: MemcachePool::get() [memcachepool.get]: UDP packet loss, expected 0:0 got 1:0 Reproduce code: --------------- MemcachePool->get(array(x,xx,xxx)); Expected result: ---------------- array(x,xx,xxx) Actual result: -------------- Failed te read complete UDP header from stream OR Notice: MemcachePool::get() [memcachepool.get]: UDP packet loss, expected 0:0 got 1:0 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 08:00:02 2025 UTC |
This script did not have any problems: <?php $memcache = new MemcachePool; $memcache->connect('localhost', 11211, 11211); foreach (range(1, 1000) as $k) { $v = 'example key'; $memcache->set($k, $v); } var_dump($memcache->get(range(1,1000)));