Rich Zhang created ROCKETMQ-246:
-----------------------------------

             Summary: The gc log dir(/dev/shm) used in 
runbroker.sh/runserver.sh not exists on mac
                 Key: ROCKETMQ-246
                 URL: https://issues.apache.org/jira/browse/ROCKETMQ-246
             Project: Apache RocketMQ
          Issue Type: Improvement
            Reporter: Rich Zhang
            Assignee: vongosling
            Priority: Minor


In runbroker.sh and runserver.sh, there are a JAVA_OPT below

{code:java}
 JAVA_OPT="${JAVA_OPT} -verbose:gc -Xloggc:/dev/shm/rmq_srv_gc.log 
-XX:+PrintGCDetails"
{code}

As the dir "/dev/shm" not exists on mac, a warning message "Cannot open file 
/dev/shm/rmq_srv_gc.log due to No such file or directory" will be printed when 
run these scripts.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to