yangsanlang999 edited a comment on issue #2260:
URL: https://github.com/apache/rocketmq/issues/2260#issuecomment-678929999


   > As long as the rocketmq user has write access to that location, then I 
think it should be fine. However I do want to know how did you find out that 
the disk is full. If the disk usage is above 75% the log should have some 
records. Can you find any logging related to this problem ?
   
   Use commands to query results
   
   df -h
   
   Filesystem  Size     Used Avail Use% Mounted on
   /dev/sda2   493G  492G   0     100% /mnt/syncdata 
   
   
   du -sh /mnt/syncdata/store/*
   
   479G  /mnt/syncdata/store/commitlog 
   
   ------------------------------------------
   View the source code, the path is hard-coded, and no setting is found
   ; org.apache.rocketmq.store.config.MessageStoreConfig,
   
   @ImportantField
       private String storePathCommitLog = System.getProperty("user.home") + 
File.separator + "store"
           + File.separator + "commitlog";
   
   So, if you customize the commitlog file path, do you want to modify the 
source code?


----------------------------------------------------------------
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:
[email protected]


Reply via email to