I guess /proc/core is where crash errors get logged? Well, my week-old install has made a 539Mb filealready :( Can I control the size of this file, and/or what gets written to it? Andy
On Sunday 03 November 2002 00:42, andy stone wrote:
I guess /proc/core is where crash errors get logged? Well, my week-old install has made a 539Mb filealready :( Can I control the size of this file, and/or what gets written to it?
Ugh, I've had 8.1 running for just 2 days, and /proc/Kcore is at 137.6 MB already. Methinks there's way too much information getting put in kcore for some reason. Parts of it can be read, and I really don't think it's "crash data". I know I certainly haven't had enough crashes in 2 days to warrant 137MB worth of info! Maybe when I was using Windoze... What gives? It's set up with owner/group root/root, with root-read-only permissions, and can't even change permissions on it to empty it out. This can't be good... Joe
Joe Sullivan
Can I control the size of this file, and/or what gets written to it?
Ugh, I've had 8.1 running for just 2 days, and /proc/Kcore is at 137.6 MB already.
Both of you should calm done :) /proc is a *virtual* file system that occupies next to *no* disk space besides the inodes needed for the file system. All information below /proc comes from the kernel and drivers, but the space needed is in memory and not on disk! /proc/Kcore is a direct view of the kernel memory. The size you see is the space used *in memory* (be it real or swap), not on the disk! For checking, just boot the rescue system from CD/DVD and mount your root file system. If you look at /proc in that mounted filesystem, you'll see it's empty, no subdirectories, no files taking any space. Philipp -- Philipp Thomas work: pthomas@suse.de Development SuSE Linux AG private: pth@t-link.de
Ah - many thanks Philipp and Rikard - I should have checked /proc/ first. Hmm, I think the way /proc/core is described as 'crash data' is a little alarmist, but even so I could have done du /proc before hitting the list. Thanks Andy On Sun, 2002-11-03 at 01:23, Philipp Thomas wrote:
Joe Sullivan
[Sun, 3 Nov 2002 01:28:49 +0100]: Can I control the size of this file, and/or what gets written to it?
Ugh, I've had 8.1 running for just 2 days, and /proc/Kcore is at 137.6 MB already.
Both of you should calm done :) /proc is a *virtual* file system that occupies next to *no* disk space besides the inodes needed for the file system. All information below /proc comes from the kernel and drivers, but the space needed is in memory and not on disk!
/proc/Kcore is a direct view of the kernel memory. The size you see is the space used *in memory* (be it real or swap), not on the disk! For checking, just boot the rescue system from CD/DVD and mount your root file system. If you look at /proc in that mounted filesystem, you'll see it's empty, no subdirectories, no files taking any space.
Philipp
-- Philipp Thomas work: pthomas@suse.de Development SuSE Linux AG private: pth@t-link.de
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Sunday 03 November 2002 00.42, andy stone wrote:
I guess /proc/core is where crash errors get logged? Well, my week-old install has made a 539Mb filealready :( Can I control the size of this file, and/or what gets written to it?
Andy
From wht i havce heard the /proc is a virtual filesystem. The files in there actually takes NO space unless you copy them onto the disk. Check with "du /proc" and you'll get total size=0 The /proc/core is a image of your current memory. So dont worry. It is all in good order. -- /Rikard ------------------------------------------------------------------------------------ Rikard Johnels email : rjhn@linux.nu Web : http://www.rikjoh.com Mob : +46 70 464 99 39 ------------------------ Public PGP fingerprint ---------------------------- < 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78 46 1C EE 56 >
participants (4)
-
andy stone
-
Joe Sullivan
-
Philipp Thomas
-
Rikard Johnels