You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Peter Schuller (JIRA)" <ji...@apache.org> on 2010/09/16 16:47:34 UTC
[jira] Commented: (CASSANDRA-1508) only attempt to set size on
Linux (for portability)
[ https://issues.apache.org/jira/browse/CASSANDRA-1508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12910172#action_12910172 ]
Peter Schuller commented on CASSANDRA-1508:
-------------------------------------------
To be honest I have not investigated (due to the nature of the crash there's no crashdump or anything to investigate stack trace). I believe it's a general issue with the JDK on the platform. Even just "java -Xss128k" (without running anything but trying to elicit help) crashes.
My suspicion is that it is simply something general having more to do with a non-default stack size, or some arbitrary minimum limit, rather than actually eating the stack in Java code. But it's speculation at this point.
> only attempt to set size on Linux (for portability)
> ---------------------------------------------------
>
> Key: CASSANDRA-1508
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1508
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 0.7 beta 1
> Reporter: Peter Schuller
> Priority: Minor
> Fix For: 0.7 beta 2
>
> Attachments: trunk-1508.txt
>
>
> -Xss128k causes the JVM to refuse to start or crash on 64 bit FreeBSD 8 (this goes for two wildly differing openjdk 1.6:es and for the current openjdk7 branch). Attaching patch to only pass -Xss on Linux.
> The motivation here is that out-of-the-box behavior is important for first-comers, and for people in production on a non-Linux platform where -Xss128k would work are presumably committed enough that they can tweak this themselves.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.