incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Viktor Jevdokimov <>
Subject FYI: Java 7u4 on Linux requires higher stack size
Date Fri, 25 May 2012 15:31:18 GMT
Hell all,

We've started to test Oracle Java 7u4 (currently we're on 7u3) on Linux to try G1 GC.

Cassandra can't start on 7u4 with exception:

The stack size specified is too small, Specify at least 160k
Cannot create Java VM

Changing in -Xss128k to -Xss160k allowed to start Cassandra, but when Thrift
client disconnects, Cassandra log fills with exceptions:

ERROR 17:08:56,300 Fatal exception in thread Thread[Thrift:13,5,main]
        at Method)
        at Source)
        at Source)
        at Source)
        at Source)
        at Source)
        at org.apache.thrift.transport.TTransport.readAll(
        at org.apache.thrift.transport.TFramedTransport.readFrame(
        at org.apache.thrift.transport.TTransport.readAll(
        at org.apache.thrift.protocol.TBinaryProtocol.readAll(
        at org.apache.thrift.protocol.TBinaryProtocol.readI32(
        at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(
        at org.apache.cassandra.thrift.Cassandra$Processor.process(
        at org.apache.cassandra.thrift.CustomTThreadPoolServer$
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$ Source)
        at Source)

Increasing stack size from 160k to 192k eliminated such excepitons.

Just wanted you to know if someone tries to migrate to Java 7u4.

Best regards / Pagarbiai
Viktor Jevdokimov
Senior Developer

Phone: +370 5 212 3063, Fax +370 5 261 0453
J. Jasinskio 16C, LT-01112 Vilnius, Lithuania
Follow us on Twitter: @adforminsider<!/adforminsider>
What is Adform: watch this short video<>

[Adform News] <>

Disclaimer: The information contained in this message and attachments is intended solely for
the attention and use of the named addressee and may be confidential. If you are not the intended
recipient, you are reminded that the information remains the property of the sender. You must
not use, disclose, distribute, copy, print or rely on this e-mail. If you have received this
message in error, please contact the sender immediately and irrevocably delete this message
and any copies.

View raw message