BIND 10 #1859: many auth servers results in Unable to open domain socket on macmini
BIND 10 Development
do-not-reply at isc.org
Thu Mar 29 14:29:12 UTC 2012
#1859: many auth servers results in Unable to open domain socket on macmini
-------------------------------------+-------------------------------------
Reporter: jreed | Owner:
Type: defect | Status: new
Priority: medium | Milestone: New
Component: Unclassified | Tasks
Sensitive: 0 | Keywords:
Sub-Project: DNS | Defect Severity: N/A
Estimated Difficulty: 0 | Feature Depending on Ticket:
Total Hours: 0 | Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
I can reproduce the following frequently on the macmini system by
attempting to run around 15 b10-auth components:
{{{
2012-03-29 07:10:38.818 DEBUG [b10-auth.cc] CC_GROUP_RECEIVED message
arrived ('{ "from": "4f746d5e_3 at macmini.lab.isc.org", "group": "Boss",
"instance": "*", "reply": 2, "seq": 19, "to":
"4f746d5e_12 at macmini.lab.isc.org", "type": "send" }', '{ "result": [ 0, {
"path": "/tmp/sockcreator-SWQsjy/sockcreator", "token": "t3455974382" } ]
}')
2012-03-29 07:10:38.818 DEBUG [b10-auth.cc] CC_GROUP_RECEIVED message
arrived ('{ "from": "4f746d5e_3 at macmini.lab.isc.org", "group": "Boss",
"instance": "*", "reply": 2, "seq": 18, "to":
"4f746d5e_11 at macmini.lab.isc.org", "type": "send" }', '{ "result": [ 0, {
"path": "/tmp/sockcreator-SWQsjy/sockcreator", "token": "t3513635662" } ]
}')
2012-03-29 07:10:38.819 FATAL [b10-auth.server_common]
SRVCOMM_EXCEPTION_ALLOC exception when allocating a socket: Unable to open
domain socket /tmp/sockcreator-SWQsjy/sockcreator: Connection refused
2012-03-29 07:10:38.819 FATAL [b10-auth.server_common]
SRVCOMM_EXCEPTION_ALLOC exception when allocating a socket: Unable to open
domain socket /tmp/sockcreator-SWQsjy/sockcreator: Connection refused
2012-03-29 07:10:38.819 INFO [b10-boss.boss] BIND10_SOCKET_CREATED
successfully created socket 37
}}}
Other times I get other failures like in #1850 or like:
{{{
2012-03-29 07:13:47.201 ERROR [b10-auth.cc] CC_READ_ERROR error reading
data from command channel (End of file.)
2012-03-29 07:13:47.201 DEBUG [b10-auth.cc] CC_DISCONNECT disconnecting
from message queue daemon
2012-03-29 07:13:47.202 FATAL [b10-auth.auth] AUTH_SERVER_FAILED server
failed: Error while reading data from cc session: End of file.
2012-03-29 07:13:47.202 DEBUG [b10-auth.datasrc] DATASRC_CACHE_DESTROY
destroying the hotspot cache
}}}
(Also often my sockcreator is left running.)
I used the following script to generate my configuration:
{{{
#!/usr/bin/awk -f
BEGIN{
print "{\"version\": 2,";
print "\"Auth\": {\"datasources\": [";
print "{\"zones\": [{\"origin\": \"example\", \"file\":
\"tests/smallzone/master.zone.file-canonical\"}], \"type\":
\"memory\"}],";
print "\"listen_on\": [{\"port\": 5300, \"address\": \"127.0.0.1\"}]},";
print "\"Boss\": {\"components\": {";
for (i = 1; i <= ARGV[1]; i++) {
print "\"b10-auth-" i "\": {\"kind\": \"needed\", \"special\":
\"auth\"}";
if (i < ARGV[1]) { print ","; }
}
print "}}}";
}
}}}
The command line argument is the number of b10-auth components to run.
I think this is a macmini or portability issue. I can run 50 of the
b10-auth server components on Linux fine.
--
Ticket URL: <http://bind10.isc.org/ticket/1859>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list