[SUMMARY] Cannot use ulimit/unlimit to enable core dumps (coredumpsize)

From: David Foster <foster_at_dim.ucsd.edu>
Date: Fri Jan 18 2002 - 20:28:24 EST
Platform: SunOS donor 5.8 Generic_108528-10 sun4u sparc SUNW,Ultra-80

Rebooted the machine, NOW I can get unlimited coredumpsize!

On one particular system I could not enable core dumps. I
tried sh/csh/tcsh shells with the respective ulimit/unlimit commands,
nothing worked:

	ulimit -c coredumpsize
	unlimit coredumpsize unlimited
	
I never did get the coredumpsize to change from 0. 

Albert and Arlynn reminded me that 'coreadm' manages core dump configuration,
see config file /etc/coreadm.conf. This was configured correctly,
with the same params as all my other systems where core dumps were
working fine.

Thanks to:

Riddoch, John E
Albert White
Arlynn Eftefield

> 
> Platform: SunOS donor 5.8 Generic_108528-10 sun4u sparc SUNW,Ultra-80
> 
> On one particular system I cannot enable core dumps. I've
> tried sh/csh/tcsh shells with the respective ulimit/unlimit commands,
> nothing works. Using tcsh:
> 
> $ limit
> cputime         unlimited
> filesize        unlimited
> datasize        unlimited
> stacksize       8192 kbytes
> coredumpsize    0 kbytes
> vmemoryuse      unlimited
> descriptors     256 
> 
> $ unlimit coredumpsize
> 
> $ limit
> cputime         unlimited
> filesize        unlimited
> datasize        unlimited
> stacksize       8192 kbytes
> coredumpsize    0 kbytes
> vmemoryuse      unlimited
> descriptors     256 
> 
> Using 'limit coredumpsize unlim' does the same thing (nothing!).
> 
> According to 'sysdef' the soft and hard limits are both Infinity:
> 
> $ sysdef | grep core
>           Infinity:Infinity             core file size
> 
> What gives? The shell binaries are the same as on my other systems
> where this works, and AFAIK the system settings are the same. 
> 
> I have plenty of swap space:
> 
> $ swap -l
> swapfile             dev  swaplo blocks   free
> /dev/dsk/c0t0d0s1   32,1      16 8392048 4131616
> 
> Dave Foster
> 
> 
>   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>    David Foster    National Center for Microscopy and Imaging Research
>     Programmer/Analyst     University of California, San Diego
>     dfoster@ucsd.edu       Department of Neuroscience, Mail 0608
>     (858) 534-7968         http://ncmir.ucsd.edu/
>   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers


   << All opinions expressed are mine, not the University's >>

  =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
   David Foster    National Center for Microscopy and Imaging Research
    Programmer/Analyst     University of California, San Diego
    dfoster@ucsd.edu       Department of Neuroscience, Mail 0608
    (858) 534-7968         http://ncmir.ucsd.edu/
  =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

   "The reasonable man adapts himself to the world; the unreasonable one
   persists in trying to adapt the world to himself.  Therefore, all progress
   depends on the unreasonable."   -- George Bernard Shaw
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Jan 18 19:29:19 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:32 EST