Your message dated Mon, 11 Apr 2005 14:07:35 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Closing
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 17 Feb 2005 20:28:22 +0000
>From [EMAIL PROTECTED] Thu Feb 17 12:28:22 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mail.sigma.su.se (sigma.su.se) [130.237.152.201] 
        by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
        id 1D1sG5-00057r-00; Thu, 17 Feb 2005 12:28:21 -0800
Received: (qmail 20200 invoked from network); 17 Feb 2005 20:28:16 -0000
Received: from unknown (HELO paranor.sigma.su.se) (130.237.152.221)
  by mail.sigma.su.se with SMTP; 17 Feb 2005 20:28:16 -0000
Date: Thu, 17 Feb 2005 21:28:16 +0100 (CET)
From: Alexander Kjall <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: memcached gets into endless loop
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


Package: memcached
Version: 1.1.11-2

I have installed the 1.1.11 version of memcached on an debian/sarge box.
I'm currently expericing some problems, I access it from java with the 1.2
version of the client.

And I do something analog to this in the java code:
{
String[] serverlist = { "quismo.com:11211" };

SockIOPool pool = SockIOPool.getInstance();
pool.setServers(serverlist);
pool.initialize();

MemCachedClient cache = new MemCachedClient();
String key = "r" + Integer.toString(uid) + "," + Integer.toString(iid);
byte[] inter = (byte[])cache.get(key);

if(inter != null)
    noguess = NativeHandler.toInt(inter);
}
and the deamon refuses to answer when I do that. If i strace the
memcached-process it looks like this when my program tries to get(..) from
it.

1: poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=6,
events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}], 5, 4999) =
0
2: gettimeofday({1108485756, 536818}, NULL) = 0
3: gettimeofday({1108485756, 537430}, NULL) = 0
4: time(NULL)                              = 1108485756
5: gettimeofday({1108485756, 538562}, NULL) = 0
6: gettimeofday({1108485756, 539127}, NULL) = 0
7: poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=6,
8: events=POLLIN}, {fd=7, events=POLLIN, revents=POLLIN}, {fd=8,
events=POLLIN}], 5, 4999) = 1
9: gettimeofday({1108485759, 940935}, NULL) = 0
10:read(7, 0x82, 2048)                     = -1 EFAULT (Bad address)
11:gettimeofday({1108485759, 942228}, NULL) = 0
12:gettimeofday({1108485759, 942796}, NULL) = 0
13:poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=6,
events=POLLIN}, {fd=8, events=POLLIN}, {fd=7, events=POLLIN,
revents=POLLIN}], 5, 1595) = 1
14:read(6, 0x82, 2048)                     = -1 EFAULT (Bad address)
15:read(8, 0x82, 2048)                     = -1 EFAULT (Bad address)
16:read(7, 0x82, 2048)                     = -1 EFAULT (Bad address)
17:gettimeofday({1108485759, 945325}, NULL) = 0
18:gettimeofday({1108485759, 945918}, NULL) = 0

and then it loops line 13 to 18 endlessly.

I have tried googling for the issue but I can't find anything.

here is a solution:
I had the same problem on Sarge (using the PHP client) and I solved it
by recompiling memcached with the latest version of libevent.

// Per


---------------------------------------
Received: (at 295741-done) by bugs.debian.org; 11 Apr 2005 18:07:39 +0000
>From [EMAIL PROTECTED] Mon Apr 11 11:07:39 2005
Return-path: <[EMAIL PROTECTED]>
Received: from cpe-66-189-59-58.ma.charter.com (bonci.net) [66.189.59.58] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DL3Jy-0006HU-00; Mon, 11 Apr 2005 11:07:39 -0700
Received: from [192.168.158.36] (giantsquid.net [66.189.59.158])
        by bonci.net (Postfix) with ESMTP id E41FB3C2251
        for <[EMAIL PROTECTED]>; Mon, 11 Apr 2005 13:35:44 -0400 (EDT)
Subject: Closing
From: Jay Bonci <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Content-Type: multipart/signed; micalg=pgp-sha1; 
protocol="application/pgp-signature"; boundary="=-hrFF3EmHyd7QjupZR8lc"
Date: Mon, 11 Apr 2005 14:07:35 -0400
Message-Id: <[EMAIL PROTECTED]>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.1.1 
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-2.0 required=4.0 tests=BAYES_00,ONEWORD autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


--=-hrFF3EmHyd7QjupZR8lc
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

This bug is confirmed fixed. Closing.

                --jay

--=-hrFF3EmHyd7QjupZR8lc
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQBCWrznZNh5D+C4st4RAiu1AJwIcD50KCDwJnl7jwEj+ZqD5XQp2gCdGskU
akECIBF5164mAfeDaNJY678=
=kvvt
-----END PGP SIGNATURE-----

--=-hrFF3EmHyd7QjupZR8lc--


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to