incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ingram Chen <ingramc...@gmail.com>
Subject Re: busy thread on IncomingStreamReader ?
Date Tue, 11 May 2010 12:59:45 GMT
We have this problem initially. but it disappeared after several days'
operation. so we have no chance to investigate problems more.


2010/5/10 Даниел Симеонов <dsimeonov@gmail.com>

> Hi,
>   I've experienced the same problem, two nodes got stuck with CPU at 99%
> and the following source code from IncomingStreamReader class:
>
> while (bytesRead < pendingFile.getExpectedBytes()) {
>                 bytesRead += fc.transferFrom(socketChannel, bytesRead,
> FileStreamTask.CHUNK_SIZE);
>                 pendingFile.update(bytesRead);
>             }
>
> the cycle seems to loop forever...
> after both Cassandra instances were restarted the problem didn't occur.
>
> Best regards, Daniel.
>



-- 
Ingram Chen
online share order: http://dinbendon.net
blog: http://www.javaworld.com.tw/roller/page/ingramchen

Mime
View raw message