[squeak-dev] Cannot commit VMMaker to source.squeak.org

David T. Lewis lewis at mail.msen.com
Fri Jan 9 02:56:15 UTC 2015


Hi Eliot,

On Thu, Jan 08, 2015 at 05:04:48PM -0800, Eliot Miranda wrote:
> Hi Levente,
> 
>      not sure if this is due to the replacement of box2 (I suspect it is)
> but in trying to upload the VMMaker.oscog versions I've been keeping back
> while box2 is repaired/replaced I get the following error:
> 
> HTTP/1.1 413 Request Entity Too Large
> Server: nginx
> Date: Fri, 09 Jan 2015 01:00:40 GMT
> Content-Type: text/html
> Content-Length: 192
> Connection: closeHTTP/1.1 413 Request Entity Too Large
> Server: nginx
> Date: Fri, 09 Jan 2015 01:00:40 GMT
> Content-Type: text/html
> Content-Length: 192
> Connection: close<html>
> <head><title>413 Request Entity Too Large</title></head>
> <body bgcolor="white">
> <center><h1>413 Request Entity Too Large</h1></center>
> <hr><center>nginx</center>
> </body>
> </html>

The last successful uploads into source.squeak.org were these:

davidlewis at squeak-box4:/srv/box2/home/squeaksource/ss$ tr '\r' '\n' < ss.log | tail
2014-12-31T22:22:54.955+00:00 PUT /VMMaker/VMMaker.oscog-eem.1004.mcz (eem)
2014-12-31T22:23:05.575+00:00 STORED VMMaker/VMMaker.oscog-eem.1004.mcz
2015-01-01T21:18:05.364+00:00 PUT /VMMaker/VMMaker.oscog-eem.1005.mcz (eem)
2015-01-01T21:18:16.333+00:00 STORED VMMaker/VMMaker.oscog-eem.1005.mcz
2015-01-01T21:28:02.069+00:00 PUT /VMMaker/VMMaker.oscog-eem.1006.mcz (eem)
2015-01-01T21:28:12.61+00:00 STORED VMMaker/VMMaker.oscog-eem.1006.mcz
2015-01-01T21:39:15.692+00:00 PUT /VMMaker/VMMaker.oscog-eem.1007.mcz (eem)
2015-01-01T21:39:26.056+00:00 STORED VMMaker/VMMaker.oscog-eem.1007.mcz
2015-01-01T22:03:30.81+00:00 PUT /VMMaker/VMMaker.oscog-eem.1008.mcz (eem)
2015-01-01T22:03:41.23+00:00 STORED VMMaker/VMMaker.oscog-eem.1008.mcz

That was before the box2 crash.

It looks like the response is due to this:

http://www.daveperrett.com/articles/2009/11/18/nginx-error-413-request-entity-too-large/

So it is not a limit related to source.squeak.org, it is just a limit
on size of uploads imposed by the nginx reverse proxy server. My guess
is that adding a local configuration file in /etc/nginx/conf.d/ would
be a reasonable way to bump the limit up to 5M.

I do not have any experience with nginx, so I will wait for Levente or
one of the other box-admins to respond (but I have access to make the
change if someone tells me what to do).

> 
> The sizes of the packages are currently
> McStalker.Cog$ ls -lh package-cache/VMMaker.oscog-eem.101*
> -rw-r--r--@ 1 eliot  staff   3.5M Jan  6 10:52
> package-cache/VMMaker.oscog-eem.1010.mcz
> -rw-r--r--@ 1 eliot  staff   3.5M Jan  8 13:01
> package-cache/VMMaker.oscog-eem.1011.mcz
> -rw-r--r--@ 1 eliot  staff   3.5M Jan  8 17:00
> package-cache/VMMaker.oscog-eem.1012.mcz
> 
> 
> I think we should allow at least 5m.  Is this possible or will I have to
> split up VMMaker??  (oh no, Mr Billllll!)

What a rediculous notion. How could you possibly suggest that three
and a half megabytes of compressed source code would be too large for
a single package?

;-)

Dave



More information about the Squeak-dev mailing list