Linux Core Dump Debug

Source: Internet
Author: User

1.check Core dump;

Ulimit-A

[Email protected]:~$ ulimit-AcorefileSize (blocks,-c)0Data seg Size (Kbytes,-d) unlimitedscheduling priority (-e)0fileSize (blocks,-f) unlimitedpending signals (-I.)31156Max locked Memory (Kbytes,-L) -max memory Size (Kbytes,-m) unlimitedopen files (-N)1024x768Pipe Size ( +Bytes,-p)8POSIX message queues (bytes,-Q)819200Real- TimePriority (-R)0stack size (Kbytes,-s)8192CPU Time(Seconds,-t) Unlimitedmax user processes (-u)31156virtual Memory (Kbytes,-v) UnlimitedfileLocks (-X) Unlimited

2.set

[Email protected]:~$ ulimit-C unlimited[email protected]-ubuntu:~$ ulimit-cunlimited[email protected]  1024x768[email protected]-ubuntu:~$ ulimit-c1024x768

$ulimit-c Unlimited (valid only for the current shell process)
or the last addition in ~/.BASHRC : ulimit-c Unlimited (once and for all)

3.gdb with Core

Re

1.https://www.cnblogs.com/bodhitree/p/5850212.html

Linux Core Dump Debug

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.