正在启动,请稍后···
./开始:第 21 行:21869 杀死 nohup $JAVA_家/垃圾桶/java -服务器-Duser.timezone=亚洲/上海-XX:ReservedCodeCacheSize=256米-XX:最大直接内存大小=1024m-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -Dlog4j.rootpath=./ -Djava.security.policy=jstatd.all.policy -Djava.rmi.服务器.hostname=127.0.0.1 -Dcom.sun.management.jmxremote.port=9602 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.EPollSelectorProvider -Xdebug -Xrunjdwp:transport=dt_套接字、地址=9502,服务器=y,暂停=n-Xms${服务内存}米-Xmx${服务内存}米-Xmn${服务内存half}米-XX:永久大小=${服务管理}米-XX:最大PermSize=${servmaxperm}米-XX:+UseParNewGC -XX:+使用ConcMarkSweepGC -XX:+使用CMSCompactAtFullCollection -XX:+CMSClassUnloadingEnabled -XX:-CMSParallelRemarkEnabled -XX:CMSInitiatingOccupancyFraction=80 -XX:+CMSScavengeBeforeRemark -verbose:gc -XX:+PrintGCDateStamps -XX:+打印GC详细信息-XX:+HeapDumpOnOutOfMemoryError -XX:+PrintGCApplicationStoppedTime -Xloggc:。/日志/gc服务器.log-XX:+AggressiveOpts -XX:-OmitStackTraceInFastThrow -jar 。/游戏库.jar > /开发者/空 2>&1
然后就无限“正在启动,请稍后···”
是不是对服务器配置有要求?
./start: line 21: 21869 Killed nohup $JAVA_HOME/bin/java -server -Duser.timezone=Asia/Shanghai -XX:ReservedCodeCacheSize=256m -XX:MaxDirectMemorySize=1024m -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -Dlog4j.rootpath=./ -Djava.security.policy=jstatd.all.policy -Djava.rmi.server.hostname=127.0.0.1 -Dcom.sun.management.jmxremote.port=9602 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.EPollSelectorProvider -Xdebug -Xrunjdwp:transport=dt_socket,address=9502,server=y,suspend=n -Xms${servmem}m -Xmx${servmem}m -Xmn${servmemhalf}m -XX:PermSize=${servperm}m -XX:MaxPermSize=${servmaxperm}m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+UseCMSCompactAtFullCollection -XX:+CMSClassUnloadingEnabled -XX:-CMSParallelRemarkEnabled -XX:CMSInitiatingOccupancyFraction=80 -XX:+CMSScavengeBeforeRemark -verbose:gc -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+HeapDumpOnOutOfMemoryError -XX:+PrintGCApplicationStoppedTime -Xloggc:./logs/gcserver.log -XX:+AggressiveOpts -XX:-OmitStackTraceInFastThrow -jar ./gamebase.jar > /dev/null 2>&1
你用的什么配置呢?
QQ:3258794818
感谢大佬的分享,赞一个!