1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

sacrifice child?

Discussion in 'Asuswrt-Merlin' started by Elmer, Jul 21, 2019.

  1. Elmer

    Elmer Regular Contributor

    Joined:
    Jun 27, 2017
    Messages:
    80
    Running 384_12 (latest stable) on an AC88 with Diversion & Skynet with 2GB swap file. Had a crash (early in the morning hours with no load):

    kernel: Out of memory: Kill process 2306 (dnsmasq) score 16 or sacrifice child
    kernel: Killed process 2307 (dnsmasq) total-vm:1328kB, anon-rss:0kB, file-rss:0kB
    kernel: mroute: pending queue full, dropping entries.

    Wants to sacrifice child. Is this like Genisis 22:2 for the computer gods? But seriously, I would like to know what is going on here.
     
  2. RMerlin

    RMerlin Super Moderator

    Joined:
    Apr 14, 2012
    Messages:
    30,825
    Location:
    Canada
    Apparently your 2 GB swap wasn't enough (or your swap wasn't working), your router still ran out of memory. dnsmasq itself was using 1.2 GB.
     
  3. Elmer

    Elmer Regular Contributor

    Joined:
    Jun 27, 2017
    Messages:
    80
    Well considering it's 512M of memory to start with, I'd say swap worked, but what in the heck is dnsmasq doing? Is this some massive memory leak? For now, I'll add another bandaid and reboot once a day (was every other day). Device works great when it works, and I expect I should be tortured (donning my horse hair shirt) for running a bunch of scripts (all through amtm though).
     
    joe scian likes this.
  4. dave14305

    dave14305 Very Senior Member

    Joined:
    May 19, 2018
    Messages:
    975
    It looks like only 1.2 MB, not GB.
     
    QuikSilver likes this.
  5. Elmer

    Elmer Regular Contributor

    Joined:
    Jun 27, 2017
    Messages:
    80
    Makes more sense.
     
    L&LD and QuikSilver like this.
  6. ColinTaylor

    ColinTaylor Part of the Furniture

    Joined:
    Mar 31, 2014
    Messages:
    9,075
    Location:
    UK
    What time exactly did it error? Maybe it coincides with an update process, like downloading a new block list.
     
  7. Elmer

    Elmer Regular Contributor

    Joined:
    Jun 27, 2017
    Messages:
    80
    I believe you're on to something, thanks. It was 4:01 in the morning and there was chronjob activity just prior. Cleaning house!
     
  8. sfx2000

    sfx2000 Part of the Furniture

    Joined:
    Aug 11, 2011
    Messages:
    14,117
    Location:
    San Diego, CA
    Running out of memory - so the kernel OOM kills things in turn... Kill the parent, kill the children.

    Might be running too many things here for the given resources.
     
  9. Elmer

    Elmer Regular Contributor

    Joined:
    Jun 27, 2017
    Messages:
    80
    Waiting for a sale on the AX88.
     
  10. dave14305

    dave14305 Very Senior Member

    Joined:
    May 19, 2018
    Messages:
    975
  11. Elmer

    Elmer Regular Contributor

    Joined:
    Jun 27, 2017
    Messages:
    80
  12. Val D.

    Val D. Senior Member

    Joined:
    Jun 16, 2019
    Messages:
    213
    OMG! Did the router call 911? :D
     
    royarcher likes this.
  13. Marin

    Marin Very Senior Member

    Joined:
    Sep 15, 2015
    Messages:
    715
  14. royarcher

    royarcher Senior Member

    Joined:
    Apr 25, 2019
    Messages:
    279
    Location:
    from where women glow and men chunder
  15. Marin

    Marin Very Senior Member

    Joined:
    Sep 15, 2015
    Messages:
    715
    That’s too bad....


    Sent from my iPhone using Tapatalk
     
  16. royarcher

    royarcher Senior Member

    Joined:
    Apr 25, 2019
    Messages:
    279
    Location:
    from where women glow and men chunder
    You can say that again I had my credit card out and ready
     
  17. Marin

    Marin Very Senior Member

    Joined:
    Sep 15, 2015
    Messages:
    715
    Sorry... they will have those deals again, don’t give up just yet. I keep a close eye on Newegg deals everyday especially around holidays. You may want to consider signing up for their daily emails. I have been getting them for years...


    Sent from my iPhone using Tapatalk
     
  18. royarcher

    royarcher Senior Member

    Joined:
    Apr 25, 2019
    Messages:
    279
    Location:
    from where women glow and men chunder
    Thanks for the heads up I will sign up for the news letter with prices like that who knows what other bargains they have
     
  19. Elmer

    Elmer Regular Contributor

    Joined:
    Jun 27, 2017
    Messages:
    80
    Couldn't - home phone is internet based (
    Did you try the B&H link? Mine shipped yesterday. Pretty excited, especially with aimesh in the works.
     
  20. royarcher

    royarcher Senior Member

    Joined:
    Apr 25, 2019
    Messages:
    279
    Location:
    from where women glow and men chunder
    No I didn't but I will now thanks