php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58353 UDP packet loss
Submitted: 2008-09-25 05:13 UTC Modified: 2013-02-18 00:35 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: paulgao at yeah dot net Assigned: hradtke (profile)
Status: No Feedback Package: memcache (PECL)
PHP Version: 5.2.5 OS: Slackware
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-09-25 05:53 UTC] kinch dot zhang at gmail dot com
What if the memcache client receive the response header packets in a disordered way ? Can this extension handle that situation ?
 [2008-12-18 01:45 UTC] paulgao at yeah dot net
gdb backtrace:

#0  mmc_value_handler_multi (key=Cannot access memory at address 0xbfe554e0
) at /root/php-5.2.8/ext/memcache/memcache.c:1406
 [2010-10-05 11:03 UTC] hradtke@php.net
Please post an example script.  I would like to see exactly how this happens.
 [2011-03-10 21:55 UTC] hradtke@php.net
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)));
 [2011-09-15 22:08 UTC] info at uruma-ink dot co dot jp
http://www.pillspass.com/ priligy 29382 http://www.pillsparadise.com/ valtrex hfffdp
 [2012-12-07 07:23 UTC] rgfdgdfgdfg at yahoo dot cn
Moncler <b><a href="http://www.salejakke.com/">Canada Goose Sale</a></b>  jacket has a few of important steps to produce their down jacket. The composition of down jackets are made from as follows. The outside of a down jacket is typically made of durable, water-repellent nylon. This type of lining insures that no water can penetrate and also keeps the wearer dry. <b><a href="http://www.warmparka.com/">Canada Goose Parka</a></b> The nylon is <b><a href="http://www.cgparkasale.com/">Canada Goose Outlet</a></b> typically thicker around the shoulders and neck of the jacket. A down jacket is filled with goose feathers, which are very warm and are known to insulate heat very effectively.The features of down jackets are various. Down jackets will typically include other amenities for warmth, aside from the down goose feathers and water-resistant lining. Many down jackets will have fleece-lined hand-warmer pockets along with inside and outside chest pockets. A down jacket has a draw cord at the bottom and the top of the jacket. These cords can be easily tightened to seal in heat. Down jackets also come with full-length zippers and a chin guard to further keep out the cold.So how down jackets keep you warm? A down jacket keeps you warm by storing warm air that has been created by the body in the insulation of the jacket. A person's body radiates heat, and the down feathers in the jacket will store the heat. This creates an oven-like effect inside the jacket. The drawstrings on the jacket further help prevent heat from escaping, and the jacket will continue to get warmer the longer you wear it. The more insulated the jacket is, the harder it is for heat to escapePeople get benefits from down jackets.A down jacket is very beneficial for someone who lives in an area where there are freezing temperatures. These jackets are tested to withstand up to zero degrees, and can therefore ward off frostbite. Despite its extreme warmth, the jacket is still lightweight and won't weigh you down.If you spend a good amount of time outside during the cold weather, you'll have a much more comfortable experience wearing a down jacket. It is useful against freezing wind, and thus is perfect if you like to sleigh ride, snow board or ski.
 [2013-02-18 00:35 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Dec 06 22:03:34 2021 UTC