ubuntu – Siege:descriptor table full sock.c:119:打开的文件过多

我正在尝试使用带有以下命令的siege在我自己的服务器中进行压力测试:
$siege -c 500 myweb.com/somefile.php

但我得到这个错误:

[error] descriptor table full sock.c:119: Too many open files

我也得到了这个警告:

libgcc_s.so.1 must be installed for pthread_cancel to work

但我正在使用Ubuntu 15.04(开发分支),我已经安装了libgcc1包,所以我不知道为什么它会抱怨.so共享库.

我怎么能解决太多的打开文件和libgcc警告?

为了解决这个问题,我不得不调整操作系统“ulimit”设置:

ulimit -a – 检查当前设置

ulimit -n 10000 – 编辑设定值

资料来源:https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=595527

相关文章

文章浏览阅读2.3k次,点赞4次,收藏22次。最近安装了CARLA预...
文章浏览阅读6.3k次,点赞5次,收藏15次。在清华镜像中下载U...
文章浏览阅读5k次。linux环境, python3.7.问题描述: 安装...
文章浏览阅读4.2k次,点赞4次,收藏17次。要安装这个 standa...
文章浏览阅读894次,点赞51次,收藏31次。在安卓使用vscode主...