go 编译时报pipe: too many open files 解决方案

使用gframe 的gf工具编译时报错

> 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
原文地址:https://www.cnblogs.com/ailhc/p/15507190.html