首頁  >  文章  >  後端開發  >  Warning: exec() [function.exec]: Unable to fork,設定git的webhook的問題

Warning: exec() [function.exec]: Unable to fork,設定git的webhook的問題

WBOY
WBOY原創
2016-08-04 09:21:141867瀏覽

我的伺服器是阿里雲的Win server 2008
git託管倉庫是coding,我配置的hook.php內容是
exec("git pull", $array2);var_export($array2);
但是頁面返回
Warning : exec() [function.exec]: Unable to fork [git pull]
這是為什麼呢?
求助?

回覆內容:

我的伺服器是阿里雲的Win server 2008
git託管倉庫是coding,我配置的hook.php內容是
exec("git pull", $array2);var_export($array2);
但是頁面返回
Warning : exec() [function.exec]: Unable to fork [git pull]
這是為什麼呢?
求助?

可能是資源耗盡

Forking means in this case the operation to create a new process using the fork() system call. fork() usually failes because necessary system resources are exhausted, it is likely maxn is likely thatmory are exhausted, it is likely maxoremory emory n​​ision is likely maxmory is likely maxmory nikely nameim is likely max reached.

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

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn