[ https://issues.apache.org/jira/browse/CASSANDRA-16565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17779017#comment-17779017 ]
Claude Warren edited comment on CASSANDRA-16565 at 10/25/23 11:49 AM: ---------------------------------------------------------------------- The OSHI library does not have a method to retrieve the maximum processes. The maximum process request is equivalent to "ulimit -u". The OSHI library also returns 64 bit longs rather thant 32 bit values as sigar does. This results in some differences in the tests. I have extracted the sigar code into an evaluation package and coded an OSHI replacement to verify that there are no differences in the results. Evaluation code for the differences between Sigar and OSHI can be found at: https://github.com/Aiven-Labs/compare_oshi_sigar was (Author: claudenw): The OSHI library does not have a method to retrieve the maximum processes. The maximum process request is equivalent to "ulimit -u". The OSHI library also returns 64 bit longs rather thant 32 bit values as sigar does. This results in some differences in the tests. I have extracted the sigar code into an evaluation package and coded an OSHI replacement to verify that there are no differences in the results. > Remove dependency on sigar > -------------------------- > > Key: CASSANDRA-16565 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16565 > Project: Cassandra > Issue Type: Improvement > Components: Build > Reporter: David Capwell > Assignee: Claude Warren > Priority: Normal > Fix For: 5.x > > > sigar is used to check if the environment has good settings for running C*, > but requires we bundle a lot of native libraries to perform this check (which > can also be done elsewhere). This project also appears to be dead as the > last commit was around 6 years ago. > With the move to resolve artifacts rather than commit them, removing this > dependency would remove majority of the artifacts fetched from GitHub. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org