Giter Site home page Giter Site logo

Comments (7)

cyfdecyf avatar cyfdecyf commented on August 26, 2024

重启 cow 应该可以解决问题。

你部署的 cow 有很多人使用么?如果是 Linux/OS X 的话,命令 ulimit -Sn 输出是什么?

昨天刚刚做了尽快关闭 idle server connection 的修改,这个改动可以减少同时打开的 socket 数,减小这个问题出现的可能性。

from cow.

WingGao avatar WingGao commented on August 26, 2024

恩 所以连接数有点多

在 2013-7-1,15:43,"Chen Yufei" [email protected] 写道:

重启 cow 应该可以解决问题。

你部署的 cow 有很多人使用么?如果是 Linux/OS X 的话,命令 ulimit -Sn 输出是什么?

昨天刚刚做了尽快关闭 idle server connection 的修改,这个改动可以减少同时打开的 socket 数,减小这个问题出现的可能性。


Reply to this email directly or view it on GitHub.

from cow.

cyfdecyf avatar cyfdecyf commented on August 26, 2024

发了个新版本。如果还遇到这个问题就把打开文件数上限调大一些吧。

from cow.

WingGao avatar WingGao commented on August 26, 2024

OK 谢啦 :D

在 2013-7-1,19:24,"Chen Yufei" [email protected] 写道:

发了个新版本。如果还遇到这个问题就把打开文件数上限调大一些吧。


Reply to this email directly or view it on GitHub.

from cow.

dallascao avatar dallascao commented on August 26, 2024

Yufei, 怎么调整打开文件数?我用网上的找到的办法,但很快文件数自动又恢复成1024了。1024对于共享服务器还是太小了。

from cow.

cyfdecyf avatar cyfdecyf commented on August 26, 2024

看我的这个笔记吧,页面内搜索 open fd。

from cow.

dallascao avatar dallascao commented on August 26, 2024

找到症结所在了。
Debian, Ubuntu 下,除了做笔记中的更改之外,还要在root下

vi /etc/pam.d/su

uncomment the following line

#session required pam_limits.so
to
session required pam_limits.so

然后重启即可。

http://www.ubun2.com/question/433/how_set_ulimit_ubuntu_linux_getting_sudo_ulimit_command_not_found_error

from cow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.