]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices-coding/2003/001922.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices-coding / 2003 / 001922.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices Coding] problems with 5.0.9
5 </TITLE>
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">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices Coding] problems with 5.0.9</H1>
15 <B>Aragon Gouveia</B>
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
18 </A><BR>
19 <I>Mon Feb 10 14:24:48 PST 2003</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="001921.html">[IRCServices Coding] problems with 5.0.9
22 </A></li>
23 <LI>Next message: <A HREF="001923.html">[IRCServices Coding] problems with 5.0.9
24 </A></li>
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>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>I can definately reproduce it. It happens every time.
35
36 I'm also connecting to localhost (from localhost) to a specified port. I
37 haven't defined a binding port though.
38
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.. :)
41
42
43 Thanks,
44 Aragon
45
46
47 |<i> By Arathorn &lt;<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">arathorn at theonering.net</A>&gt;
48 </I>|<i> [ 2003-02-10 23:43 +0200 ]
49 </I>&gt;<i> I've had this problem too (although I cannot reproduce it at the moment) -
50 </I>&gt;<i> I've reported it on the non-coding list. Andrew's suggestion there is to
51 </I>&gt;<i> attach to the hung process with gdb and see what's going on (which I'm going
52 </I>&gt;<i> to do when it next happens to me).
53 </I>&gt;<i>
54 </I>&gt;<i> That said, I have a suspicion that I may have somehow prevented it; although
55 </I>&gt;<i> so many variables have been changed I'm not sure what may have helped.
56 </I>&gt;<i>
57 </I>&gt;<i> Off the top of my head:
58 </I>&gt;<i>
59 </I>&gt;<i> 1) I changed services to connect to unreal 3.2 on localhost - explicitly
60 </I>&gt;<i> specifying the binding port (i.e. connecting from 127.0.0.1:7028 to
61 </I>&gt;<i> 127.0.0.1:7029),
62 </I>&gt;<i>
63 </I>&gt;<i> 2) enabled a PingFrequency of 30s across the link to try to keep things
64 </I>&gt;<i> alive and healthy (i've also had problems with 3.2 complaining about Bad
65 </I>&gt;<i> File Descriptors on the Services socket when select()ing the FDLIST),
66 </I>&gt;<i>
67 </I>&gt;<i> 3) Tried running services 'plain' from the commandline rather than from a
68 </I>&gt;<i>
69 </I>&gt;<i> start-stop-daemon --start --quiet --pidfile
70 </I>&gt;<i> /usr/local/lib/ircservices/ircservices.pid \
71 </I>&gt;<i> --chuid irc:irc --exec /usr/local/sbin/ircservices &gt;
72 </I>&gt;<i> /dev/null 2&gt;&amp;1
73 </I>&gt;<i>
74 </I>&gt;<i> in a Debian /etc/init.d script.
75 </I>&gt;<i>
76 </I>&gt;<i> Somewhere along there, it's decided to start behaving absolutely fine (after
77 </I>&gt;<i> consistently hanging after the ircd closed its connection). Services die
78 </I>&gt;<i> cleanly on a /restart and /die work fine - and for that matter, so does
79 </I>&gt;<i> /operserv restart, quit &amp; shutdown. With the proviso of some thoroughly
80 </I>&gt;<i> screwed up intermittent faults with +k modelocks disappearing on registered
81 </I>&gt;<i> channels after services restarts - and xml-export doing some very mangled
82 </I>&gt;<i> things. c.f. <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">ircservices at ircservices.za.net.</A>
83 </I>&gt;<i>
84 </I>&gt;<i> ________________________________________________________________
85 </I>&gt;<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>&gt;<i> Arathorn: Co-Sysadmin, TheOneRing.net?
87 </I>&gt;<i>
88 </I>&gt;<i>
89 </I>&gt;<i> ----- Original Message -----
90 </I>&gt;<i> From: &quot;Aragon Gouveia&quot; &lt;<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">aragon at phat.za.net</A>&gt;
91 </I>&gt;<i> To: &lt;<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">ircservices-coding at ircservices.za.net</A>&gt;
92 </I>&gt;<i> Sent: Monday, February 10, 2003 9:22 PM
93 </I>&gt;<i> Subject: [IRCServices Coding] problems with 5.0.9
94 </I>&gt;<i>
95 </I>&gt;<i>
96 </I>&gt;<i> &gt; Hi,
97 </I>&gt;<i> &gt;
98 </I>&gt;<i> &gt; The other day I reported the database save bug when ircservices looses its
99 </I>&gt;<i> &gt; uplink. Just upgraded to 5.0.9 and am having another problem...
100 </I>&gt;<i> &gt;
101 </I>&gt;<i> &gt; When the uplink server closes the connection ircservices does not exit.
102 </I>&gt;<i> &gt; Neither is there any log of such activity. Further more, issuing a
103 </I>&gt;<i> SIGTERM
104 </I>&gt;<i> &gt; to the process after the uplink has died only results in &quot;Received
105 </I>&gt;<i> SIGTERM,
106 </I>&gt;<i> &gt; exiting.&quot; being logged, but the process does not die. It takes a SIGKILL
107 </I>&gt;<i> to
108 </I>&gt;<i> &gt; kill it off. And of course a SIGKILL doesn't go down well with saving the
109 </I>&gt;<i> &gt; database to disk! :)
110 </I>&gt;<i> &gt;
111 </I>&gt;<i> &gt; Running Unreal 3.2 btw.
112 </I>&gt;<i> &gt;
113 </I>&gt;<i> &gt;
114 </I>&gt;<i> &gt; Regards,
115 </I>&gt;<i> &gt; Aragon
116 </I>&gt;<i> &gt; ------------------------------------------------------------------
117 </I>&gt;<i> &gt; To unsubscribe or change your subscription options, visit:
118 </I>&gt;<i> &gt; <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">http://www.ircservices.za.net/mailman/listinfo/ircservices-coding</A>
119 </I>&gt;<i>
120 </I>&gt;<i>
121 </I>&gt;<i> ------------------------------------------------------------------
122 </I>&gt;<i> To unsubscribe or change your subscription options, visit:
123 </I>&gt;<i> <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">http://www.ircservices.za.net/mailman/listinfo/ircservices-coding</A>
124 </I></PRE>
125
126 <!--endarticle-->
127 <HR>
128 <P><UL>
129 <!--threads-->
130 <LI>Previous message: <A HREF="001921.html">[IRCServices Coding] problems with 5.0.9
131 </A></li>
132 <LI>Next message: <A HREF="001923.html">[IRCServices Coding] problems with 5.0.9
133 </A></li>
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>
139 </LI>
140 </UL>
141
142 </body></html>