subprocesses from apache returning exit code -6 with not stdout or stderr

345 Views Asked by At

When running "git status" or even "ls" from an apache process, I will frequently get no standard output or error, and an exit status code of -6. Other times, it just works. Any ideas why this is occurring or what it means?

1

There are 1 best solutions below

0
On

If you are on a network with a lot of people, you may be running out of available concurrent connections. This assumes you are on Linux when you talk about your remote. The default of 10 concurrent secure collections is not enough if you have lots of simultaneous connections via ssh.

This is explained by git running on your local machine and then needing to access multiple files on the remote to get the picture of what is in the index and the current commit's tree.