1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices Coding] problems with
5.0.9
6 <LINK REL=
"Index" HREF=
"index.html" >
7 <LINK REL=
"made" HREF=
"mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20problems%20with%205.0.9&In-Reply-To=00fa01c2d14d%247aaf21e0%240600a8c0%40mjh75">
8 <META NAME=
"robots" CONTENT=
"index,nofollow">
9 <META http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
10 <LINK REL=
"Previous" HREF=
"001921.html">
11 <LINK REL=
"Next" HREF=
"001923.html">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices Coding] problems with
5.0.9</H1>
16 <A HREF=
"mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20problems%20with%205.0.9&In-Reply-To=00fa01c2d14d%247aaf21e0%240600a8c0%40mjh75"
17 TITLE=
"[IRCServices Coding] problems with 5.0.9">aragon at phat.za.net
19 <I>Mon Feb
10 14:
24:
48 PST
2003</I>
21 <LI>Previous message:
<A HREF=
"001921.html">[IRCServices Coding] problems with
5.0.9
23 <LI>Next message:
<A HREF=
"001923.html">[IRCServices Coding] problems with
5.0.9
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#1922">[ date ]
</a>
27 <a href=
"thread.html#1922">[ thread ]
</a>
28 <a href=
"subject.html#1922">[ subject ]
</a>
29 <a href=
"author.html#1922">[ author ]
</a>
34 <PRE>I can definately reproduce it. It happens every time.
36 I'm also connecting to localhost (from localhost) to a specified port. I
37 haven't defined a binding port though.
39 Can anyone help me debug this? Can attach to a running process with gdb,
40 but from there I'm not sure what I should be doing.. :)
47 |
<i> By Arathorn
<<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">arathorn at theonering.net
</A>>
48 </I>|
<i> [
2003-
02-
10 23:
43 +
0200 ]
49 </I>><i> I've had this problem too (although I cannot reproduce it at the moment) -
50 </I>><i> I've reported it on the non-coding list. Andrew's suggestion there is to
51 </I>><i> attach to the hung process with gdb and see what's going on (which I'm going
52 </I>><i> to do when it next happens to me).
54 </I>><i> That said, I have a suspicion that I may have somehow prevented it; although
55 </I>><i> so many variables have been changed I'm not sure what may have helped.
57 </I>><i> Off the top of my head:
59 </I>><i> 1) I changed services to connect to unreal
3.2 on localhost - explicitly
60 </I>><i> specifying the binding port (i.e. connecting from
127.0.0.1:
7028 to
61 </I>><i> 127.0.0.1:
7029),
63 </I>><i> 2) enabled a PingFrequency of
30s across the link to try to keep things
64 </I>><i> alive and healthy (i've also had problems with
3.2 complaining about Bad
65 </I>><i> File Descriptors on the Services socket when select()ing the FDLIST),
67 </I>><i> 3) Tried running services 'plain' from the commandline rather than from a
69 </I>><i> start-stop-daemon --start --quiet --pidfile
70 </I>><i> /usr/local/lib/ircservices/ircservices.pid \
71 </I>><i> --chuid irc:irc --exec /usr/local/sbin/ircservices
>
72 </I>><i> /dev/null
2>&1
74 </I>><i> in a Debian /etc/init.d script.
76 </I>><i> Somewhere along there, it's decided to start behaving absolutely fine (after
77 </I>><i> consistently hanging after the ircd closed its connection). Services die
78 </I>><i> cleanly on a /restart and /die work fine - and for that matter, so does
79 </I>><i> /operserv restart, quit
& shutdown. With the proviso of some thoroughly
80 </I>><i> screwed up intermittent faults with +k modelocks disappearing on registered
81 </I>><i> channels after services restarts - and xml-export doing some very mangled
82 </I>><i> things. c.f.
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">ircservices at ircservices.za.net.
</A>
84 </I>><i> ________________________________________________________________
85 </I>><i> Matthew Hodgson
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">arathorn at theonering.net
</A> Tel: +
44 7968 722968
86 </I>><i> Arathorn: Co-Sysadmin, TheOneRing.net?
89 </I>><i> ----- Original Message -----
90 </I>><i> From:
"Aragon Gouveia
" <<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">aragon at phat.za.net
</A>>
91 </I>><i> To:
<<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">ircservices-coding at ircservices.za.net
</A>>
92 </I>><i> Sent: Monday, February
10,
2003 9:
22 PM
93 </I>><i> Subject: [IRCServices Coding] problems with
5.0.9
98 </I>><i> > The other day I reported the database save bug when ircservices looses its
99 </I>><i> > uplink. Just upgraded to
5.0.9 and am having another problem...
101 </I>><i> > When the uplink server closes the connection ircservices does not exit.
102 </I>><i> > Neither is there any log of such activity. Further more, issuing a
104 </I>><i> > to the process after the uplink has died only results in
"Received
106 </I>><i> > exiting.
" being logged, but the process does not die. It takes a SIGKILL
108 </I>><i> > kill it off. And of course a SIGKILL doesn't go down well with saving the
109 </I>><i> > database to disk! :)
111 </I>><i> > Running Unreal
3.2 btw.
114 </I>><i> > Regards,
115 </I>><i> > Aragon
116 </I>><i> > ------------------------------------------------------------------
117 </I>><i> > To unsubscribe or change your subscription options, visit:
118 </I>><i> > <A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
</A>
121 </I>><i> ------------------------------------------------------------------
122 </I>><i> To unsubscribe or change your subscription options, visit:
123 </I>><i> <A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
</A>
130 <LI>Previous message:
<A HREF=
"001921.html">[IRCServices Coding] problems with
5.0.9
132 <LI>Next message:
<A HREF=
"001923.html">[IRCServices Coding] problems with
5.0.9
134 <LI> <B>Messages sorted by:
</B>
135 <a href=
"date.html#1922">[ date ]
</a>
136 <a href=
"thread.html#1922">[ thread ]
</a>
137 <a href=
"subject.html#1922">[ subject ]
</a>
138 <a href=
"author.html#1922">[ author ]
</a>