Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 789444 - dev-java/sbt-0.13.18-r1 - [error] Could not create file /.../outjava.io.IOException: Too many open files
Summary: dev-java/sbt-0.13.18-r1 - [error] Could not create file /.../outjava.io.IOExc...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-11 11:57 UTC by Toralf Förster
Modified: 2024-04-30 12:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.15 KB, text/plain)
2021-05-11 11:57 UTC, Toralf Förster
Details
dev-java:sbt-0.13.18:20210511-114041.log (dev-java:sbt-0.13.18:20210511-114041.log,38.26 KB, text/plain)
2021-05-11 11:57 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,63.17 KB, text/plain)
2021-05-11 11:57 UTC, Toralf Förster
Details
environment (environment,78.57 KB, text/plain)
2021-05-11 11:57 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,15.19 KB, application/x-bzip)
2021-05-11 11:57 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,3.99 KB, application/x-bzip)
2021-05-11 11:57 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.83 KB, application/x-bzip)
2021-05-11 11:57 UTC, Toralf Förster
Details
build.log (build.log,77.08 KB, text/plain)
2024-04-30 12:05 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-05-11 11:57:35 UTC
[error] java.io.FileNotFoundException: /var/tmp/portage/dev-java/sbt-0.13.18/work/.bintray/.credentials (Too many open files)
[error] Use 'last' for the full log.
[ERROR] Terminal initialization failed; falling back to unsupported
java.io.IOException: Cannot run program "sh": error=24, Too many open files
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
	at jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:308)
	at jline.internal.TerminalLineSettings.stty(TerminalLineSettings.java:282)

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j2-20210510-163136

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.10
Available Rust versions:
  [1]   rust-1.52.1 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php8.0 *

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon May 10 19:50:37 UTC 2021

emerge -qpvO dev-java/sbt
[ebuild  N    ] dev-java/sbt-0.13.18  USE="-binary"
Comment 1 Toralf Förster gentoo-dev 2021-05-11 11:57:36 UTC
Created attachment 707037 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-11 11:57:37 UTC
Created attachment 707040 [details]
dev-java:sbt-0.13.18:20210511-114041.log
Comment 3 Toralf Förster gentoo-dev 2021-05-11 11:57:39 UTC
Created attachment 707043 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-05-11 11:57:40 UTC
Created attachment 707046 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-05-11 11:57:41 UTC
Created attachment 707049 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-05-11 11:57:42 UTC
Created attachment 707052 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-05-11 11:57:43 UTC
Created attachment 707055 [details]
temp.tar.bz2
Comment 8 Agostino Sarubbo gentoo-dev 2022-06-23 06:47:20 UTC
ci has reproduced this issue with version 0.13.18-r1 - Updating summary.
Comment 9 Volkmar W. Pogatzki 2022-06-23 07:25:53 UTC
(In reply to Agostino Sarubbo from comment #8)
> ci has reproduced this issue with version 0.13.18-r1 - Updating summary.

Cannot reproduce here.  Could you pls. attach an update build log?
Comment 10 Slava Barinov 2022-08-31 20:21:03 UTC
Resolved the issue on my machine by increasing ulimits.
Adding

* 		 soft 	 nofile 	 65536
* 		 hard 	 nofile 	 65536

Into /etc/security/limits.conf resolves the issue.
Not sure about exact limit required, though
Comment 11 Agostino Sarubbo gentoo-dev 2024-04-30 12:05:06 UTC
Created attachment 892002 [details]
build.log

build.log