The newnslog file does not get compressed which leads NetScaler appliance to run out of disk space (/var gets full).
root@my-vpx# cd /var/nslog/ root@my-vpx# cat nslog.nextzip root@my-vpx#Notice the output of above command does not display any output.
root@my-vpx# cd /var/nslog/ root@my-vpx# cat nslog.nextzip 88
Log on to NetScaler CLI and go to shell prompt and run the following commands:
root@my-vpx# cd /var/nslog/ root@my-vpx# cat nslog.nextfile 88
Note the output number of the above command, which will be used later in this article. The output of this command in this case is 88.
3. Execute the following:
cat nslog.nextzipIf nslog.nextzip does not have any number in it, then you need to subtract 2 from the nslog.nextfile value. For example: 88 – 2 = 86.
echo 86 > nslog.nextzipGo to /var/nslog and confirm if the newnslog files are getting compressed now.
Log on to NetScaler CLI and switch to shell prompt, open the crontab file in vi using the following command:
vi /etc/crontab
wq!
ls –lh
Issue is caused due to no value in nslog.nextzip file.