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

Git clone process (or any other process) is being terminated after 60 seconds for large repositories #13

Closed
piotrpolak opened this issue Aug 7, 2014 · 5 comments

Comments

@piotrpolak
Copy link

[Symfony\Component\Process\Exception\ProcessTimedOutException]
  The process "'git' 'clone' '--quiet' 'https://**********.git' '../../*****/'" exceeded the timeout of
  60 seconds.

The ProcessBuilder created by Git::getProcessBuilder() has no timeout set so the default timeout of 60s is used.

There is no way to change the behavior of the mentioned method from outside world.

@piotrpolak piotrpolak changed the title Git clone process is being terminated after 60 seconds for large repositories Git clone process (or any other process) is being terminated after 60 seconds for large repositories Aug 7, 2014
@kmaid
Copy link

kmaid commented Aug 8, 2014

Sounds like you are hitting your php script execution limit. See http://php.net/manual/en/function.set-time-limit.php

@piotrpolak
Copy link
Author

This is not the php script execution limit because once the setTimeout(99999) is added the script works fine (see piotrpolak@e376d3f)

@kmaid
Copy link

kmaid commented Aug 8, 2014

Did you see the note about "This function has no effect when PHP is running in safe mode. There is no workaround other than turning off safe mode or changing the time limit in the php.ini."

@cpliakas
Copy link

Cross-posting cpliakas/git-wrapper#92 as the issues sound similar.

@piotrpolak
Copy link
Author

It seems it won't be fix.

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