Today's stats:

Uptime  64560
MessageCount    813
FailedMessageCount      0
FailedAvatarCount       9
TotalUsers      7
OnlineUsers     4
AvatarCount     17

I have 376 avatar's cached, wow!

On 20/06/05, James Bunton <[EMAIL PROTECTED]> wrote:
> More commits to CVS everybody!
> 
> Fixed clientcaps (properly this time I hope).
> Various exception fixes.
> Added Ad-Hoc Commands framework.
> 
> You can retrieve statistics about the transports runtime using ad-hoc
> commands. Try sending this XML
> <iq type='get'
>      id='0001'
>      to='msn.host.com'>
>    <query xmlns='http://jabber.org/protocol/disco#items'
>           node='http://jabber.org/protocol/commands'/>
> </iq>
> 
> I'm still interested in all your bug reports :)
> 
> I haven't gotten any statistics about CPU and memory usage from
> anybody. How's PyMSNt running on your machines people?
> 
> ---
> 
> James
> 
> 
> On 16/06/2005, at 11:09 AM, James Bunton wrote:
> 
> > Hi again.
> >
> > I've committed a small fix to the avatars code that should increase
> > compatibility.
> > Please let me know about any ERRORs that get printed to stdout. They
> > report problems in transferring avatars to other users.
> >
> > Also, the clientcaps message should now only be sent once, after the
> > first text message. So if the switchboard exists only to transfer an
> > avatar you won't get a message saying "Please talk to this person on
> > Jabber".
> >
> > I'd like to know how this version is going memory and CPU wise. The
> > RSS reading is the one I'm looking for with memory.
> > Could you run
> > ps aux | grep PyMSNt
> > and read off the CPU and RSS columns after running the transport for a
> > day or so.
> > Also, please give me a rough idea of how many people are using it.
> > Thanks.
> >
> > Please keep the bug reports coming :)
> >
> > ---
> >
> > James
> 
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
> 


-- 
- Norman Rasmussen
 - Email: [EMAIL PROTECTED]
 - Home page: http://norman.rasmussen.co.za/
From [EMAIL PROTECTED]  Tue Jun 21 09:48:54 2005
From: [EMAIL PROTECTED] (Sander Devrieze)
Date: Tue Jun 21 09:49:01 2005
Subject: [py-transports] Dutch translation update
Message-ID: <[EMAIL PROTECTED]>

Hi,

Please find attached an update of the Dutch strings (cvs version).

Changelog:
* a small fix
* my contact information added
* Ad-Hoc Commands-related strings translated

-- 
Mvg, Sander Devrieze.

xmpp:[EMAIL PROTECTED] ( http://jabber.tk/ )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lang.py.tar.gz
Type: application/x-tgz
Size: 7145 bytes
Desc: not available
Url : 
http://modevia.com/pipermail/py-transports/attachments/20050621/93d9dade/lang.py.tar.bin
From [EMAIL PROTECTED]  Tue Jun 21 14:28:54 2005
From: [EMAIL PROTECTED] (=?ISO-8859-1?Q?Daniel_D=EDaz?=)
Date: Tue Jun 21 14:28:56 2005
Subject: [py-transports] PyMSNt: memory stats,
        clientcaps fix & avatars fix in CVS
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

Hello!

I can't tell numbers exactly, but you can see it for youselves here:
http://linux.mty.itesm.mx/mrtg/

On week 23, Monday, we used the avatars branch. We had to go back to
0.9.2 because load average rose up to 68.0!!

Cached avatars shows the following:
linux avatars # ls -1 | wc -l
3034

And I think we had more than 70 concurrent users that day. In the Load
Average graph you can see how it behaved differently against 0.9.2.
I'm sorry I couldn't test it anymore, but load average (and that bug
regarding reregistering deleted and blocked users) wouldn't allow us
to run it any further. I'm looking forward for a less CPU-hungry
version, though! :)

Greetings!

Daniel D?az
[EMAIL PROTECTED]
JID: [EMAIL PROTECTED], [EMAIL PROTECTED]


On 6/21/05, Norman Rasmussen <[EMAIL PROTECTED]> wrote:
> Today's stats:
> Uptime  64560
> MessageCount    813
> FailedMessageCount      0
> FailedAvatarCount       9
> TotalUsers      7
> OnlineUsers     4
> AvatarCount     17
> 
> I have 376 avatar's cached, wow!
From [EMAIL PROTECTED]  Mon Jun 20 23:43:27 2005
From: [EMAIL PROTECTED] (Lavanant Etienne)
Date: Tue Jun 21 16:31:28 2005
Subject: [py-transports] Discovery sendIq, onIq problem <SOLVED>
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

