[Sugar-devel] [Systems] git.sugarlabs.org down for unplanned maintenance
Aleksey Lim
alsroot at sugarlabs.org
Mon Apr 14 10:32:07 EDT 2014
On Mon, Apr 14, 2014 at 09:12:05AM -0400, Bernie Innocenti wrote:
> On 04/12/2014 02:07 AM, Sebastian Silva wrote:
> > Here I just got home. Sorry for the inconvenience I might have caused.
> >
> > Bernie, do you know which log was/is growing out of hand?
>
> Both access.log and node.sugarlabs.org.log. I discarded the first and
> compressed the second (it compresses very well). You can still examine
> it by doing:
>
> xzless access.log-20140411.xz | tail
>
> You'll see lines like this one:
>
> node.sugarlabs.org:80 181.65.159.107 - - [11/Apr/2014:19:51:36 -0400]
> "GET /?cmd=subscribe HTTP/1.1" 200 232 "-" "python-requests/1.2.1
> CPython/2.7.0 Linux/2.6.35.13_xo1.5-20120508.1139.olpc.eb0c7a8"
>
>
> The problem seems to be that laptops retry the connection to
> /context.atom and /feedback.atom quickly. It's probably near the end of
> the file though. Don't try to uncompress the whole file because it's
> over 2GB.
`GET /?cmd=subscribe` SN API calls are inteneded to be permanent
to provide HTML5 Server-Sent Events. If I'm getting it right, Apache is
not assumed to be perfect to support such long-living connections and
SN nodes will be switched to direct HTTP access after all. But for now,
they are behind Apache porxy with 600 sec proxy timeout, so, logs
should not grow too fast.
--
Aleksey
More information about the Sugar-devel
mailing list