Bug #238

Multiple named processes running

Added by Michael Graff on Aug 22, 2011. Updated on Apr 21, 2012.
Closed Urgent Michael Graff

Description

When fiddling around in the UI, I have had up to 6 different named processes running. I don’t know how or why… In general, this happens mostly when futzing with interfaces a lot. A very lot.

History

Updated by Dave Täht on Aug 22, 2011.
hmm. This is bad. xinetd is only supposed to be able to spawn 1. Period.

Something else may be firing up named.

Updated by Dave Täht on Aug 22, 2011.
Updated by Michael Graff on Aug 22, 2011.
A coworker who you loaned a 3700 to also experienced this. We spotted two running on his box while debugging my insane DHCP issues.

I also notice something is checking the local time using ntpdc, which fails as ntpd isn’t running it seems, but something similar. Is it possible this script is restarting named?

Updated by Dave Täht on Aug 26, 2011.
the xinetd.d/named file needed a instances = 1 line to enforce the window where named hadn’t fully started yet.

Or so I hope. Fixed in rc6, will test further then. in the meantime, you can add instances = 1 to your /etc/xined.d/named file and see if the problem recurs. thx for spotting this!

Updated by Dave Täht on Sep 4, 2011.
I have not seen multiple nameds ever runnig with the rc6-smoketest. Please reopen bug if it recurs.
Updated by Dave Täht on Sep 9, 2011.
I managed to have 6 named processes running today in testing, even with xinetd instances=1. Not good. Box ran out of ram and stopped taking connections.

The right answer is to fix ntp for dnssec, period, and move that version of ntp into the ceropackages github repo.

Which requires braincells I do not have at present. I haven’t even got so far as to make it work on x86. when I poked into the guts of ntp it was not obvious - or possible - to separate out ntp -g processig from normal processing, easily.

Updated by Michael Graff on Sep 12, 2011.
—-BEGIN PGP SIGNED MESSAGE—-
Hash: SHA1

Why not fix NTP to start with?

ntpd does not actually start running, and the bind 9 monitoring script
to enable dnssec seems to be using ntpdc to poll.

I think there is another ntp process that uses port 123, and killing
that off allows ntpd to start.

  • –Michael

—-BEGIN PGP SIGNATURE—-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5ucA4ACgkQl6Nz7kJWYWbhNgCeOBGQg6MxusqD+qUG5GA9qdAC
0iAAn2HEtVZVgJliAN/9y0TpBHCchcMP
=Bxii
—-END PGP SIGNATURE—-

Updated by Dave Täht on Sep 12, 2011.
yes, ntpdate getting spawned somehow is part of the problem. I am ripping that out entirely.

I should have fixed ntp in the first place, but this bug was long before I had a deep understanding of the right calls to make, and even then, I’d rather someone with a deep understanding of ntp and dnssec to tackle that, rather than me… if it was easy, I’d have done it….

Updated by Dave Täht on Sep 17, 2011.
This is fixed in rc6, or so I think. luci was firing up ntpdate, blocking ntp and ntpc entirely.
Updated by Dave Täht on Sep 17, 2011.
that said, I have no idea how named could get fired up multiple times from xinetd.
Updated by Dave Täht on Apr 21, 2012.
I have not seen this bug in ages. Please test with the current build (3.3.2-8 or later) and let me know.

http://huchra.bufferbloat.net/~cero1/3.3/3.3.2-8/

This is a static export of the original bufferbloat.net issue database. As such, no further commenting is possible; the information is solely here for archival purposes.
RSS feed

Recent Updates

Jul 21, 2024 Wiki page
cake-autorate
Jul 21, 2024 Wiki page
What Can I Do About Bufferbloat?
Jul 21, 2024 Wiki page
Tests for Bufferbloat
Jul 1, 2024 Wiki page
RRUL Chart Explanation
Dec 3, 2022 Wiki page
Codel Wiki

Find us elsewhere

Bufferbloat Mailing Lists
#bufferbloat on Twitter
Google+ group
Archived Bufferbloat pages from the Wayback Machine

Sponsors

Comcast Research Innovation Fund
Nlnet Foundation
Shuttleworth Foundation
GoFundMe

Bufferbloat Related Projects

OpenWrt Project
Congestion Control Blog
Flent Network Test Suite
Sqm-Scripts
The Cake shaper
AQMs in BSD
IETF AQM WG
CeroWrt (where it all started)

Network Performance Related Resources


Jim Gettys' Blog - The chairman of the Fjord
Toke's Blog - Karlstad University's work on bloat
Voip Users Conference - Weekly Videoconference mostly about voip
Candelatech - A wifi testing company that "gets it".