# control core file creation for service started with xinetd

**URL:** <https://forums.suse.com/t/control-core-file-creation-for-service-started-with-xinetd/26659>\
**Category:** SLES Configure-Administer\
**Created:** [February 6, 2015, 1:03pm UTC](https://forums.suse.com/t/control-core-file-creation-for-service-started-with-xinetd/26659 "2015-02-06T13:03:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![swadm](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@swadm](https://forums.suse.com/u/swadm)\
**Post date:** [February 6, 2015, 1:03pm UTC](https://forums.suse.com/t/control-core-file-creation-for-service-started-with-xinetd/26659/1 "2015-02-06T13:03:29Z")

</div>

[Application Core Files in SUSE Linux](https://www.novell.com/coolsolutions/feature/16257.html)  
is a nice HOWTO on controlling core file creation.

I need a tip on how to control core file creation for service started with xinetd.

I found [systemd: get core dumps for service started by xinetd](http://serverfault.com/questions/582871/systemd-get-core-dumps-for-service-started-by-xinetd), but I believe that is not relevant for SLES 11.

Who can offer help?

Regards, Thomas

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [February 6, 2015, 2:37pm UTC](https://forums.suse.com/t/control-core-file-creation-for-service-started-with-xinetd/26659/2 "2015-02-06T14:37:03Z")

</div>

Hi Thomas,

> I need a tip on how to control core file creation for service started with xinetd.

if you need per-service settings that you cannot control via /etc/security/limits.conf entries, you might try to create a wrapper script that determines and sets the wanted limits before starting the actual daemon.

Maybe there’s a more elegant way to handle this… but right now, the above is all I have to offer 😉

Regards,  
Jens

---

<div class="post-metadata">

**Author:** ![swadm](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@swadm](https://forums.suse.com/u/swadm)\
**Post date:** [February 6, 2015, 3:28pm UTC](https://forums.suse.com/t/control-core-file-creation-for-service-started-with-xinetd/26659/3 "2015-02-06T15:28:24Z")

</div>

Jens,

interesting suggestion, but the limits.conf appear not to apply to services started by xinetd, as my tests showed.

xinetd has some own limits (rlimit\_as etc.), but non for core file creation.

So the only way would be wrapping scripts, which I actually tried to avoid.

Regards, Thomas

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [February 6, 2015, 3:39pm UTC](https://forums.suse.com/t/control-core-file-creation-for-service-started-with-xinetd/26659/4 "2015-02-06T15:39:36Z")

</div>

Hi Thomas,

[QUOTE=swadm;26235]Jens,

interesting suggestion, but the limits.conf appear not to apply to services started by xinetd, as my tests showed.[/QUOTE]

ups - good to know, probably that file is only used by pam\_limits.so.

[QUOTE=swadm;26235]xinetd has some own limits (rlimit\_as etc.), but non for core file creation.

So the only way would be wrapping scripts, which I actually tried to avoid.[/QUOTE]

now that’s something I can fully understand!

Regards,  
Jens
