@miconda: they are both (core1 and core2) from the same server, just later in time. So core1 was generated at say for example 1pm, then kamailio is restarted by watchdog, and at 3pm core2 is generated.
Regarding core-per-pid:
I have the following in `/etc/kamailio/kamailio.cfg`:
``` fork=yes ```
And in `/etc/sysctl.d/kamailio.conf`:
``` # Kamailio debugging kernel.core_pattern = /var/tmp/core.%e.%p.%h.%t kernel.core_uses_pid = 1 fs.suid_dumpable = 2 ```
Just to verify:
``` root@sbc01:~# cat /proc/sys/kernel/core_uses_pid 1 root@sbc01:~# ```
Am I missing anything to get the core-per-pid ??