This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eanxgeek
Recipients eanxgeek
Date 2007-10-25.21:33:40
SpamBayes Score 0.077168636
Marked as misclassified No
Message-id <1193348023.13.0.92829206249.issue1327@psf.upfronthosting.co.za>
In-reply-to
Content
Created a small program using xmlrpclib.  When connecting to one url
where my list is < 300 items and the program finishes no problem. 
Connect to another url where my list is over 500 items and the program
times out after 40+ minutes with no results printed.  On my RHEL system
I used oprofile and determined that time spent was in ceval.c, symbol
PyEval_EvalFrame. This issue seems to be new to Python 2.4 as shipped
with RHEL.  I am currently in the process of building non-RHEL python to
 verify issue does or does not exist there as well.

<code>
#!/usr/bin/env python

import xmlrpclib

u = 'someuser'
p = 'password'

server_url = 'http://rhn.redhat.com/rpc/api'

server = xmlrpclib.Server(server_url)

session = server.auth.login(u,p)

l = server.channel.listSoftwareChannels(session)
for a in l:
    print a['channel_label']
</code>
Files
File name Uploaded
ceval.c eanxgeek, 2007-10-25.21:33:42
History
Date User Action Args
2007-10-25 21:33:43eanxgeeksetspambayes_score: 0.0771686 -> 0.077168636
recipients: + eanxgeek
2007-10-25 21:33:43eanxgeeksetspambayes_score: 0.0771686 -> 0.0771686
messageid: <1193348023.13.0.92829206249.issue1327@psf.upfronthosting.co.za>
2007-10-25 21:33:42eanxgeeklinkissue1327 messages
2007-10-25 21:33:42eanxgeekcreate