One unreachable feed can hold up the entire moon #1

Closed
raboof opened this Issue Mar 6, 2011 · 3 comments

Projects

None yet

4 participants

@raboof
raboof commented Mar 6, 2011

One non-responding feed can make the entire moon page unavailable.

I'm not sure if this problem occurs only when the site has always been unavailable, or also when it was available and becomes unavailable.

This currently happened with http://audiores.uint8.com.ar/blog/index.php?tag=english&feed=rss2

Specifying a timeout in app/classes/Planet.class.php allowed me to see the moon again:
$person->set_timeout(1);
$person->init();

@qubodup
qubodup commented Mar 18, 2012

You can also stop the entire moon if there is an unescaped "&" (instead of "&") in the first feed.
The broken feed and all the feeds following the broken one will be ignored.

@laurentj

This set_timeout(-1) is in fact dangerous. If a feed is not reachable, for example the server where the feed is, does not respond, it leaves some opened connection in Apache, and after one hour or two, apache cannot respond at all on incoming requests, because two many connections are opens.

I commented this line.

@mauricesvay
Owner

Should be fixed by 8047a08

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment