Warning: exec() [function.exec]: Unable to fork, problem with configuring git webhook

WBOY
Release: 2016-08-04 09:21:14
Original
1799 people have browsed it

My server is Alibaba Cloud's Win server 2008
The git hosting warehouse is coding, and the hook.php content I configured is
exec("git pull", $array2);var_export($array2);
But the page returns
Warning : exec() [function.exec]: Unable to fork [git pull]
Why is this?
Help?

Reply content:

My server is Alibaba Cloud's Win server 2008
The git hosting warehouse is coding, and the hook.php content I configured is
exec("git pull", $array2);var_export($array2);
But the page returns
Warning : exec() [function.exec]: Unable to fork [git pull]
Why is this?
Help?

Maybe resources are exhausted

Forking means in this case the operation to create a new process using the fork() system call. fork() usually fails because necessary system resources are exhausted, it is likely that memory limits or the maximum number of open processes per system is reached.

From http://stackoverflow.com/questions/20732394/what-does-the-unable-to-fork-error-mean

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!