Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
> thanks for your suggestions. However, they do not apply. limit / unlimit is
> SGI, no? I don't have those commands on my system. Also, limit coredumpsize 0
> _does_ create a core file, albeit with zero length. In my case, there is _no_
> such file.
No it is not SGI specific - they are builtin shell commands (so will
vary by shell used)
bash ref ulimit: http://www.gnu.org/software/bash/manual/bashref.html#SEC57
csh, etc limit:
http://www.softlab.ntua.gr/facilities/documentation/unix/docs/csh.txt
If it is zero then are you sure the following is not in /etc/profile (I
believe this is the redhat default):
ulimit -S -c 0 > /dev/null 2>&1
Googling also showed the above command to also be in /etc/init.d/functions
Both of which would produce produce 0 size core files and no file.
> As for limits.conf, there simply are no limits:
> [EMAIL:PROTECTED] ulimit
> unlimited
limits is used by pam to set login parameters for services on a per
login basis, i.e. in /etc/pam.d/ssshd you can add:
session required pam_limits.so
which reads the limits.conf file and set that for those loging in with
ssh. If there is nothing set in the file then it is a mute point but on
some systems it could be the cause of this problem.
Melissa
>
> Thanks,
> Mark
>
>
>
> On Tuesday 02 March 2004 13:56, Melissa Plunkett wrote:
>
>>Check /etc/profile for ulimit and /etc/security/limits.conf (see pam
>>limits doc in /usr/share/doc/pam-version).
>>
>>Melissa
>>
>>Mike Miller wrote:
>>
>>>On Tue, 2 Mar 2004, Mark Haidekker wrote:
>>>
>>>>I used to get coredumps from crasing programs, but at some time, this
>>>>stopped. I suspect it is somehow turned off by default in recent
>>>>distros (RH). Does anybody know off their head where to change the
>>>>setting?
>>>>
>>>>No, it's not a zero-byte coredump, it's no core file at all. Also,
>>>>ulimit and quotas are not set.
>>>
>>>I put the stuff below in my system tcsh .cshrc file. If you are using
>>>bash, you might have something similar in your bash system-wide config
>>>file (whatever that's called). Try "man bash" to get started.
>>>
>>>Mike
>>>
>>>
>>># The line below essentially eliminates the core dump files that
>>>sometimes # are created when programs crash. These files can be useful
>>>in diagnosing # software problems, but more often they will take up space
>>>(e.g., 8 MB) on # the hard drive and not be used or noticed. This
>>>command limits their size # to zero bytes. If you need to see core dump
>>>files, run the command # "unlimit coredumpsize". "man limit" for more
>>>information (for tcsh, refer # to csh instructions).
>>>
>>>limit coredumpsize 0
>>>_______________________________________________
>>>members mailing list
>>>EMAIL:PROTECTED
>>>http://mlug.missouri.edu/mailman/listinfo/members
>
>
--
/*********************************
/* Melissa Plunkett
/* System/Network Administrator
/* EMAIL:PROTECTED
/* College of Education
/* University of Missouri - Columbia
/* 111 London Hall
/* Columbia, MO 65211
/* Phone: (573) 884-6835
/* Fax: (573) 884-5158
*********************************/
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members