Gentoo Archives: gentoo-ppc-user

From: Bryn Hughes <linux@×××××××.ca>
To: gentoo-ppc-user@l.g.o
Subject: Re: [gentoo-ppc-user] xinetd crashes after connection exits
Date: Sat, 28 Feb 2004 07:46:19
Message-Id: 2A7419B0-69C2-11D8-B80C-0050E41E0A6D@nashira.ca
In Reply to: [gentoo-ppc-user] xinetd crashes after connection exits by WR
1 On Feb 26, 2004, at 5:56 PM, WR wrote:
2
3 >
4 >> Hi all,
5 >>
6 >> I've asked this a couple of times and gotten no answer but I thought
7 >> I'd give one more go at it.
8 >
9 > I hate when that happens... :) You aren't offering many specifics
10 > though,
11 > that makes it a bit difficult from this end...
12
13 Sorry, I thought repeating the bug report was a bit redundant. But
14 here you are:
15 Running on ~ppc
16
17 Bugzilla Bug 42835
18 xinetd-2.3.13 hangs with amanda 2.4.4-r3
19
20 Symptoms: run amcheck or any other amanda utilities which contact
21 backup server. First connection will be sucessful but any subsequent
22 connections fail. xinetd starts using CPU time after second connection
23 and never dies. Using /etc/init.d/xinetd to try and stop is not
24 sucessful, only kill -9 will do.
25
26 xinetd -d gives this:
27
28 # xinetd -d
29 04/2/24@20:51:56: DEBUG: 26848 {handle_includedir} Reading included
30 configuration file: /etc/xinetd.d/amanda [file=/etc/xinetd.conf]
31 [line=14]
32 04/2/24@20:51:56: DEBUG: 26848 {handle_includedir} Reading included
33 configuration file: /etc/xinetd.d/chargen-tcp
34 [file=/etc/xinetd.d/chargen-tcp] [line=37]
35 04/2/24@20:51:56: DEBUG: 26848 {handle_includedir} Reading included
36 configuration file: /etc/xinetd.d/chargen-udp
37 [file=/etc/xinetd.d/chargen-udp] [line=13]
38 04/2/24@20:51:56: DEBUG: 26848 {handle_includedir} Reading included
39 configuration file: /etc/xinetd.d/daytime-tcp
40 [file=/etc/xinetd.d/daytime-tcp] [line=14]
41 04/2/24@20:51:56: DEBUG: 26848 {handle_includedir} Reading included
42 configuration file: /etc/xinetd.d/daytime-udp
43 [file=/etc/xinetd.d/daytime-udp] [line=13]
44 04/2/24@20:51:56: DEBUG: 26848 {handle_includedir} Reading included
45 configuration file: /etc/xinetd.d/echo-tcp
46 [file=/etc/xinetd.d/echo-tcp] [line=14]
47 04/2/24@20:51:56: DEBUG: 26848 {handle_includedir} Reading included
48 configuration file: /etc/xinetd.d/echo-udp
49 [file=/etc/xinetd.d/echo-udp] [line=13]
50 04/2/24@20:51:56: DEBUG: 26848 {handle_includedir} Reading included
51 configuration file: /etc/xinetd.d/time-tcp
52 [file=/etc/xinetd.d/time-tcp] [line=14]
53 04/2/24@20:51:56: DEBUG: 26848 {handle_includedir} Reading included
54 configuration file: /etc/xinetd.d/time-udp
55 [file=/etc/xinetd.d/time-udp] [line=13]
56 04/2/24@20:51:56: DEBUG: 26848 {remove_disabled_services} removing
57 chargen
58 04/2/24@20:51:56: DEBUG: 26848 {remove_disabled_services} removing
59 chargen
60 04/2/24@20:51:56: DEBUG: 26848 {remove_disabled_services} removing
61 daytime
62 04/2/24@20:51:56: DEBUG: 26848 {remove_disabled_services} removing
63 daytime
64 04/2/24@20:51:56: DEBUG: 26848 {remove_disabled_services} removing echo
65 04/2/24@20:51:56: DEBUG: 26848 {remove_disabled_services} removing echo
66 04/2/24@20:51:56: DEBUG: 26848 {remove_disabled_services} removing time
67 04/2/24@20:51:56: DEBUG: 26848 {remove_disabled_services} removing time
68 Service defaults
69 Instances = 15
70 PER_SOURCE = 15
71 Bind = All addresses.
72 Only from: localhost(HOST) localhost.localdomain(HOST)
73 bluemanie.nashira.ca(HOST) bluemeanie-prv(HOST)
74 No access: No blocked sites
75 Logging to syslog. Facility = authpriv, level = info
76 Log_on_success flags = HOST PID
77 Log_on_failure flags = HOST
78
79 Service configuration: amanda
80 id = amanda
81 flags = IPv4
82 socket_type = dgram
83 Protocol (name,number) = (udp,17)
84 port = 10080
85 wait = yes
86 user = 87
87 group = 6
88 Groups = yes
89 PER_SOURCE = 15
90 Bind = All addresses.
91 Server = /usr/libexec/amandad
92 Server argv = amandad
93 Only from: localhost(HOST) localhost.localdomain(HOST)
94 bluemanie.nashira.ca(HOST) bluemeanie-prv(HOST)
95 No access: No blocked sites
96 Logging to syslog. Facility = authpriv, level = info
97 Log_on_success flags = HOST PID
98 Log_on_failure flags = HOST
99
100 Service configuration: amandaidx
101 id = amandaidx
102 flags = IPv4
103 socket_type = stream
104 Protocol (name,number) = (tcp,6)
105 port = 10082
106 wait = no
107 user = 87
108 Groups = yes
109 PER_SOURCE = 15
110 Bind = All addresses.
111 Server = /usr/libexec/amindexd
112 Server argv = amindexd
113 Only from: localhost(HOST) localhost.localdomain(HOST)
114 bluemanie.nashira.ca(HOST) bluemeanie-prv(HOST)
115 No access: No blocked sites
116 Logging to syslog. Facility = authpriv, level = info
117 Log_on_success flags = HOST PID
118 Log_on_failure flags = HOST
119
120 Service configuration: amidxtape
121 id = amidxtape
122 flags = IPv4
123 socket_type = stream
124 Protocol (name,number) = (tcp,6)
125 port = 10083
126 wait = no
127 user = 87
128 group = 6
129 Groups = yes
130 PER_SOURCE = 15
131 Bind = All addresses.
132 Server = /usr/libexec/amidxtaped
133 Server argv = amidxtaped
134 Only from: localhost(HOST) localhost.localdomain(HOST)
135 bluemanie.nashira.ca(HOST) bluemeanie-prv(HOST)
136 No access: No blocked sites
137 Logging to syslog. Facility = authpriv, level = info
138 Log_on_success flags = HOST PID
139 Log_on_failure flags = HOST
140
141 04/2/24@20:51:56: DEBUG: 26848 {cnf_start_services} Started service:
142 amanda
143 04/2/24@20:51:56: DEBUG: 26848 {cnf_start_services} Started service:
144 amandaidx
145 04/2/24@20:51:56: DEBUG: 26848 {cnf_start_services} Started service:
146 amidxtape
147 04/2/24@20:51:56: DEBUG: 26848 {cnf_start_services} mask_max = 8,
148 services_started = 3
149 04/2/24@20:51:56: NOTICE: 26848 {main} xinetd Version 2.3.13 started
150 with libwrap loadavg options compiled in.
151 04/2/24@20:51:56: NOTICE: 26848 {main} Started working: 3 available
152 services
153 04/2/24@20:51:56: DEBUG: 26848 {main_loop} active_services = 3
154 04/2/24@20:52:32: DEBUG: 26848 {main_loop} select returned 1
155 04/2/24@20:52:32: DEBUG: 26848 {svc_suspend} Suspended service amanda
156 04/2/24@20:52:32: DEBUG: 26848 {server_start} Starting service amanda
157 04/2/24@20:52:32: DEBUG: 26848 {main_loop} active_services = 2
158 04/2/24@20:52:32: DEBUG: 26853 {exec_server} duping 6
159 04/2/24@20:52:32: DEBUG: 26848 {main_loop} active_services = 2
160 04/2/24@20:52:32: DEBUG: 26848 {main_loop} select returned 1
161 04/2/24@20:52:32: DEBUG: 26848 {check_pipe} Got signal 17 (Child exited)
162 04/2/24@20:52:32: DEBUG: 26848 {child_exit} waitpid returned = 26853
163 04/2/24@20:52:32: DEBUG: 26848 {server_end} amanda server 26853 exited
164 04/2/24@20:52:32: DEBUG: 26848 {drain} UDP socket should be empty
165 04/2/24@20:52:32: DEBUG: 26848 {svc_resume} Resumed service amanda
166 04/2/24@20:52:32: DEBUG: 26848 {child_exit} waitpid returned = -1
167 04/2/24@20:52:32: DEBUG: 26848 {main_loop} active_services = 3
168 04/2/24@20:52:42: DEBUG: 26848 {main_loop} select returned 1
169 04/2/24@20:52:42: DEBUG: 26848 {svc_suspend} Suspended service amanda
170 04/2/24@20:52:42: DEBUG: 26848 {server_start} Starting service amanda
171 04/2/24@20:52:42: DEBUG: 26848 {main_loop} active_services = 2
172 04/2/24@20:52:43: DEBUG: 26854 {exec_server} duping 6
173 04/2/24@20:52:44: DEBUG: 26848 {main_loop} active_services = 2
174 04/2/24@20:52:44: DEBUG: 26848 {main_loop} select returned 1
175 04/2/24@20:52:44: DEBUG: 26848 {check_pipe} Got signal 17 (Child exited)
176 04/2/24@20:52:44: DEBUG: 26848 {child_exit} waitpid returned = 26854
177 04/2/24@20:52:44: DEBUG: 26848 {server_end} amanda server 26854 exited
178
179 At this point xinetd is hung - {drain} never comes and xinetd will no
180 longer accept connections on any service.
181
182
183 --
184 gentoo-ppc-user@g.o mailing list