[OpenWrt-Devel] dnsmasq 2.71 dies silently (hangs) / how to debug
Roman Yeryomin
leroi.lists at gmail.com
Tue Aug 19 05:18:33 EDT 2014
On 19 August 2014 12:10, Bastian Bittorf <bittorf at bluebottle.com> wrote:
> sometimes dnsmasq 2.71 (trunk) dies silently but
> the process is still running. when sending:
>
> kill -SIGSEGV $PID
>
> there is no coredump but the daemon gets restarted (via procd?)
> normally inserting 'ulimit -c unlimited' just before starting
> the daemon should be enough, but i'am unsure how to apply,
> because there is some procd-magic involved. any hints?
I've noticed this yesterday too.
Seems this has something to do both with procd and ipcalc.sh (because
dhcp-range string had invalid ip addresses, like 0.0.0.100, in
/tmp/etc/dnsmasq.conf).
I was able to get it working after fixing the /tmp/etc/dnsmasq.conf
and setting USE_PROCD=0 in /etc/init.d/dnsmasq
Didn't have much time to debug further.
Regards,
Roman
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list