bigcommerce 打包遇到问题

2020-05-14  本文已影响0人  孤单的天使

Error: ENFILE: file table overflow~~~~

这个其实是mac系统的打开文件数量限制

解决方法:执行下面的命令

echo kern.maxfiles=65536 | sudo tee -a /etc/sysctl.conf

echo kern.maxfilesperproc=65536 | sudo tee -a /etc/sysctl.conf

sudo sysctl -w kern.maxfiles=65536

sudo sysctl -w kern.maxfilesperproc=65536

ulimit -n 65536

https://github.com/reactioncommerce/reaction/issues/1938

上一篇 下一篇

猜你喜欢

热点阅读