#!/bin/bash
yml_file=application-37998.yml
echo "startup $1 begin..."
nohup java -Xmx512M -Xms512M -XX:MaxTenuringThreshold=5 -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled -XX:LargePageSizeInBytes=4m -XX:+UseFastAccessorMethods -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 -XX:ParallelGCThreads=20 -XX:+ExplicitGCInvokesConcurrent -Djava.awt.headless=true -Dfile.encoding=utf-8 -Duser.timezone=GMT+08 -jar -Dspring.config.location=./$yml_file $1 > /dev/null > &1 &
echo "startup $1 end..."
评论0