Enabling full core dumps...

Enabling full core dumps...

Post by Greg Sylvai » Tue, 02 Nov 1999 04:00:00



Hi,

I hope someone has a clue about this...

We have a large program (~ 50+ MB), dynamically linked with debugging
information.  Even after enable full core dumps via smit and
"unlimiting" resource limits, we still can't get a full core dump.  We
are trying this on a 4.3.2 system.

Is there anything else which needs to be done to enable full core dumps
of large programs.  (we are running as root as well.)

Thanks in advance for any assitance,
greg

P.S. as expected, we are able to generate core dumps of smaller, average
size programs.

 
 
 

Enabling full core dumps...

Post by Mark D. Rodrigue » Wed, 03 Nov 1999 04:00:00


Greg,

I assume you mean core files not system dumps.  In order to enable full
cores you must do 2 things, one of which you sound like you have done.  In
/etc/security/limits file set core = xxx where xxx is 512 byte blocks.  Then
the thing I think your missing is set the fullcore attribute of sys0, i.e.

    # chdev -l sys0 -a fullcore=true

You can check the value with

    # lsattr -El sys0

If you do this you'll notice a pre430core attribute for CHRP based machine,
generaly I leave that alone.

Good Luck, and feel free to re-post or send me e-mail if that doesn't help.

Regards,
Mark D. Rodriguez
Excellence will be tolerated.
President MDR Consulting, Inc.                                Perfection is
expected!

MDR Consulting
The very best in Technical Training and Consulting.
IBM Certified Advanced Technical Expert, CATE
AIX Support and Performance Tuning, RS6000 SP, TSM/ADSM and Linux


> Hi,

> I hope someone has a clue about this...

> We have a large program (~ 50+ MB), dynamically linked with debugging
> information.  Even after enable full core dumps via smit and
> "unlimiting" resource limits, we still can't get a full core dump.  We
> are trying this on a 4.3.2 system.

> Is there anything else which needs to be done to enable full core dumps
> of large programs.  (we are running as root as well.)

> Thanks in advance for any assitance,
> greg

> P.S. as expected, we are able to generate core dumps of smaller, average
> size programs.


 
 
 

1. dump core or not dump core

Howdy,

Some of my programs dump core, others don't. I tried
it on RedHat 6.1 and Mandrake 7.0 with kernels 2.2.14
and 2.2.15. I tried tcsh and bash with coredumpsize
set to 1GB. It seems to be application specific.

Is there any other criteria when suppressing apart from
the type of signal and the size limitation?
The application that doesn't dump core contains signal
handlers for some signals, but not for SEGV or ABRT.

Ruppert

 -----------------------------------------------------------------

 Dept of Elec. & Comp. Engr.    http://alpha.ece.ucsb.edu/~ruppert
 University of California       Phone: (805) 893-7788
 Santa Barbara, CA 93106        Fax:   (805) 893-3262
 -----------------------------------------------------------------

2. Sendmail? DNS? Problem please

3. core dumps core dumps everywhere...

4. XF86Config for V1VB VESA VGA

5. How to enable core dumps from root on Linux

6. info:

7. Enabling core dumps in child processes

8. FollowSymlinks Problem

9. CORE DUMPS: How to Generate/Enable ?

10. Enabling core dumps for setuid programs

11. enabling core dumps

12. enabling core dumps in tcsh (newbie)

13. how to enable core dump in linux(Suse)