unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* bug#26611: [PATCH] guix-daemon.service: bump amount of parallel threads up to 8192
@ 2017-04-22 17:33 Sergei Trofimovich
  2017-04-23  0:46 ` Leo Famulari
  2017-04-23  0:46 ` Leo Famulari
  0 siblings, 2 replies; 3+ messages in thread
From: Sergei Trofimovich @ 2017-04-22 17:33 UTC (permalink / raw)
  To: 26611

Noticed original limit as a testsuite failure on go-1.8.1:

  ##### ../misc/cgo/test
  --- FAIL: Test18146 (2.93s)
    issue18146.go:121: syscall.Exec failed: exit status 2
      runtime/cgo: pthread_create failed: Resource temporarily unavailable

* etc/guix-daemon.service.in: changed TasksMax from 1024 to 8192

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
---
 etc/guix-daemon.service.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/etc/guix-daemon.service.in b/etc/guix-daemon.service.in
index ffe4cf9bd..2437a08f6 100644
--- a/etc/guix-daemon.service.in
+++ b/etc/guix-daemon.service.in
@@ -13,7 +13,8 @@ StandardOutput=syslog
 StandardError=syslog
 
 # See <https://lists.gnu.org/archive/html/guix-devel/2016-04/msg00608.html>.
-TasksMax=1024
+# go-1.8.1 testsuire requires more than 1024 tasks.
+TasksMax=8192
 
 [Install]
 WantedBy=multi-user.target
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#26611: [PATCH] guix-daemon.service: bump amount of parallel threads up to 8192
  2017-04-22 17:33 bug#26611: [PATCH] guix-daemon.service: bump amount of parallel threads up to 8192 Sergei Trofimovich
@ 2017-04-23  0:46 ` Leo Famulari
  2017-04-23  0:46 ` Leo Famulari
  1 sibling, 0 replies; 3+ messages in thread
From: Leo Famulari @ 2017-04-23  0:46 UTC (permalink / raw)
  To: Sergei Trofimovich; +Cc: 26611

[-- Attachment #1: Type: text/plain, Size: 534 bytes --]

On Sat, Apr 22, 2017 at 06:33:03PM +0100, Sergei Trofimovich wrote:
> Noticed original limit as a testsuite failure on go-1.8.1:
> 
>   ##### ../misc/cgo/test
>   --- FAIL: Test18146 (2.93s)
>     issue18146.go:121: syscall.Exec failed: exit status 2
>       runtime/cgo: pthread_create failed: Resource temporarily unavailable
> 
> * etc/guix-daemon.service.in: changed TasksMax from 1024 to 8192

Thanks! I pushed the change as 644f95111cd3566b2136f935624a82210eec2c8a
after editing the commit message and code comment.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#26611: [PATCH] guix-daemon.service: bump amount of parallel threads up to 8192
  2017-04-22 17:33 bug#26611: [PATCH] guix-daemon.service: bump amount of parallel threads up to 8192 Sergei Trofimovich
  2017-04-23  0:46 ` Leo Famulari
@ 2017-04-23  0:46 ` Leo Famulari
  1 sibling, 0 replies; 3+ messages in thread
From: Leo Famulari @ 2017-04-23  0:46 UTC (permalink / raw)
  To: 26611-done

Closing!

On Sat, Apr 22, 2017 at 06:33:03PM +0100, Sergei Trofimovich wrote:
> Noticed original limit as a testsuite failure on go-1.8.1:
> 
>   ##### ../misc/cgo/test
>   --- FAIL: Test18146 (2.93s)
>     issue18146.go:121: syscall.Exec failed: exit status 2
>       runtime/cgo: pthread_create failed: Resource temporarily unavailable
> 
> * etc/guix-daemon.service.in: changed TasksMax from 1024 to 8192
> 
> Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
> ---
>  etc/guix-daemon.service.in | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/etc/guix-daemon.service.in b/etc/guix-daemon.service.in
> index ffe4cf9bd..2437a08f6 100644
> --- a/etc/guix-daemon.service.in
> +++ b/etc/guix-daemon.service.in
> @@ -13,7 +13,8 @@ StandardOutput=syslog
>  StandardError=syslog
>  
>  # See <https://lists.gnu.org/archive/html/guix-devel/2016-04/msg00608.html>.
> -TasksMax=1024
> +# go-1.8.1 testsuire requires more than 1024 tasks.
> +TasksMax=8192
>  
>  [Install]
>  WantedBy=multi-user.target
> -- 
> 2.12.2
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-04-23  0:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-22 17:33 bug#26611: [PATCH] guix-daemon.service: bump amount of parallel threads up to 8192 Sergei Trofimovich
2017-04-23  0:46 ` Leo Famulari
2017-04-23  0:46 ` Leo Famulari

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).