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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content