Re: [LEDE-DEV] dnsmasq: please revert/disable "dhcp-script" feature by default

2017-06-01 Thread e9hack
Am 01.06.2017 um 17:07 schrieb Dirk Brenken: > For testing, I've asked these users to comment the following line in > /etc/init.d/dnsmasq and to restart dnsmasq and adblock afterwards. > > # xappend "--dhcp-script=$DHCPSCRIPT" > > After that change everything is working fine again, as long

Re: [LEDE-DEV] dnsmasq: please revert/disable "dhcp-script" feature by default

2017-06-01 Thread Dirk Brenken
Hi Jo, many thanks for the links - very interesting. Meanwhile I've received three bug reports from adblock users, that they get oom errors after the "dhcp-script" commit (https://git.lede-project.org/?p=source.git;a=commit;h=b32689afd6a66133 9861086c669e15c936293cf8), e.g. Tue May 30 10:20:09 20

Re: [LEDE-DEV] dnsmasq: please revert/disable "dhcp-script" feature by default

2017-05-28 Thread Jo-Philipp Wich
Hi Dirk, the info reported by "top" (or "ps") is not useful to judge effective process memory usage, it does not account for c-o-w and simply displays the entire virtual allocated memory by a process. When I was asking for specific evidence I was thinking along the lines of OOM conditions that di

Re: [LEDE-DEV] dnsmasq: please revert/disable "dhcp-script" feature by default

2017-05-28 Thread Dirk Brenken
Hi, memory consumption with one dnsmasq process (dhcp-script disabled): root@blackhole:~# top -b Mem: 544992K used, 3472412K free, 40140K shrd, 10096K buff, 405728K cached CPU:   0% usr   0% sys   0% nic  95% idle   0% io   0% irq   5% sirq Load average: 0.00 0.00 0.00 2/100 15723   PID  PPID USE

Re: [LEDE-DEV] dnsmasq: please revert/disable "dhcp-script" feature by default

2017-05-28 Thread Jo-Philipp Wich
Hi, usually Linux processes use copy-on-write memory semantics for forked processes, are you sure that it indeed uses double the memory or did you just assume after you've seen two process entries? ~ Jo ___ Lede-dev mailing list Lede-dev@lists.infrad

[LEDE-DEV] dnsmasq: please revert/disable "dhcp-script" feature by default

2017-05-28 Thread Dirk Brenken
Hi, this new "feature" doubles the RAM resource needs (additional dnsmasq process) ... if you are using dns based adblock this can take additional 2-25 MByte. Please disable this feature by default. Thanks! Dirk ___ Lede-dev mailing list Lede-dev@list