Re: need explanation ulimit -c for limiting core dumps

2006-10-20 Thread Jason Roscoe
Chet Ramey wrote: Matthew Woehlke wrote: Chet Ramey wrote: [EMAIL PROTECTED] wrote: I'm trying to limit the size of coredumps using 'ulimit -c'. Can someone please explain why a core file gets generated from the coretest program (source is below)? Thanks for any help or suggestions. % ulim

Re: need explanation ulimit -c for limiting core dumps

2006-10-20 Thread Jason Roscoe
Mike Stroyan wrote: I'm trying to limit the size of coredumps using 'ulimit -c'. Can someone please explain why a core file gets generated from the coretest program (source is below)? Thanks for any help or suggestions. Shell interaction % ulimit -H -c unlimited % ulimit -S -c 0 % bash --ver

Re: need explanation ulimit -c for limiting core dumps

2006-10-20 Thread Chet Ramey
Matthew Woehlke wrote: > Chet Ramey wrote: >> [EMAIL PROTECTED] wrote: >>> I'm trying to limit the size of coredumps using 'ulimit -c'. Can >> someone please explain why a core file gets generated from the coretest >> program (source is below)? >>> >>> Thanks for any help or suggestions. >>> >>> %

Re: need explanation ulimit -c for limiting core dumps

2006-10-20 Thread Matthew Woehlke
Chet Ramey wrote: [EMAIL PROTECTED] wrote: I'm trying to limit the size of coredumps using 'ulimit -c'. Can someone please explain why a core file gets generated from the coretest program (source is below)? Thanks for any help or suggestions. % ulimit -H -c 512 % ./coretest 2048 rlim_cur,rl

Re: need explanation ulimit -c for limiting core dumps

2006-10-20 Thread Chet Ramey
[EMAIL PROTECTED] wrote: > Machine Type: i386-pc-linux-gnu > > Bash Version: 2.05b > Patch Level: 0 > Release Status: release > > Description: > > Hi, > I'm trying to limit the size of coredumps using 'ulimit -c'. Can someone > please explain why a core file gets generated from the coretest p

Re: need explanation ulimit -c for limiting core dumps

2006-10-20 Thread Mike Stroyan
I'm trying to limit the size of coredumps using 'ulimit -c'. Can someone please explain why a core file gets generated from the coretest program (source is below)? Thanks for any help or suggestions. Shell interaction % ulimit -H -c unlimited % ulimit -S -c 0 % bash --version GNU bash, versio