We also had a similar problem like this on one of our long running servers although I didn&#39;t find some time to archive the logs. I&#39;m not sure if it&#39;s related; but I can see clearly that you&#39;re using python2.4 and it has some funky issues with its memory management (<a href="http://evanjones.ca/python-memory-part2.html">http://evanjones.ca/python-memory-part2.html</a>).<br>
<br>We don&#39;t experience it anymore ever since we upgraded to python2.5. <br><br>---<br>Alvin<br><br><br><div class="gmail_quote">On Sun, Mar 22, 2009 at 11:10 PM, Christopher Armstrong <span dir="ltr">&lt;<a href="mailto:radix@twistedmatrix.com">radix@twistedmatrix.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Sun, Mar 22, 2009 at 10:32 AM, Itamar Shtull-Trauring<br>
&lt;<a href="mailto:itamar@itamarst.org">itamar@itamarst.org</a>&gt; wrote:<br>
&gt; On Sat, 2009-03-21 at 20:02 -0700, Alec Matusis wrote:<br>
&gt;<br>
&gt;&gt;           File &quot;/nail/live/im/myserv/service.py&quot;, line 1199, in logout<br>
&gt;&gt;<br>
&gt;&gt;             if self.nick in session.sellers:<br>
&gt;&gt;<br>
&gt;&gt;         exceptions.AttributeError: WLResultSet instance has no<br>
&gt;&gt; attribute &#39;sellers&#39;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; This last error repeated about 1000 times for different clients, after<br>
&gt;&gt; which the segfault occurred.<br>
&gt;&gt;<br>
&gt;&gt; The problem is, that “session” is an instance of a Session class that<br>
&gt;&gt; is defined in the code, it is NEITHER a Deferred NOR an instance  of<br>
&gt;&gt; WLResultSet class- these are completely different classes, and there’s<br>
&gt;&gt; no possible way in the code for variable session to become an instance<br>
&gt;&gt; of Deferred.<br>
&gt;<br>
&gt; I&#39;ve seen this happen - once. My guess then was memory corruption of<br>
&gt; some sort (somewhere in the C level). If you have any custom C<br>
&gt; extensions you might want to try valgrind.<br>
<br>
</div>I&#39;d like to offer a slightly stronger suggestion that this segfault is<br>
not the fault of any pure Python code (such as Twisted), but rather<br>
some C extension that you&#39;re using, or perhaps a bug in the Python<br>
runtime itself. The weird attribute errors for the wrong classes are<br>
probably caused by memory corruption leading up to the segfault.<br>
<font color="#888888"><br>
<br>
--<br>
Christopher Armstrong<br>
<a href="http://radix.twistedmatrix.com/" target="_blank">http://radix.twistedmatrix.com/</a><br>
<a href="http://planet-if.com/" target="_blank">http://planet-if.com/</a><br>
<a href="http://canonical.com/" target="_blank">http://canonical.com/</a><br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.alvinatorsplayground.blogspot.com/">http://www.alvinatorsplayground.blogspot.com/</a><br>