James Bunton a ?crit :
> d = disco.sendIq(packet)
> d.addCallback(successFunction)
> d.addErrback(errorFunction)
> 
> def successFunction(self, el):
>     pass
> 
> def errorFunction(self, el):
>     pass
> 
> 
> 'el' is the complete packet received in response to the IQ. Note that
> errorFunction may be called with no arguments, if there's a timeout for
> example.
> You can skip creating the errback function if you are 100% certain there
> will be a response. It's a bad idea though because if you don't make an
> errback function the debug log gets spammed with useless junk.
> 
> ---
> 
> James

Thank you very much for the information, it will help me a lot.

- --
?tienne Lavanant
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD4DBQFCt1SfTgJ44lcAhaMRAtHdAJQLnhQ36wpz8Nwfaa7dX6++JssPAJ9pplro
qEo7+NrTtZSHS3Ef2SLo/w==
=k9Ny
-----END PGP SIGNATURE-----
From [EMAIL PROTECTED]  Tue Jun 21 20:07:08 2005
From: [EMAIL PROTECTED] (Gonzalo Barrio)
Date: Wed Jun 22 00:17:35 2005
Subject: [py-transports] Errors on epoll reactor
Message-ID: <[EMAIL PROTECTED]>

I'm still have no luck with the epoll reactor. I try to compile the last
0.3 reactor but no luck at all.  I 'am running a Debian Sarge
instalation with kernel 2.6.10-1-k7.
This is the output:

[EMAIL PROTECTED]:~/transportes/epoll$ python setup.py build
running build
running build_ext
building 'epollc' extension
creating build/temp.linux-i686-2.3
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -I/usr/src/linux/include -fPIC
-I/usr/include/python2.3 -c epollc.c -o build/temp.linux-i686-2.3/epollc.o
epollc.c: In function `initepollc':
epollc.c:119: error: `EPOLLONESHOT' undeclared (first use in this function)
epollc.c:119: error: (Each undeclared identifier is reported only once
epollc.c:119: error: for each function it appears in.)
error: command 'gcc' failed with exit status 1

And when I add this line on epollc.c compile just fine.

#define EPOLLONESHOT (1 << 30)

But, the connection to the msn server is not closing or something is
wrong with it.
This is the output with a "netstat -ntp | grep PyMSN"

