go 編譯時(shí)報(bào)pipe: too many open files 解決方案
使用gframe 的gf工具編譯時(shí)報(bào)錯(cuò)
> gf run main.go
2021-11-04 02:45:39.093 build: main.go
2021-11-04 02:45:39.093 go build -o bin/main main.go
2021-11-04 02:45:39.093 build error:
pipe: too many open files
解決方案:
> ulimit -n 2048

浙公網(wǎng)安備 33010602011771號(hào)