[typo] ruby18.core = 99Megs!
phil at cryer.us
Wed Mar 22 15:04:42 EST 2006
On Wed, 22 Mar 2006 14:25:11 -0500, "Ryan Williams" <drcforbin at gmail.com> wrote:
> I believe this is a function of your shell. You can enable/disable it
> the ulimit command in bash, the limit command in tcsh, or the rlimit
> in ksh. This command will enable/disable it for that shell, not system
You are correct, in FreeBSD you can turn it off as you mentioned ('ulimit -c'), or modify it in /etc/login.conf for a global fix. Sorry to post it here, I was just concerned since it was a normal user running Typo, but it wrote the corefile out to /root.
> You can also use the limit command to change the max dump size. If you
> 'ulimit -c 0' in a bash shell, and something called from that shell
> you will get no dump.
> On 3/22/06, phil <phil at cryer.us> wrote:
>> Today I got a panic from my server - filesystem is full on / I took a
>> look, even though I hadn't added anything to /, and lo an behold I had
>> in /root:
>> 101648 -rw------- 1 root wheel 99M Mar 22 03:45 ruby18.core
>> How can I stop ruby from writing a core here, and/or how can I limit it
>> a smaller size? In the Unix partitioning scheme they advocate a small /
>> partition for security, this mine is only 250Megs.
>> http://fak3r.com - you dont have to kick it
>> Typo-list mailing list
>> Typo-list at rubyforge.org
More information about the Typo-list