(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 200.73.189.61:14629     207.46.4.46:1863       
ESTABLISHED28203/PyMSNt-test
tcp        0      0 127.0.0.1:14545         127.0.0.1:5347         
ESTABLISHED28203/PyMSNt-test
tcp      122      0 200.73.189.61:14630     65.54.179.228:443      
CLOSE_WAIT 28203/PyMSNt-test

this in 2 minutes:

[EMAIL PROTECTED]:~/transportes/epoll$ netstat -ntp | grep PyMSN
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 127.0.0.1:14545         127.0.0.1:5347         
ESTABLISHED28203/PyMSNt-test
tcp      122      0 200.73.189.61:14630     65.54.179.228:443      
CLOSE_WAIT 28203/PyMSNt-test
tcp      122      0 200.73.189.61:14977     65.54.179.228:443      
CLOSE_WAIT 28203/PyMSNt-test
tcp      122      0 200.73.189.61:14863     65.54.179.228:443      
CLOSE_WAIT 28203/PyMSNt-test
tcp        0      0 200.73.189.61:14975     207.46.4.69:1863       
ESTABLISHED28203/PyMSNt-test

this is later:

[EMAIL PROTECTED]:~/transportes/epoll$ netstat -ntp | grep PyMSN
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 127.0.0.1:14545         127.0.0.1:5347         
ESTABLISHED28203/PyMSNt-test
tcp        0      0 200.73.189.61:15343     207.46.4.83:1863       
ESTABLISHED28203/PyMSNt-test
tcp      122      0 200.73.189.61:14630     65.54.179.228:443      
CLOSE_WAIT 28203/PyMSNt-test
tcp      122      0 200.73.189.61:14977     65.54.179.228:443      
CLOSE_WAIT 28203/PyMSNt-test
tcp      122      0 200.73.189.61:14863     65.54.179.228:443      
CLOSE_WAIT 28203/PyMSNt-test
tcp      122      0 200.73.189.61:15344     65.54.179.228:443      
CLOSE_WAIT 28203/PyMSNt-test
tcp      122      0 200.73.189.61:15168     65.54.179.228:443      
CLOSE_WAIT 28203/PyMSNt-test

and later:

[EMAIL PROTECTED]:~/transportes/epoll$ netstat -ntp | grep PyMSN
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 127.0.0.1:14545         127.0.0.1:5347         
ESTABLISHED28203/PyMSNt-test
tcp      122      0 200.73.189.61:15487     65.54.179.228:443      
CLOSE_WAIT 28203/PyMSNt-test
tcp      122      0 200.73.189.61:14630     65.54.179.228:443      
CLOSE_WAIT 28203/PyMSNt-test
tcp      122      0 200.73.189.61:14977     65.54.179.228:443      
CLOSE_WAIT 28203/PyMSNt-test
tcp      122      0 200.73.189.61:14863     65.54.179.228:443      
CLOSE_WAIT 28203/PyMSNt-test
tcp      122      0 200.73.189.61:15344     65.54.179.228:443      
CLOSE_WAIT 28203/PyMSNt-test
tcp      122      0 200.73.189.61:15168     65.54.179.228:443      
CLOSE_WAIT 28203/PyMSNt-test

and later

[EMAIL PROTECTED]:~/transportes/epoll$ netstat -ntp | grep PyMSN
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 127.0.0.1:14545         127.0.0.1:5347         
ESTABLISHED28203/PyMSNt-test
tcp      122      0 200.73.189.61:15487     65.54.179.228:443      
CLOSE_WAIT 28203/PyMSNt-test
tcp      122      0 200.73.189.61:14630     65.54.179.228:443      
CLOSE_WAIT 28203/PyMSNt-test
tcp      122      0 200.73.189.61:14977     65.54.179.228:443      
CLOSE_WAIT 28203/PyMSNt-test
tcp      122      0 200.73.189.61:14863     65.54.179.228:443      
CLOSE_WAIT 28203/PyMSNt-test
tcp      122      0 200.73.189.61:15344     65.54.179.228:443      
CLOSE_WAIT 28203/PyMSNt-test
tcp      122      0 200.73.189.61:15168     65.54.179.228:443      
CLOSE_WAIT 28203/PyMSNt-test


And this is the log in debug mode:

06/21/05 - 16:37:08 - Debug logging enabled.
06/21/05 - 16:37:09 - PyTransport: Service starting up
06/21/05 - 16:37:09 - Discovery: Created server discovery manager
06/21/05 - 16:37:09 - Discovery: Adding feature support
"http://jabber.org/protocol/disco"; "None"
06/21/05 - 16:37:09 - Discovery: Adding identitity "gateway" "msn" "MSN
Transport"
06/21/05 - 16:37:09 - Discovery: Adding identitity "conference" "text"
"MSN Transport Chatrooms"
06/21/05 - 16:37:09 - Discovery: Adding feature support
"jabber:x:conference" "None"
06/21/05 - 16:37:09 - Discovery: Adding feature support
"jabber:iq:conference" "None"
06/21/05 - 16:37:09 - Discovery: Adding feature support
"jabber:iq:register" "<bound method RegisterManager.incomingRegisterIq
of <register
.RegisterManager instance at 0xb77ca64c>>"
06/21/05 - 16:37:09 - RegisterManager: Created
06/21/05 - 16:37:09 - Discovery: Adding feature support
"jabber:iq:gateway" "<bound method GatewayTranslator.incomingIq of
<misciq.GatewayT
ranslator instance at 0xb77ca68c>>"
06/21/05 - 16:37:09 - Discovery: Adding feature support
"jabber:iq:version" "<bound method VersionTeller.incomingIq of
<misciq.VersionTelle
r instance at 0xb77ca6ac>>"
06/21/05 - 16:37:09 - Discovery: Adding feature support "vcard-temp"
"<bound method VCardFactory.incomingIq of <misciq.VCardFactory instanc
e at 0xb77ca72c>>"
06/21/05 - 16:37:09 - Discovery: Adding feature support
"http://jabber.org/protocol/commands"; "<bound method
AdHocCommands.incomingIq of <m
isciq.AdHocCommands instance at 0xb77ca74c>>"
06/21/05 - 16:37:09 - Discovery: Adding node item
"http://jabber.org/protocol/commands"; "<bound method
AdHocCommands.sendCommandList of <mi
sciq.AdHocCommands instance at 0xb77ca74c>>" "command_CommandList"
06/21/05 - 16:37:09 - PyTransport: Connected to main Jabberd server
06/21/05 - 16:37:09 - Discovery: Iq received "novamens.com" "None".
Looking for handler
06/21/05 - 16:37:09 - Discovery: Replying to disco#info request from
"novamens.com" "None"
06/21/05 - 16:37:19 - Discovery: Iq received "novamens.com" "1". Doing
callback.
06/21/05 - 16:37:28 - PyTrans: Sending error response to a message
outside of session.
06/21/05 - 16:37:36 - PyTransport: Sending unavailable presence to
non-logged in user "[EMAIL PROTECTED]"
06/21/05 - 16:37:43 - PyTransport: Sending unavailable presence to
non-logged in user "[EMAIL PROTECTED]"
06/21/05 - 16:37:49 - PyTransport: Attempting to create a new session
"[EMAIL PROTECTED]"
06/21/05 - 16:37:49 - session: makeSession("[EMAIL PROTECTED]")
06/21/05 - 16:37:49 - RegisterManager: getRegInfo("[EMAIL PROTECTED]")
06/21/05 - 16:37:49 - Username: "[EMAIL PROTECTED]" - Password:"xxxxxx"
06/21/05 - 16:37:49 - RegisterManager: getRegInfo("[EMAIL PROTECTED]") -
returning reg info "[EMAIL PROTECTED]" "xxxxx"!
06/21/05 - 16:37:49 - User: [EMAIL PROTECTED] - JabberConnection constructed
06/21/05 - 16:37:49 - Session: Creating new session "[EMAIL PROTECTED]"
06/21/05 - 16:37:49 - MSNConnection: "[EMAIL PROTECTED]" initialised
06/21/05 - 16:37:49 - MSNConnection: "[EMAIL PROTECTED]" created
06/21/05 - 16:37:49 - LegacyConnection: "[EMAIL PROTECTED]" - created
06/21/05 - 16:37:49 - ContactList: "[EMAIL PROTECTED]" creating
06/21/05 - 16:37:49 - Session [EMAIL PROTECTED] - Fetching user's vCard
06/21/05 - 16:37:49 - Session: New session created "[EMAIL PROTECTED]"
"[EMAIL PROTECTED]" "xxxxx"
06/21/05 - 16:37:49 - PyTransport: New session created "[EMAIL PROTECTED]"
06/21/05 - 16:37:49 - User: [EMAIL PROTECTED] - JabberConnection parsed
presence packet "[EMAIL PROTECTED]" "Psi" "5" "None" "None" ""
06/21/05 - 16:37:49 - Session [EMAIL PROTECTED] - resource "Psi" has
come online
06/21/05 - 16:37:49 - ContactList: "[EMAIL PROTECTED]" resent lists
06/21/05 - 16:37:49 - Session [EMAIL PROTECTED] - resource "Psi" setting
"None" "None" "5"
06/21/05 - 16:37:49 - Session [EMAIL PROTECTED] - highest active
resource is "Psi" at 5
06/21/05 - 16:37:49 - Session [EMAIL PROTECTED] - updating status on
legacy service, resource Psi
06/21/05 - 16:37:49 - User: [EMAIL PROTECTED] - JabberConnection parsed
presence packet "[EMAIL PROTECTED]" "None" "None" "probe" "None" ""
06/21/05 - 16:37:49 - User: [EMAIL PROTECTED] - JabberConnection parsed
presence packet "[EMAIL PROTECTED]" "Psi" "5" "None" "None" ""
06/21/05 - 16:37:49 - User: [EMAIL PROTECTED] - JabberConnection parsed
presence packet "[EMAIL PROTECTED]" "None" "None" "probe" "None" ""
06/21/05 - 16:37:49 - User: [EMAIL PROTECTED] - JabberConnection parsed
presence packet "[EMAIL PROTECTED]" "Psi" "5" "None" "None" ""
06/21/05 - 16:37:49 - Discovery: Iq received "[EMAIL PROTECTED]" "2".
Doing callback.
06/21/05 - 16:37:49 - Session [EMAIL PROTECTED] - Got user's vCard
06/21/05 - 16:38:11 - User: [EMAIL PROTECTED] - JabberConnection parsed
presence packet "[EMAIL PROTECTED]" "Psi" "0" "None" "None" ""
06/21/05 - 16:38:11 - Session [EMAIL PROTECTED] - resource "Psi" setting
"None" "None" "0"
06/21/05 - 16:38:11 - Session [EMAIL PROTECTED] - highest active
resource is "Psi" at 0
06/21/05 - 16:38:11 - Session [EMAIL PROTECTED] - updating status on
legacy service, resource Psi
06/21/05 - 16:38:54 - NotificationClient: "[EMAIL PROTECTED]" lost
connection with MSN servers
06/21/05 - 16:38:55 - MSNConnection: "[EMAIL PROTECTED]" destroyed
06/21/05 - 16:38:55 - MSNConnection: "[EMAIL PROTECTED]" initialised
06/21/05 - 16:39:19 - Discovery: Iq received "novamens.com" "3". Doing
callback.
06/21/05 - 16:40:14 - NotificationClient: "[EMAIL PROTECTED]" lost
connection with MSN servers
06/21/05 - 16:40:16 - MSNConnection: "[EMAIL PROTECTED]" destroyed
06/21/05 - 16:40:16 - MSNConnection: "[EMAIL PROTECTED]" initialised
06/21/05 - 16:41:18 - NotificationClient: "[EMAIL PROTECTED]" lost
connection with MSN servers
06/21/05 - 16:41:19 - Discovery: Iq received "novamens.com" "4". Doing
callback.
06/21/05 - 16:41:22 - MSNConnection: "[EMAIL PROTECTED]" destroyed
06/21/05 - 16:41:22 - MSNConnection: "[EMAIL PROTECTED]" initialised
06/21/05 - 16:42:30 - NotificationClient: "[EMAIL PROTECTED]" lost
connection with MSN servers
06/21/05 - 16:42:38 - MSNConnection: "[EMAIL PROTECTED]" destroyed
06/21/05 - 16:42:38 - MSNConnection: "[EMAIL PROTECTED]" initialised
06/21/05 - 16:43:19 - Discovery: Iq received "novamens.com" "5". Doing
callback.
06/21/05 - 16:43:42 - NotificationClient: "[EMAIL PROTECTED]" lost
connection with MSN servers
06/21/05 - 16:43:58 - MSNConnection: "[EMAIL PROTECTED]" destroyed
06/21/05 - 16:43:58 - MSNConnection: "[EMAIL PROTECTED]" initialised
06/21/05 - 16:45:05 - NotificationClient: "[EMAIL PROTECTED]" lost
connection with MSN servers
06/21/05 - 16:45:05 - LegacyConnection: "[EMAIL PROTECTED]" -
connectionLost("<legacy.glue.LegacyConnection instance at 0xb7736fcc>")
06/21/05 - 16:45:05 - User: [EMAIL PROTECTED] - JabberConnection sending
message "[EMAIL PROTECTED]" "msn-test.novamens.com" "Desconexi n d
e los servidores MSN: Error" "None"
06/21/05 - 16:45:05 - jabw: Sending a Jabber message "[EMAIL PROTECTED]"
"msn-test.novamens.com" "Desconexi n de los servidores MSN: Error"
 "None"
06/21/05 - 16:45:05 - Session: Removing "[EMAIL PROTECTED]"
06/21/05 - 16:45:05 - User: [EMAIL PROTECTED] - JabberConnection sending
presence "[EMAIL PROTECTED]""msn-test.novamens.com" "None" "" "Non
e" "unavailable" "False" "None"
06/21/05 - 16:45:05 - LegacyConnection: "[EMAIL PROTECTED]" - being deleted
06/21/05 - 16:45:05 - MSNConnection: "[EMAIL PROTECTED]" destroyed
06/21/05 - 16:45:05 - ContactList: "[EMAIL PROTECTED]" removed
06/21/05 - 16:45:05 - Session: Completed removal "[EMAIL PROTECTED]"
06/21/05 - 16:45:19 - Discovery: Iq received "novamens.com" "7". Doing
callback.
06/21/05 - 16:47:19 - Discovery: Iq received "novamens.com" "8". Doing
callback.
06/21/05 - 16:49:19 - Discovery: Iq received "novamens.com" "9". Doing
callback.
06/21/05 - 16:51:19 - Discovery: Iq received "novamens.com" "10". Doing
callback.
06/21/05 - 16:51:57 - Discovery: Iq received "[EMAIL PROTECTED]/neos"
"mr1839". Looking for handler
06/21/05 - 16:51:57 - Discovery: Replying to disco#info request from
"[EMAIL PROTECTED]/neos" "mr1839"
06/21/05 - 16:53:19 - Discovery: Iq received "novamens.com" "11". Doing
callback.
06/21/05 - 16:55:19 - Discovery: Iq received "novamens.com" "12". Doing
callback.
06/21/05 - 16:57:19 - Discovery: Iq received "novamens.com" "13". Doing
callback.
06/21/05 - 16:59:19 - Discovery: Iq received "novamens.com" "14". Doing
callback.
06/21/05 - 17:01:19 - Discovery: Iq received "novamens.com" "15". Doing
callback.

Reply via email to