/tmp/out is eating up "/" (root) FS utilzaion

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tthomas
Posts: 39
Joined: Mon Jun 01, 2015 6:54 am

/tmp/out is eating up "/" (root) FS utilzaion

Post by tthomas »

Hi,

/tmp/out is 5GB and it is utilizing / FS. When i use "fuser -cu /tmp/out" there are many process in aapche, root, postgress process, nagios, haldaemon are using this file. I am not sure if we can rotate this file on the go. or we should stop, nagios or wlsagent servrice and then we can rotate this file.

Right now we only have 240MB in /.

Please advice.

Thanks,
Tino Thomas
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: /tmp/out is eating up "/" (root) FS utilzaion

Post by tgriep »

The safest thing to to is to stop the processes, remove the file and start the processes again.
Be sure to check out our Knowledgebase for helpful articles and solutions!
tthomas
Posts: 39
Joined: Mon Jun 01, 2015 6:54 am

Re: /tmp/out is eating up "/" (root) FS utilzaion

Post by tthomas »

Thansk for your input. I was also wondering about the same. But the simple gzip on .tmp.out. It worekd out well. It automatically created reduced the size and all current logs are saved in new /tmp/out file.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: /tmp/out is eating up "/" (root) FS utilzaion

Post by tgriep »

Good to hear. Shall we close the post for you?
Be sure to check out our Knowledgebase for helpful articles and solutions!
tthomas
Posts: 39
Joined: Mon Jun 01, 2015 6:54 am

Re: /tmp/out is eating up "/" (root) FS utilzaion

Post by tthomas »

Yes. So, Is it Okay to move /tmp/out like this way? Like to know if anyone else came across this and any other work around/solution in place?

Regards,
Tino Thomas
Locked