What response do you get from the "ulimit" command?
/:-/
A system crash, or a process crash?
--
Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/
A crash caused by a hardware error could make it impossible to get a
core dump.
It is "unlimited"
It actually just a memory issues
Great, here is the output, is that mean core is disabled?
global core file pattern: /var/core/core.%f.%p.%n.%u.%g.%t
init core file pattern: /var/core/core.%f.%p.%n.%u.%g.%t
global core dumps: disabled
per-process core dumps: enabled
global setid core dumps: disabled
per-process setid core dumps: disabled
global core dump logging: enabled
Memory is hardware! If the attempt to dump core triggers another memory
error, the system may crash without writing the entire core dump.
Running setuid and/or setgid.
--
"I'm a doctor, not a mechanic." Dr Leonard McCoy <mc...@ncc1701.starfleet.fed>
"I'm a mechanic, not a doctor." Volker Borchert <v_bor...@despammed.com>
The setting for "init core file pattern" is not the default. Supposing
it hasn't been overridden on its way down the process tree, any process
that is using credentials that don't allow it to write to /var/core
will not be able to take a per-process core dump. To quote from the
coreadm man page:
| Ordinary per-process core files are created in mode 600
| under the credentials of the process.
--
Chris Thompson
Email: ce...@cam.ac.uk
Sorry, what I mean if memory management problem
if the process in question is running inside a zone, from what i
understand it usually write the core file to the /var/core (or where
ever configured with coreadm) location in the *global* zone. i
couldn't see which version of solaris or whether or not zones are in
use so that may not help at all.
i know that in various types of code you can disable core file
creation by setting RLIMIT_CORE to zero in a call to setrlimit(2) or
equiv func