Comments (7)
重启 cow 应该可以解决问题。
你部署的 cow 有很多人使用么?如果是 Linux/OS X 的话,命令 ulimit -Sn
输出是什么?
昨天刚刚做了尽快关闭 idle server connection 的修改,这个改动可以减少同时打开的 socket 数,减小这个问题出现的可能性。
from cow.
恩 所以连接数有点多
在 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.
发了个新版本。如果还遇到这个问题就把打开文件数上限调大一些吧。
from cow.
OK 谢啦 :D
在 2013-7-1,19:24,"Chen Yufei" [email protected] 写道:
发了个新版本。如果还遇到这个问题就把打开文件数上限调大一些吧。
—
Reply to this email directly or view it on GitHub.
from cow.
Yufei, 怎么调整打开文件数?我用网上的找到的办法,但很快文件数自动又恢复成1024了。1024对于共享服务器还是太小了。
from cow.
看我的这个笔记吧,页面内搜索 open fd。
from cow.
找到症结所在了。
Debian, Ubuntu 下,除了做笔记中的更改之外,还要在root下
vi /etc/pam.d/su
uncomment the following line
#session required pam_limits.so
to
session required pam_limits.so
然后重启即可。
from cow.
Related Issues (20)
- mac coredump HOT 2
- 使用HTTP二级代理,验证问题。 HOT 1
- cow 可以作为socks5代理吗? HOT 1
- 希望可以 把 golang.org/x/ 的库全部放到vendors中 HOT 1
- 可以利用朋友在美国的ip当二级代理吗,cow可以实现吗 HOT 1
- How do I config a dedicated proxy for accessing unblocked sites ?
- cow提供的HTTP代理可以支持UDP转发从而优化游戏主机的联网吗?
- mac下启动cow失败 HOT 5
- Support docker for mac
- 如何全局代理走外网,本地网络不走代理? HOT 1
- MAC OS 10.14.3 运行错误 HOT 1
- fatal error: concurrent map read and map write
- 使用一次cow之后,本地的非浏览器网络连接都会转到127.0.0.1:7777,必须打开cow才可以上网 HOT 1
- 你好我想问一下COW是否可以用在OPENVPN上呢?
- 有计划增加trojan的二级代理支持吗
- 你好,请问支持指定出口IP吗
- 如果能有详细的日志就更好了 HOT 1
- [国内直连,国外加速]希望有全新模式可以使用 HOT 1
- RC Config file without standard
- 一个精简替代 | A simple stupid alternative HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cow.