We have an internal web server (virtualized, hosting ReviewBoard, but not super relevant) and we have a relatively consistent failure mode with failed NFS mounts causing / to fill up. Distro is Ubuntu (don't ask) if a solution depends on a different…
Almost everywhere I'm getting failures in logs complaining about No space left on device
Gitlab logs:
==> /var/log/gitlab/nginx/current <==
2016-11-29_20:26:51.61394 2016/11/29 20:26:51 [emerg] 4871#0: open() "/var/opt/gitlab/nginx/nginx.pid" failed…
On our production server there is a small drive for the root mount point /,
/var/log is taking too much space and I have to manually delete some files.
How can I move /var/log/ to let's say /home/log WITHOUT REBOOTING?
Here is the thing I thought:
$…
The drive is constantly filling up. You've hunted down all the spare and random files you can. grep'd for coredump files and even removed some of the un-needed backups...
What would be your next move.
The actual server in question has 10GB of…
I'm looking for a script/program which will display the top x largest directories/files and then descend into those folders and display the x largest directories/files for a configurable depth.
231MB bin
- 220MB ls
- 190MB dir
- 15MB def
-…
Using a striped mirror (Raid 10) as an example, if two disks are expanded to four, how can the data from the two disks be 're-balanced' (spread out) amongst the two mirrors?
That is, how can the files which were written to one mirror be written to…
When big files are deleted on a server, the files might still be referenced by processes, so the file system doesn't have more free space.
I tried to use lsof, but it seems it didn't list the deleted files. fuser -c did better work, but the list of…
I recently installed Munin on a development web server to keep track of system usage. I've noticted that the system's inode usage is climbing by about 7-8% per day even though the disk usage has barely increased at all. I'm guessing something is…
We have a set of directories containing lucene indexes. Each index is a mix of different file types (differentiated by extension) eg:
0/index/_2z6.frq
0/index/_2z6.fnm
..
1/index/_1sq.frq
1/index/_1sq.fnm
..
(it's about 10 different…
Recently I encountered a lack of diskspace problem on a SFTP server and I realised I have no idea how to check how much is left or even the total amount.
Does anyone know how to do this through an application like FileZilla or perhaps there is a…
The issue is simply that I want to do the best I can to clean-up/compact a VM's .vhdx drive before running the Optimize-VHD cmdlet. It's nice to use Microsoft's Disk Cleanup utility. The problem is that it's not installed by default.
The official…
I use monit on my server to monitor apache and mysql running.
Now I want to add an alert if the disk gets too full. I added this for testing in /etc/monit/monitrc:
check device rootfs with path /dev/md0
if space usage > 10% then alert
I have…
I am having some troubles with MongoDB and space usage. In particular, I once used to have a large collection of about 600 million records totaling 110+ GB on disk. Recently I decided to drop it because the data was outdated, to do so I dropped the…
I deleted a 2.3GB log file on my Ubuntu server, and df doesn't seem to be picking up the change. Is there typically a delay before df can detect that a large file has been deleted?