Skip to content

Instantly share code, notes, and snippets.

@shreyaskarnik
Created March 24, 2015 23:08
Show Gist options
  • Save shreyaskarnik/a988426a45abbd87b725 to your computer and use it in GitHub Desktop.
Save shreyaskarnik/a988426a45abbd87b725 to your computer and use it in GitHub Desktop.
panic I get when I set chunksize: 32000 according to https://github.com/docker/distribution/blob/master/doc/configuration.md
panic: The chunksize parameter should be a number that is larger than 5*1024*1024
goroutine 1 [running]:
github.com/docker/distribution/registry/handlers.NewApp(0x7f3d6a6d3bd0, 0xc2080e8600, 0xc20802b378, 0x3, 0xc20802b3a0, 0x5, 0xc20803dfb0, 0x0, 0x0, 0x0, ...)
/go/src/github.com/docker/distribution/registry/handlers/app.go:90 +0x590
main.main()
/go/src/github.com/docker/distribution/cmd/registry/main.go:56 +0x590
goroutine 6 [syscall]:
os/signal.loop()
/usr/src/go/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
/usr/src/go/src/os/signal/signal_unix.go:27 +0x35
@peebles
Copy link

peebles commented Apr 25, 2015

Yeah, me to. No matter what I set s3 chunksize to, I get this error.

@peebles
Copy link

peebles commented Apr 25, 2015

If I don't set it (remove the chunksize line from the config.yml file), then I can run without errors. There is a default in the .go source, and that seems to work.

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