It is currently Tue, 07 Dec 2021 03:28:09 GMT



 
Author Message
 increasing ulimit for core files

I'm running RedHat 6.2 in a development environment and I need to
allow developers to write core files.  The problem is the default
ulimit settings are different for a user when logged in directly to
the console versus logged in remotely:

# console
% ulimit -H -c
unlimited
% ulimit -S -c
1000000

# telnet session
% ulimit -H -c
0
% ulimit -S -c
0

The 1000000 soft limit is being set in /etc/profile, but it fails for
remote logins with the message

bash: ulimit: cannot modify limit: Operation not permitted

because the hard limit is set to 0 for a remote login, so users cannot
increase it.  Does anyone know how/why/where this is set, or how I can
change this behavior?

Thanks.

--
-- Steve __



 Sat, 22 Nov 2003 04:33:29 GMT   
 increasing ulimit for core files

: I'm running RedHat 6.2 in a development environment and I need to
: allow developers to write core files.  The problem is the default
: ulimit settings are different for a user when logged in directly to
: the console versus logged in remotely:

: # console
: % ulimit -H -c
: unlimited
: % ulimit -S -c
: 1000000

: # telnet session
: % ulimit -H -c
: 0
: % ulimit -S -c
: 0

: The 1000000 soft limit is being set in /etc/profile, but it fails for
: remote logins with the message

: bash: ulimit: cannot modify limit: Operation not permitted

: because the hard limit is set to 0 for a remote login, so users cannot
: increase it.  Does anyone know how/why/where this is set, or how I can
: change this behavior?

: Thanks.

: --
: -- Steve __

Try modifying /etc/security/limits.conf

add something like:
*               soft    core            65536

--

John Taylor

Reply to:
john
at
giffords dot net



 Sat, 22 Nov 2003 11:51:58 GMT   
 increasing ulimit for core files

<snip>
<snip>

I tried setting both hard and soft limits in limits.conf - didn't
help.  The part that has me confused and seems to be the heart of the
matter is the fact that I'm seeing a different default hard limit for
console logins vs remote logins.  Seems like a security setting, but
I can't find where this is happening.  

Are others seeing the same thing?

Thanks.

--
-- Steve __



 Sun, 23 Nov 2003 00:11:25 GMT   
 
   [ 3 post ] 

Similar Threads

1. No core files on my Debian (ulimit+setrlimit question)

2. ulimit and generation of core files

3. ulimit and core files

4. increasing Ulimits for Oracle user in a VxFS oracle implementation

5. How to increase ULIMIT

6. How to increase ulimit for users (BSD 4.4)?

7. increasing ulimit?

8. increasing ulimit

9. ulimit in hp-ux: how to increase?


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software