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

Brandon Williams commented on CASSANDRA-3991:
---------------------------------------------

bq. Are we sure it actually restart the process? I could be wrong but last time 
I checked, jsvc was only restarting a crashed process if the exit code was 123 
(or something like that)

I know from experience if you set the heap to a small value like 64M and use 
jsvc on a machine with a small amount of memory (like 256M) it will a) use more 
memory than the system has, b) get killed by the oom killer, and c) restart the 
cycle again.
                
> Investigate importance of jsvc in debian packages
> -------------------------------------------------
>
>                 Key: CASSANDRA-3991
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3991
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Brandon Williams
>            Assignee: Brandon Williams
>             Fix For: 1.1.1
>
>
> jsvc seems to be buggy at best.  For instance, if you set a small heap like 
> 128M it seems to completely ignore this and use as much memory as it wants.  
> I don't know what this is buying us over launching /usr/bin/cassandra 
> directly like the redhat scripts do, but I've seen multiple complaints about 
> its memory usage.

--
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

        

Reply via email to