That's great news!  Also what's Psyco?  ;)  (hard one to look up on  
google)

Daniel

On Feb 20, 2007, at 8:16 AM, David E Freitas wrote:

> Hay people,
>
> On the topic of Memory and Python:
>
> See http://evanjones.ca/python-memory-part3.html
>
> It says that Python 2.5 fixes a memory leak in Python previous to 2.5.
> I quote:
> ________
> "This story started over a year ago when I discovered that Python
> never frees memory. Then I wrote a patch, and presented it at PyCon,
> but didn't have the time or energy to convince enough core developers
> to commit it. A few weeks ago, Tim Peters took it upon himself to
> clean up my patch, and committed it into Python's repository. This
> means that Python 2.5 will not have this bug! I'm glad to see that my
> work on this issue will finally be available to the public."
> --------------
>
> Maybe it's worth going over to Python 2.5 on larger productions for  
> this reason?
>
>
> Also, on the topic of speed, Psyco will really provide a speedup, it
> just has to be tested for complete compatibility. (This is on the
> authors todo list as far as I know)
>
>
> Cheers,
>
>
> David
>
> --------------------------------------------------------
> http://www.defza.com
>
>
> On 2/19/07, James Bunton <[EMAIL PROTECTED]> wrote:
>> No idea sorry. That doesn't look like a complete Traceback. It
>> doesn't show what the name of the exception is, so I can't really
>> tell what's going wrong.
>>
>> Oh, scratch that. There's two tracebacks there. One of them says
>> MemoryError, so I'd say that is your problem. Stick some more memory
>> in the machine and see if that improves the situation.
>>
>> ---
>>
>> James
>>
>>
>>
>> On 19/02/2007, at 8:54 AM, Jeff Garner wrote:
>>
>>> Anyone have any idea on this?
>>>
>>> On Thu, 2007-02-15 at 16:14 -0600, Jeff Garner wrote:
>>>> 0.11.2 version
>>>>
>>>> Suse Linux 9
>>>> Wildfire 3.0.0
>>>>
>>>> For the last three days I have had nothing but issues with the MSN
>>>> transport.  it disconnects every 2 to 3 minutes and does not auto
>>>> reconnect.  the server is finally under full load and the transport
>>>> seems to be failing.  1100 users is when it looks to be having
>>>> issues.
>>>> THis is what I get in debug's last several lines.  anyone know
>>>> what is
>>>> going on?
>>>>           File
>>>> "/usr/local/lib/python2.4/site-packages/twisted/protocols/ 
>>>> basic.py",
>>>> line 240, in dataReceived
>>>>             return self.rawDataReceived(data)
>>>>           File "/usr/local/msn_trans/pymsnt/src/tlib/msn/msn.py",
>>>> line
>>>> 849, in rawDataReceived
>>>>             self.setLineMode(extra)
>>>>           File
>>>> "/usr/local/lib/python2.4/site-packages/twisted/protocols/ 
>>>> basic.py",
>>>> line 255, in setLineMode
>>>>             return self.dataReceived(extra)
>>>>           File
>>>> "/usr/local/lib/python2.4/site-packages/twisted/protocols/ 
>>>> basic.py",
>>>> line 240, in dataReceived
>>>>             return self.rawDataReceived(data)
>>>>           File "/usr/local/msn_trans/pymsnt/src/tlib/msn/msn.py",
>>>> line
>>>> 849, in rawDataReceived
>>>>             self.setLineMode(extra)
>>>>           File
>>>> "/usr/local/lib/python2.4/site-packages/twisted/protocols/ 
>>>> basic.py",
>>>> line 255, in setLineMode
>>>>             return self.dataReceived(extra)
>>>>           File
>>>> "/usr/local/lib/python2.4/site-packages/twisted/protocols/ 
>>>> basic.py",
>>>> line 217, in dataReceived
>>>>             self.__buffer = self.__buffer+data
>>>>         exceptions.MemoryError:
>>>> [2007-02-15 16:20:19] Traceback (most recent call last):
>>>>           File
>>>> "/usr/local/lib/python2.4/site-packages/twisted/python/log.py",
>>>> line 53,
>>>> in callWithLogger
>>>>             return callWithContext({"system": lp}, func, *args,  
>>>> **kw)
>>>>           File
>>>> "/usr/local/lib/python2.4/site-packages/twisted/python/log.py",
>>>> line 38,
>>>> in callWithContext
>>>>             return context.call({ILogContext: newCtx}, func, *args,
>>>> **kw)
>>>>           File
>>>> "/usr/local/lib/python2.4/site-packages/twisted/python/
>>>> context.py", line
>>>> 59, in callWithContext
>>>>             return self.currentContext().callWithContext(ctx, func,
>>>> *args, **kw)          File
>>>> "/usr/local/lib/python2.4/site-packages/twisted/python/
>>>> context.py", line
>>>> 37, in callWithContext
>>>>             return func(*args,**kw)
>>>>         --- <exception caught here> ---
>>>>           File
>>>> "/usr/local/lib/python2.4/site-packages/twisted/internet/
>>>> epollreactor.py", line 199, in _doReadOrWrite
>>>>             why = selectable.doRead()
>>>>           File
>>>> "/usr/local/lib/python2.4/site-packages/twisted/internet/tcp.py",
>>>> line
>>>> 349, in doRead
>>>>             return self.protocol.dataReceived(data)
>>>>           File
>>>> "/usr/local/lib/python2.4/site-packages/twisted/words/xish/
>>>> xmlstream.py", line 72, in dataReceived
>>>>             self.stream.parse(buf)
>>>>           File
>>>> "/usr/local/lib/python2.4/site-packages/twisted/words/xish/
>>>> domish.py",
>>>> line 524, in parse
>>>>             self.parser.Parse(buffer)
>>>>           File
>>>> "/usr/local/lib/python2.4/site-packages/twisted/words/xish/
>>>> domish.py",
>>>> line 564, in _onEndElement
>>>>             self.ElementEvent(self.currElem)
>>>>           File
>>>> "/usr/local/lib/python2.4/site-packages/twisted/words/xish/
>>>> xmlstream.py", line 104, in onElement
>>>>             self.dispatch(element)
>>>>           File
>>>> "/usr/local/lib/python2.4/site-packages/twisted/words/xish/
>>>> utility.py",
>>>> line 233, in dispatch
>>>>             callbacklist.callback(object)
>>>>
>>>> 12281,8       99%
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://lists.modevia.com/cgi-bin/mailman/listinfo/py-transports

_______________________________________________
py-transports mailing list
[email protected]
http://lists.modevia.com/cgi-bin/mailman/listinfo/py-transports

Reply via email to