TinyDNS and running out of memory - pfSense 2.1
-
Hi, hoping somebody can help me debug this problem.
I use TinyDNS and DNS resolver to service my private DNS and be an overall resolving for any of my hosts on my private network. it works well, however, after a few days the TinyDNS server stops resolving.
I have also seen on a few occasions that my syslog reports out of swap space - I'm using pfSense on an ALIX board. I'm thinking this is related.
From what I can determine I think I'm running out of space, because TWO svscan's are starting - and I cant figure out how/why:
2.1-RELEASE][admin@alix.leenooks.vpn]/root(3): ps -ajx | grep svscan root 45130 1 45130 45130 0 Is ?? 0:00.01 /bin/sh -c /usr/local/bin/svscan /var/run/service 2>&1 | /usr/local/bin/multilog t /var/log/svscan root 45368 45130 45130 45130 0 S ?? 0:30.14 /usr/local/bin/svscan /var/run/service root 45685 45130 45130 45130 0 S ?? 11:55.75 /usr/local/bin/multilog t /var/log/svscan root 80047 1 80047 80047 0 INs ?? 0:00.01 /bin/sh -c /usr/local/bin/svscan /var/run/service 2>&1 | /usr/local/bin/multilog t /var/log/svscan root 80351 80047 80047 80047 0 SN ?? 3:17.85 /usr/local/bin/svscan /var/run/service root 75639 22908 75353 46123 2 R+ 0 0:00.00 grep svscan
As a result of this, I have a growing number of "supervise" processes each day.
[2.1-RELEASE][admin@alix.leenooks.vpn]/root(7): ps -Af | grep super | awk '{print $6}'|sort|uniq -c 1 axfrdns 5 dnscache0 5 dnscache1 5 dnscache2 5 dnscache3 5 dnscache4 27 log 1 super 1 tinydns
I would expect to only have 1 "supervise dnscacheN", although they all have the same PPID (45368 in this case)?
Should I have two svscan's running? If not, what starts them? (I havent done any config updates with the GUI since I kill the 2nd one that is started at boot up.)
…deon