编译android出现"too many open files"的解决办法

# vi /etc/sysctl.conf
Append a config directive as follows:
fs.file-max = 100000

# vi /etc/security/limits.conf
Set httpd user soft and hard limits as follows:
httpd soft nofile 4096
httpd hard nofile 10240

Save and close the file. To see limits, enter:
# su - httpd
$ ulimit -Hn
$ ulimit -Sn

PS:好像需要重启才能生效


参考资料
http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/

更多相关文章

  1. android菜单参考资料
  2. Android各层推荐开发书籍及参考资料
  3. Android开发重要参考资料
  4. 使用SWT/JFace与WindowBuilder绑定数据的参考资料

随机推荐

  1. android 获取IP
  2. Android(安卓)将View转换成Bitmap
  3. Android:利用SharedPreferences实现自动登
  4. 获取android手机信息
  5. android之CheckBox和Radio
  6. Android(安卓)selector自定义shape的butt
  7. Android(安卓)onSaveInstanceState和onRe
  8. Login Reference for PhotoSomething
  9. Android按返回键退出程序
  10. Android(安卓)常用的SDCARD和内存操作