AppImage / AppImage/AppImageKit

Increase the file descriptor limit before extracting

Offen
#403 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
needs verification
Vorherrschende Sprache
Keine Sprachdaten
Sterne
9.4k
Forks
588
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

We got a [report](https://discourse.appimage.org/t/running-appimage-app-on-ubuntu-16-04/200/6?u=probono) that `--appimage-extract` fails on a very large (15 GB) file and that maybe we are running out of file descriptors.

https://github.com/ipfs/go-ipfs seems to be able to increase the file descriptor limit without needing root rights, maybe we could do the same:

```
me@host:~$ '/home/me/ipfs' daemon
Initializing daemon...
Adjusting current ulimit to 2048...
Successfully raised file descriptor limit to 2048.
```

The code doing this is in https://github.com/ipfs/go-ipfs/blob/master/cmd/ipfs/ulimit_unix.go

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.