Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 90642 invoked from network); 21 Jun 2010 15:08:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Jun 2010 15:08:58 -0000 Received: (qmail 77316 invoked by uid 500); 21 Jun 2010 15:08:57 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 77252 invoked by uid 500); 21 Jun 2010 15:08:57 -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 77244 invoked by uid 99); 21 Jun 2010 15:08:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jun 2010 15:08:56 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of maescool@gmail.com designates 74.125.82.44 as permitted sender) Received: from [74.125.82.44] (HELO mail-ww0-f44.google.com) (74.125.82.44) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jun 2010 15:08:49 +0000 Received: by wwi18 with SMTP id 18so1091077wwi.31 for ; Mon, 21 Jun 2010 08:08:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=oKZ1ej3fu+rbmJkNC1lqZL5erzaJJMDRWT70n34rpBI=; b=Z5ifF2SrpWaMO1aLQ7eS9YQVaOsP+7ZPfJQRKd4/ZKOPYUZ2eyL0mkCJ8hbR9eKXzT 4mczkRtlv3Jl4FMN+L6z5uzG0BO3MZEQaCb9nNZYUgoJS8+BQvlVDVbka56uwhQLMI9M amVhFyo9yuEEwx+G5iylOxwBKTQByuVgcX8Wg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=E3a+ludWwe84JqtezSiIF+izN1HKfy0LMCimLlZWwYSXI9kO7UaISrG+iKGsy34TNj m+Ogt/UfCE/LG1ZZUT0tsfNrWtdpuDn+r9eL6953Hz5ltWW7NvlBxflMb+TBSMFYOzA/ xw9L7O/rzl1HJEdNFvpmfAwvUoSEbMCjVZIzE= Received: by 10.216.85.73 with SMTP id t51mr367438wee.3.1277132906019; Mon, 21 Jun 2010 08:08:26 -0700 (PDT) Received: from mac-Pieter.local ([213.86.41.114]) by mx.google.com with ESMTPS id n50sm3884445weq.9.2010.06.21.08.08.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 21 Jun 2010 08:08:25 -0700 (PDT) Message-ID: <4C1F8068.8030006@gmail.com> Date: Mon, 21 Jun 2010 17:08:24 +0200 From: Pieter Maes User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; nl; rv:1.9.1.10) Gecko/20100512 Lightning/1.0b1 Thunderbird/3.0.5 MIME-Version: 1.0 To: user@cassandra.apache.org Subject: Re: TException: Error: TSocket: timed out reading 1024 bytes from 10.1.1.27:9160 References: In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: multipart/alternative; boundary="------------040905020102030200020206" This is a multi-part message in MIME format. --------------040905020102030200020206 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I have the same problem. (same lib) I'm using phpcassa lib on thrift but i got from time to time (verry random) "timed out reading 4 bytes from.." I did the patch and changed to framed transport. so i'm not sure what goes wrong :/ i'l try to get some extra debug and how to replicate te problem.. but again.. it happens verry random. Best regards Pieter Maes Op 22/04/10 03:30, Ken Sandney schreef: > I've tried the patch on > https://issues.apache.org/jira/browse/THRIFT-347 , but still got this > error: > > PHP Fatal error: Uncaught exception 'TException' with message > 'TSocket: timed out reading 1024 bytes from 10.0.0.169:9160 > ' in > /home/phpcassa/include/thrift/transport/TSocket.php:266 > Stack trace: > #0 > /home/phpcassa/include/thrift/transport/TBufferedTransport.php(126): > TSocket->read(1024) > #1 [internal function]: TBufferedTransport->read(8192) > #2 > /home/phpcassa/include/thrift/packages/cassandra/Cassandra.php(642): > thrift_protocol_read_binary(Object(TBinaryProtocolAccelerated), > 'cassandra_Cassa...', false) > #3 > /home/phpcassa/include/thrift/packages/cassandra/Cassandra.php(615): > CassandraClient->recv_batch_insert() > #4 /home/phpcassa/include/phpcassa.php(197): > CassandraClient->batch_insert('Pujia', '38426', Array, 0) > #5 /home/phpcassa/test1.php(46): CassandraCF->insert('38426', Array) > #6 {main} > thrown in /home/phpcassa/include/thrift/transport/TSocket.php on > line 266 > > --------------040905020102030200020206 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I have the same problem. (same lib)

I'm using phpcassa lib on thrift but i got from time to time (verry random) "timed out reading 4 bytes from.."
I did the patch and changed to framed transport.
so i'm not sure what goes wrong :/
i'l try to get some extra debug and how to replicate te problem.. but again.. it happens verry random.

Best regards
Pieter Maes

Op 22/04/10 03:30, Ken Sandney schreef:
I've tried the patch on https://issues.apache.org/jira/browse/THRIFT-347 , but still got this error:

PHP Fatal error:  Uncaught exception 'TException' with message 'TSocket: timed out reading 1024 bytes from 10.0.0.169:9160' in /home/phpcassa/include/thrift/transport/TSocket.php:266
Stack trace:
#0 /home/phpcassa/include/thrift/transport/TBufferedTransport.php(126): TSocket->read(1024)
#1 [internal function]: TBufferedTransport->read(8192)
#2 /home/phpcassa/include/thrift/packages/cassandra/Cassandra.php(642): thrift_protocol_read_binary(Object(TBinaryProtocolAccelerated), 'cassandra_Cassa...', false)
#3 /home/phpcassa/include/thrift/packages/cassandra/Cassandra.php(615): CassandraClient->recv_batch_insert()
#4 /home/phpcassa/include/phpcassa.php(197): CassandraClient->batch_insert('Pujia', '38426', Array, 0)
#5 /home/phpcassa/test1.php(46): CassandraCF->insert('38426', Array)
#6 {main}
  thrown in /home/phpcassa/include/thrift/transport/TSocket.php on line 266

--------------040905020102030200020206--