On Sun, May 14, 2017 at 5:56 AM,  <[email protected]> wrote:
>
> I am trying to compile go version 1.8.1 on a large Linux server that is
> shared with many other users.
>
> Bootstrapping of go1.4 is successful (but the testing fails for the same
> reason as below)
>
> ./all.bash fails for 1.8.1 with the following:
>
> go build mime/quotedprintable: <dir_hidden>/compile: resource temporarily
> unavailable
> text/template/parse
> # debug/gosym
> runtime: failed to create new OS thread (have 2 already; errno=11)
> fatal error: runtime.newosproc
>
> It seems that  ulimit -u is hard restricted on this machine to 100 which
> leads me to think that the installation is requesting too many threads and
> then failing.
>
> If I am correct is it possible to limit the number of threads the
> installation requests? There is no hope of resetting ulimit...

Try setting the environment variable GOMAXPROCS to 1 when you run all.bash.

I expect that some tests will fail, but with luck the build should complete.

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to