Issue:- How to zip current running file with out any issues on prod weblogic servers 

Alert:–  Disk space alert >90% from weblgoic servers  

Error:Some times .out file is consuming more space like GB at the time we are gettinig File system alerts and the mount point is >95% 

Check the issue:- use the command to check the disk free ( df -h ) it will show the mount point usage 

For example we have to check server/logs –> here the .out file is consuming more space like 20 GB’s 

Solution:– here we won’t delete/nullify/ zip .out file ie., because of current running file so we have use zip -r current .outfile.zip current.outfile  

This will zip the current file and will be create a backup of the file and with current file as same and then immediately we can nullify the current file to fix the disk space. 

For example :- cat /dev/null > current.outfile 

 

 

Recent Posts

Start typing and press Enter to search