You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ERROR] Could not compress the PHAR: the compression requires too many file descriptors to be opened (1806). Check your
system limits or install the posix extension to allow Box to automatically configure it during the compression
This is the first time ever I got it... 1806 matches the number of files found in box.phar, but what looks weird is that:
This issue is still occurring locally... no clue why or how to fix it
$ make compile
# Compile Box
bin/box compile
____
/ __ )____ _ __
/ __ / __ \| |/_/
/ /_/ / /_/ /> <
/_____/\____/_/|_|
Box version 3.x-dev@e65178c
// Loading the configuration file "/path/to/box/box.json.dist".
🔨 Building the PHAR "/path/to/box/bin/box.phar"
? Removing the existing PHAR "/path/to/box/bin/box.phar"
? Setting replacement values
+ @release-date@: 2020-09-27 14:03:56 UTC
? Registering compactors
+ KevinGH\Box\Compactor\Php
+ KevinGH\Box\Compactor\PhpScoper
+ KevinGH\Box\Compactor\Json
? Adding main file: /path/to/box/bin/box
? Adding requirements checker
? Adding binary files
> 31 file(s)
? Auto-discover files? Yes
? Exclude dev files? Yes
? Adding files
> 1617 file(s)
? Generating new stub
- Using shebang line: #!/usr/bin/env php
- Using banner:
> This file is part of the box project.
>
> (c) Kevin Herrera <kevin@herrera.io>
> Théo Fidry <theo.fidry@gmail.com>
>
> This source file is subject to the MIT license that is bundled
> with this source code in the file LICENSE.
? Dumping the Composer autoloader
? Removing the Composer dump artefacts
? Compressing with the algorithm "GZ"
[ERROR] Could not compress the PHAR: the compression requires too many file descriptors to be opened (1687). Check your
system limits or install the posix extension to allow Box to automatically configure it during the compression
In Compile.php line 667:
unable to create temporary file
Bug report
When trying to compile Box, I got:
This is the first time ever I got it... 1806 matches the number of files found in
box.phar
, but what looks weird is that:So it is likely that either checking this file limit is not enough...
For the record, the limit is bumped here and the actual code for bumping the limit is here
The text was updated successfully, but these errors were encountered: