Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hitting proc_open limit #64

Closed
weierophinney opened this issue Apr 9, 2013 · 2 comments
Closed

Hitting proc_open limit #64

weierophinney opened this issue Apr 9, 2013 · 2 comments

Comments

@weierophinney
Copy link

I'm attempting to run satis to re-create the Zend Framework composer repository, and using the new "archive" feature to grab download zips from GitHub.

I have around 80 repositories I'm scanning.

I think somewhere around 75, I got an error message:

Fatal error: Uncaught exception 'ErrorException' with message 'proc_open(): unable to o create pipe Too many open files

Fortunately, re-running the command, satis was able to discover the files it had already downloaded, and finished quickly.

That said, this would be a nice issue to resolve, for those building composer repositories from many VCS sources.

@Seldaek
Copy link
Member

Seldaek commented Apr 9, 2013

I know it might take you a while, but would you mind rerunning it with an empty cache and --verbose so as to get a full stack trace? Just wondering exactly where this came from. Alternatively if you want to share your satis config that might work too.

@orukusaki
Copy link

I've hit this error today, here's my error output with stack trace:

PHP Fatal error:  Uncaught exception 'ErrorException' with message 'proc_open(): unable to create pipe Too many open files' in /Users/psmith/satis/vendor/symfony/console/Symfony/Component/Console/Application.php:1031
Stack trace:
#0 [internal function]: Composer\Util\ErrorHandler::handle(2, 'proc_open(): un...', '/Users/psmith/s...', 1031, Array)
#1 /Users/psmith/satis/vendor/symfony/console/Symfony/Component/Console/Application.php(1031): proc_open('stty -a | grep ...', Array, NULL, NULL, NULL, Array)
#2 /Users/psmith/satis/vendor/symfony/console/Symfony/Component/Console/Application.php(910): Symfony\Component\Console\Application->getSttyColumns()
#3 /Users/psmith/satis/vendor/symfony/console/Symfony/Component/Console/Application.php(875): Symfony\Component\Console\Application->getTerminalDimensions()
#4 /Users/psmith/satis/vendor/symfony/console/Symfony/Component/Console/Application.php(809): Symfony\Component\Console\Application->getTerminalWidth()
#5 /Users/psmith/satis/vendor/symfony/console/Symfony/Component/Console/App in /Users/psmith/satis/vendor/symfony/console/Symfony/Component/Console/Application.php on line 1031

Fatal error: Uncaught exception 'ErrorException' with message 'proc_open(): unable to create pipe Too many open files' in /Users/psmith/satis/vendor/symfony/console/Symfony/Component/Console/Application.php on line 1031

ErrorException: proc_open(): unable to create pipe Too many open files in /Users/psmith/satis/vendor/symfony/console/Symfony/Component/Console/Application.php on line 1031

Call Stack:
    0.0003     225088   1. {main}() /Users/psmith/satis/bin/satis:0
    0.0726    1136288   2. Symfony\Component\Console\Application->run() /Users/psmith/satis/bin/satis:9
     1011.6048   39356944   3. Symfony\Component\Console\Application->renderException() /Users/psmith/satis/vendor/symfony/console/Symfony/Component/Console/Application.php:123
     1011.6049   39358336   4. Symfony\Component\Console\Application->getTerminalWidth() /Users/psmith/satis/vendor/symfony/console/Symfony/Component/Console/Application.php:809
     1011.6049   39358368   5. Symfony\Component\Console\Application->getTerminalDimensions() /Users/psmith/satis/vendor/symfony/console/Symfony/Component/Console/Application.php:875
     1011.6049   39358496   6. Symfony\Component\Console\Application->getSttyColumns() /Users/psmith/satis/vendor/symfony/console/Symfony/Component/Console/Application.php:910
 1011.6050   39360552   7. proc_open() /Users/psmith/satis/vendor/symfony/console/Symfony/Component/Console/Application.php:1031
 1011.6050   39361728   8. Composer\Util\ErrorHandler::handle() /Users/psmith/satis/vendor/symfony/console/Symfony/Component/Console/Application.php:1031

@Seldaek Seldaek closed this as completed in 09f9728 Jun 8, 2013
pombredanne pushed a commit to pombredanne/composer that referenced this issue Nov 15, 2013
to be garbage collected correctly, and the folder closed.

Fixes composer/satis#64 for PHP 5.4
digitalkaoz pushed a commit to digitalkaoz/composer that referenced this issue Nov 22, 2013
to be garbage collected correctly, and the folder closed.

Fixes composer/satis#64 for PHP 5.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants