>Rick C. Petty wrote: > > Barbara <[email protected]> wrote: > > > > > > I tried adding "-c 1" to the ulimit line, but I got (note -m): > > > $ du -m npviewer.bin.core > > > 1126 npviewer.bin.core > > > > > > Do you thing that changing the value for -s can help? > > > Which value would you suggest to try? > > > > Hmm, have you tried "-c 0" instead? Another place to fix it system-wide is > > in /etc/login.conf. I've sometimes changed or added the line: > > :coredumpsize=0:\ > > > > Of course that only affects subsequent logins, not current ones. I believe > > in either case if you set it to zero, you get no core dump file at all. > >If you don't need coredumps at all, you can easily disable >them globally (i.e. system-wide) with this sysctl command >(as root). It takes effect immediately. > ># sysctl kern.coredump=0 > >To do that automatically every time the machine boots, add >this line to /etc/sysctl.conf: > >kern.coredump=0 > >Best regards > Oliver
Thank you Oliver, but as I explained I don't want to disable coredump. I just want to do it for npviewer, because I don't know how useful they are and because they are VERY big. Cheers Barbara _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to "[email protected]"
