Question
'/proc/kcore' file is (apparently) 128T
Hi, since a couple of weeks I have an unstable Wordpress site on a DigitalOcean droplet. The actual WP backup file is about 150MB. After investigating file sizes (df -h) it turns out that ’/dev/vda1/’ has used 20G (of 25G) and ’/proc/kcore’ is even 128T…
Is there a way to ‘shrink’ these files of delete old logs?
Thanks.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
Like all other files below /proc the kcore file is only a virtual file. It contains the RAM the kernel can allocate. Therefore this should not be touched or read. It is nothing to worry about. This file doesn’t use actual disk space and only exists virtually.
On 64-bit systems the size of /proc/kcore is even 128TB because that’s the absolute limit of what 64-bit systems can allocate.