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

社会主义新天地 提交于 2019-12-12 20:03:32

问题


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:


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.



来源:https://stackoverflow.com/questions/8948598/subprocesses-from-apache-returning-exit-code-6-with-not-stdout-or-stderr

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!