| I saw one of my new geoserver hang on startup for minutes on a `find` command spawned from startup.sh script. I found the find call in https://github.com/geoserver/geoserver/blob/master/src/release/bin/startup.sh#L74 In my case there are several folders in data directory wich contains mass of files. So the find through the whole $GEOSERVER_HOME takes up to 10 minutes. with
export MARLIN_JAR=`find \`pwd\` -mindepth 1 -maxdepth 1 -type d -not -path "\`pwd\`/data*" -not -path "\`pwd\`/logs" -exec find "{}" -name "marlin*.jar" \; | head -1`
it will take part of a second. |