Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 40481 invoked from network); 6 Jul 2010 10:16:40 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Jul 2010 10:16:40 -0000 Received: (qmail 90319 invoked by uid 500); 6 Jul 2010 10:16:38 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 90166 invoked by uid 500); 6 Jul 2010 10:16:36 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 90158 invoked by uid 99); 6 Jul 2010 10:16:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jul 2010 10:16:35 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of juho.makinen@gmail.com designates 209.85.214.44 as permitted sender) Received: from [209.85.214.44] (HELO mail-bw0-f44.google.com) (209.85.214.44) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jul 2010 10:16:27 +0000 Received: by bwz7 with SMTP id 7so3965446bwz.31 for ; Tue, 06 Jul 2010 03:15:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=KrcLqruUQ89nn920O6oD2iPAl+6fmrEAvMB9LUsIu88=; b=TyA8IT0AKq7KXFQbRoPJ4CP9gjSF/MwyDzDD4QFd1a1UlpKcJR/cCCRrmHitSaTKWh lBqMsTTh/V0lEDZ2WoqLnO4x4flci5Qzma8BoWs7UpHNwH54l1TU0CEmczLmmtCA407p Au13nL1P+PkkFDg96IC6FiW6hbs79rikxo7CA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ZyisPnbCfxGqxIUiw0fxUp9fPEun70xOLbkBdOAgYxLOHuKFTiEPFO/btP0R97pTCB iKhAnhp1T3HqTfnJ8ctIS3IfVC4x7dbKsmW3HkIlcyuSbUBpT7U71EOdLIMpMp+YUDY+ J3QrNYlhUX6uQiyrlIhproybnXFu/T8C42tI4= MIME-Version: 1.0 Received: by 10.204.163.66 with SMTP id z2mr3493815bkx.63.1278411307261; Tue, 06 Jul 2010 03:15:07 -0700 (PDT) Received: by 10.204.118.20 with HTTP; Tue, 6 Jul 2010 03:15:07 -0700 (PDT) In-Reply-To: <4C32F1C0.4060907@gmail.com> References: <4C32F1C0.4060907@gmail.com> Date: Tue, 6 Jul 2010 13:15:07 +0300 Message-ID: Subject: Re: TSocket: Could not write 85 bytes -exception on some get_column calls From: =?ISO-8859-1?Q?Juho_M=E4kinen?= To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Pieter, I switched to framed transport but it didn't completely fix the problem. > PS. i see there is 0.6.3 now available for debian, I'll test that version= .. > like you said you don't have the issue on 0.6.3 it might be fixed there.. I'm sorry if I didn't tell clearly enough: the problem started at version 0.6.1, but updating to 0.6.3 did not fix the problem. - Juho M=E4kinen On Tue, Jul 6, 2010 at 12:05 PM, Pieter Maes wrote: > =A0I'm having a simmular problem, but i get verry random read problems 4 > bytes timouts. (mailed before about this) > > The only fix i got/found was, switch to framed transport instead of > buffered transport, but i still have the same problem (less frequent) > > running debian packaged cassandra (0.6.1) > with phpcassa lib (using thrift) > > I have it localhost and external host, so network/switching is not the > problem.. > I'm afraid there is still something wrong with php thrift.. (even after > patch https://issues.apache.org/jira/browse/THRIFT-347) > > PS. i see there is 0.6.3 now available for debian, I'll test that version= .. > like you said you don't have the issue on 0.6.3 it might be fixed there.. > > Pieter Maes > > Op 6/07/10 10:14, Juho M=E4kinen schreef: >> I'm having a strange problem when some of get_column and get_slice calls >> fails to "TSocket: Could not write 85 bytes paja.dev.pri:9160" exception= . >> The problem appears on some but not all calls to get_column and also >> some times to other calls. >> >> I'm using 0.6.3 on a single host (it's a development installation) but >> the problem appeared on 0.6.1. The client side is done with php using >> the thrift api. >> >> I've turned on TRACE level debugging on the cassandra server and the req= uests >> which doesn't fail produce this kind of debug to the logs: >> >> DEBUG [pool-1-thread-4] 2010-07-06 11:12:23,438 CassandraServer.java >> (line 266) get >> DEBUG [ROW-READ-STAGE:2] 2010-07-06 11:12:23,439 StorageProxy.java >> (line 755) weakreadlocal reading SliceByNamesReadCommand(table=3D'ig', >> key=3D'2249', columnParent=3D'QueryPath(columnFamilyName=3D'TalkLastMess= ages', >> superColumnName=3D'null', columnName=3D'null')', columns=3D[2582837,]) >> >> But the requests which fails to the TSocket: Could not write 85 bytes -e= xception >> doesn't print anything to the logs. I'm doing the same request all the >> time with same >> parameters. >> >> How I should debug this issue? All ideas and tips are greatly appreciate= d. >> >> =A0- Juho M=E4kinen >