Hi

I've noticed a high memory comsumption from Pymsnt 0.11a (latest stable
release acrding to pymsnt page) the transport starts low but memory
usage grows non-stop currently in 670 MB after 5 days running, the
transport serves 1000 active connections average aprox. With a lot of
activity from users specially connections ans disconnections. Anybody
seen this?, is it a memory leak? Or is it a problem ralated to my
particular configuration?

Also im getting this tracebacks in debug.log

[2006-04-01 19:30:10] Traceback (most recent call last):
          File "/usr/lib/python2.4/site-packages/twisted/python/log.py",
line 56, in callWithLogger
            return callWithContext({"system": lp}, func, *args, **kw)
          File "/usr/lib/python2.4/site-packages/twisted/python/log.py",
line 41, in callWithContext
            return context.call({ILogContext: newCtx}, func, *args,
**kw)
          File
"/usr/lib/python2.4/site-packages/twisted/python/context.py", line 52,
in callWithContext
            return self.currentContext().callWithContext(ctx, func,
*args, **kw)
          File
"/usr/lib/python2.4/site-packages/twisted/python/context.py", line 31,
in callWithContext
            return func(*args,**kw)
        --- <exception caught here> ---
          File
"/usr/lib/python2.4/site-packages/twisted/internet/epollreactor.py",
line 210, in _doReadOrWrite
            why = selectable.doRead()
          File
"/usr/lib/python2.4/site-packages/twisted/internet/tcp.py", line 351, in
doRead
            return self.protocol.dataReceived(data)
          File
"/usr/lib/python2.4/site-packages/twisted/protocols/basic.py", line 221,
in dataReceived
            why = self.lineReceived(line)
          File "/opt/pymsnt11/src/tlib/msn/msn.py", line 819, in
lineReceived
            try: handler(params.split(' '))
          File "/opt/pymsnt11/src/tlib/msn/msn.py", line 1174, in
handle_NLN
            self.handleAvatarHelper(msnContact, params[4])
          File "/opt/pymsnt11/src/tlib/msn/msn.py", line 1150, in
handleAvatarHelper
            msnobj = MSNObject(unquote(msnobjStr))
          File "/opt/pymsnt11/src/tlib/msn/msn.py", line 486, in
__init__
            self.parse(s)
          File "/opt/pymsnt11/src/tlib/msn/msn.py", line 530, in parse
            e = xmlw.parseText(s, True)
          File "/opt/pymsnt11/src/tlib/xmlw.py", line 55, in parseText
            return TextParser(beExtremelyLenient).parseString(text)
          File "/opt/pymsnt11/src/tlib/xmlw.py", line 106, in
parseString
            es.parse(data)
          File "/usr/lib/python2.4/site-packages/twisted/web/sux.py",
line 168, in dataReceived
            newState = doFn(byte)
          File "/usr/lib/python2.4/site-packages/twisted/web/sux.py",
line 361, in do_attrname
            self._parseError("Invalid attribute name: %r %r" %
(self.attrname, byte))
          File "/usr/lib/python2.4/site-packages/twisted/web/sux.py",
line 90, in _parseError
            raise
ParseError(*((self.filename,)+self.saveMark()+(message,)))
        twisted.web.sux.ParseError: <xml />:1:76: Invalid attribute
name: 'anny_22beba' '@'

It does not apear to affect pymsnt behavior, is it normal?

Carlos Guzman

Reply via email to