Asi je to lama question, ale jak se da vypnout tvoreni coru, myslim tim ty soubory core.XXXX, ktere se vutvareji po padu aplikace. Nektere pekne skryte zabiraji docela dost mista.
Printable View
Asi je to lama question, ale jak se da vypnout tvoreni coru, myslim tim ty soubory core.XXXX, ktere se vutvareji po padu aplikace. Nektere pekne skryte zabiraji docela dost mista.
http://www.doc.ic.ac.uk/csg/linux/files.html -> dole na strance.
Snad to pomuze.
Je to tam pouze pro csh a tcsh, ale treba to pude i v bashi. Otazka je, jestli to bude fungovat i kdyz program nebude spusteny v shellu. Ale jinak diky.
Jestli se nepletu, muze za vytvareni core souboru nastaveni "ulimit" na nenulovou hodnotu. Vetsinou ho najdes nekde v /etc/profile souboru. Hledej radek zacinajici "ulimit" a na nulu zmen cislo, ktere je za nim.
ulimit
This places various limitations on processes. When you start a program running, it is a process.
"ulimit -c 0" limits the core dump size to zero. Some applications can generate what are known as core dump files. These have the name of "core" in the filename. There are debugging files, of no use to the end user, and can be enormous. Probably they should not be generated in the first place on an end-user system, but it can happen, so this command prevents them from happening -- otherwise, you may find your available file space suddenly drops by mega-bytes.
Reference:
http://www.justlinux.com/nhf/Filesys...bout_Them.html