On Thu, Jan 28, 2010 at 12:53:16PM +0100, Mihaly Zachar wrote:
> Sziasztok!
>
> Adott egy Etch, !!!*gyari Debian-os kernellel*!!!, ami production
> allapotban van (marmint maga a gep).
> Felmerult a gyanu, hogy az egyik alkalmazas neha elhal, viszont
> nemlattunk coredumpot sosem.
>
> Nekialltam, es el kezdtem probalgatni, es valoban nem tud coredumpot
> csinalni ez a gep.
Nekem ez van az rc.local-ban
---
mkdir -p /tmp/corefiles/
chmod 1777 /tmp/corefiles/
---
és a sysctl.conf-ba
---
fs.suid_dumpable = 2
kernel.core_pattern = /tmp/corefiles/core.%t.%e.%p
kernel.core_uses_pid = 0
---
Igy már csinálja a core fájlt, halandó felhasználónak is.
--
[Varadi Gabor]
_________________________________________________
linux lista - [email protected]
http://mlf2.linux.rulez.org/mailman/listinfo/linux