Why the values of 'ulimit -c' are different between bash and sh.

Solution Verified - Updated -

Issue

  • ulimit -c returns abnormal value:

    # cat /etc/security/limits.conf
    * soft core 10000
    # ulimit -c
    10000
    # sh 
    sh-4.1# ulimit -c                        
    20000                           <------return abnormal value
    sh-4.1# bash
    # ulimit -c
    10000
    

Environment

  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.