[ 
https://issues.apache.org/jira/browse/CASSANDRA-5517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13736044#comment-13736044
 ] 

Jonathan Ellis commented on CASSANDRA-5517:
-------------------------------------------

According to https://github.com/apache/cassandra/pull/18, recent Oracle JDK7 
also needs a larger stack.  Maybe we should just increase it to 256 across the 
board; with a fairly solid native protocol + HSHA story, keeping per-thread 
memory down isn't quite as important as it was when we started.

+1 on switching to OpenJDK 1.7 for Debian.
                
> Cassandra crashes at start with segmentation fault
> --------------------------------------------------
>
>                 Key: CASSANDRA-5517
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5517
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: VirtualBox 4.2.6 VM with 4GB RAM, Xubuntu 12.10 as host 
> and guest OS.
> Cassandra 1.2.4 installed on guest as Debian package.
>            Reporter: Sergey Naumov
>            Assignee: Eric Evans
>         Attachments: 
> 0001-CASSANDRA-5517-up-xss-to-256k-for-openjdk-1.6.patch, 
> 0002-optional-upgrade-dependency-to-OpenJDK-7.patch
>
>
> Sometimes Cassandra fails at start with segmentation fault:
> # /usr/sbin/cassandra -f
> xss =   -ea -javaajent:/usr/share/cassandra/lib/jamm-0.2.5.jar 
> -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms1024M -Xmx1024M 
> -Xmn100M -XX:+HeapDumpOnOutOfMemoryError -Xss180k
> Segmentation fault
> It seems that not only me encountered this bug: 
> http://snapwebsites.org/known-issues/cassandra-crashes-java-segmentation-fault
> Solution proposed on this link works.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to