cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (CASSANDRA-4442) Stack size settings in cassandra-env.sh assume 64-bit x86
Date Fri, 20 Jul 2012 20:43:34 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-4442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brandon Williams reopened CASSANDRA-4442:
-----------------------------------------


Reverted, as this is causing failures:

{noformat}

java.lang.StackOverflowError
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
        at java.io.DataOutputStream.flush(DataOutputStream.java:106)
        at org.apache.cassandra.net.OutboundTcpConnection.writeConnected(OutboundTcpConnection.java:156)
        at org.apache.cassandra.net.OutboundTcpConnection.run(OutboundTcpConnection.java:126)
{noformat}
                
> Stack size settings in cassandra-env.sh assume 64-bit x86
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-4442
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4442
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.2
>            Reporter: Trevor Robinson
>            Assignee: Trevor Robinson
>             Fix For: 1.1.3
>
>         Attachments: v1-0001-CASSANDRA-4275-Use-JVM-s-reported-minimum-stack-size-o.txt
>
>
> The fix for CASSANDRA-4275 hard-codes a 160 KB stack size when using Java 7 on Linux.
This assumes the Oracle 7u4 JVM on 64-bit x86. For systems like 32-bit ARM, this size is excessive
(the minimum for 7u4 on ARM is 60-64 KB). Also, the minimum allowed value is version-dependent
and is calculated dynamically by the JVM on startup based on Linux parameters that can also
change. A better approach would be to query the JVM for the minimum stack size.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message