My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 8: [ 1651355 ] Feed cannot be parsed
2 people starred this issue and may be notified of changes. Back to list
Status:  Accepted
Owner:  pilgrim
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by pilgrim, Apr 19, 2007
When I try to parse the feed at: http://feeds.gawker.com/defamer/full
feedparser starts using a lot of resources and hangs.
Comment 1 by yura.smolsky, Apr 23, 2007
Same problem for these feeds: 
http://cs.silverpop.com/movielink/rss/xml/AOL_Western.xml
http://cs.silverpop.com/movielink/rss/xml/Movielink_Drama.xml

It takes forever to be parsed and "eats" all available memory but never parses the feed.

Comment 2 by tim.strehle, Mar 23, 2009
... resulting in a server crash on our site. 

feedparser is great, so we'd love to continue using it - is there a known workaround?

Maybe something like PHP's memory limit (http://www.php.net/manual/en/ini.core.php#ini.memory-limit) that 
makes PHP die when reached?

(Sorry for the question, I'm coming from PHP and not familiar with Python at all...)
Comment 3 by tim.strehle, Apr 05, 2009
Found a workaround that seems to help so far - instead of running python directly, I'm wrapping it into a "ulimit 
jail" shell:

bash -c 'ulimit -v 300000 -t 180 ; python rss2atom.py filename'
Sign in to add a comment

Hosted by Google Code