On Wed, 22 Mar 2006 14:25:11 -0500, "Ryan Williams" <[EMAIL PROTECTED]> wrote:
> I believe this is a function of your shell. You can enable/disable it
> using
> the ulimit command in bash, the limit command in tcsh, or the rlimit
> command
> in ksh. This command will enable/disable it for that shell, not system
> wide.
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.
Thanks
P
>
> You can also use the limit command to change the max dump size. If you
> run
> 'ulimit -c 0' in a bash shell, and something called from that shell
> crashes,
> you will get no dump.
>
> On 3/22/06, phil <[EMAIL PROTECTED]> 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
> this
>> 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
> to
>> a smaller size? In the Unix partitioning scheme they advocate a small /
>> partition for security, this mine is only 250Megs.
>>
>> Thanks
>>
>> P
>> --
>> http://fak3r.com - you dont have to kick it
>>
>> _______________________________________________
>> Typo-list mailing list
>> [email protected]
>> http://rubyforge.org/mailman/listinfo/typo-list
>>
>
>
_______________________________________________
Typo-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/typo-list