You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/05/01 11:48:45 UTC
[GitHub] [couchdb-documentation] bpluly edited a comment on issue #511: Extend Clouseau(search-plugin) installation docs
bpluly edited a comment on issue #511:
URL: https://github.com/apache/couchdb-documentation/issues/511#issuecomment-622356952
The classpath depends on which way you use couchdb/clouseau, if you use docker and the jar at https://github.com/kocolosk/clouseau-docker, thanks to https://app.slack.com/team/UKRSK0L5A for pointing that out, then the classpath is part of the exec script.
But if you just grab the cloudant release jar the script assumes that the classpath is already defined.
As all of the dependencies are in the same directory the classpath should be
` -classpath '/opt/clouseau/*'`
If you installed clouseau in /opt/clouseau
The parameters used for the server are not at all optimal, for instance max memory should be restricted to no more than a third of the memory arena. Thank you couchdb for making me dredge up ancient Lucene-fu.
For those interested my current server parameters are:
`java -server \ -verbose:jni \ -Xmx1G \ -Dsun.net.inetaddr.ttl=30 \ -Dsun.net.inetaddr.negative.ttl=30 \ -Dlog4j.configuration=file:/opt/clouseau/log4j.properties \ -XX:OnOutOfMemoryError="kill -9 %p" \ -XX:+UseConcMarkSweepGC \ -XX:+CMSParallelRemarkEnabled \ -classpath '/opt/clouseau/*' \ com.cloudant.clouseau.Main \ /opt/clouseau/clouseau.ini `
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org