You are not logged in.

#1 2015-10-11 18:44:53

Kardell
Member
From: London a new Babylon
Registered: 2007-02-20
Posts: 225

pdnsd and suspend to RAM

Hi All,
  Do you experience the same with pdnsd after the suspend?
I have to restart the pdnds service every time I resume otherwise I cannot resolve new placed on the Internet.
Best regards,


"Those who don't know history are doomed to repeat it." Edmund Burke

Offline

#2 2015-10-21 01:09:30

Kardell
Member
From: London a new Babylon
Registered: 2007-02-20
Posts: 225

Re: pdnsd and suspend to RAM

This is only manifesting once a while when I resume from suspend, but not every time I resume.


"Those who don't know history are doomed to repeat it." Edmund Burke

Offline

#3 2015-10-21 01:18:47

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: pdnsd and suspend to RAM

Have you looked in your logs? Compared between the failed and successful resume?

Done any debugging at all? https://wiki.archlinux.org/index.php/St … ging_Guide


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2015-10-21 17:55:50

Kardell
Member
From: London a new Babylon
Registered: 2007-02-20
Posts: 225

Re: pdnsd and suspend to RAM

Hi,
It is definitely when I am in another place which can involve more than one factor.
I leave journalctl running to see what's coming up.

By the way what size of cache do you recommend? the default is 1MB. I know that is it stored on hard drive, but is it stored in RAM as well for a better performance? I could not find the answer in the manual.
If not I assume that big size can have a serious impact on the performance.

What strace is showing is that cache is in etc directory.

open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/etc/pdnsd.conf", O_RDONLY)       = 3
open("/etc/hosts", O_RDONLY)            = 4
open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 4

Cheers


"Those who don't know history are doomed to repeat it." Edmund Burke

Offline

#5 2016-03-06 20:01:21

rdahlgren
Member
From: Middle States, USA
Registered: 2014-02-17
Posts: 36
Website

Re: pdnsd and suspend to RAM

Kardell - This is not only a laptop issue. It regularly affects me on desktop as well. It seems that if I make a request to a previously uncached domain soon after resuming, the resolution will fail until I restart pdnsd. I don't see anything strange in `dmesg`. Have you made any additional findings?

Regards

Offline

Board footer

Powered by FluxBB