
1 9hills 2016-04-23 19:42:38 +08:00 via Android 这个和 python 无关,关键词 linux fd limit 搜一搜 |
3 neoblackcap 2016-04-23 20:09:33 +08:00 @chewuhe windows 没有这个 fd 的限制,在 windows 上你操作的 sockets 仅跟你的机器资源有关 资料来源: https://msdn.microsoft.com/en-us/library/windows/desktop/ms739169(v=vs.85).aspx |
4 leavic 2016-04-24 10:08:17 +08:00 aiohttp? |
5 chewuhe OP @neoblackcap 1024 这个限制怎么弄大点呢?有没有办法? |
6 neoblackcap 2016-04-24 17:04:05 +08:00 @chewuhe 都说 windows 没有 fd 的限制,你看看你是不是耗光了内存了。 linux 等 Unix-like 系统才会有 fd 的数量限制,那个我记得是去改在 /etc/ssyctl.conf 里面的 net.core.somaxconn 参数(没有就自己加) |
7 zerofiny 2016-04-24 22:43:35 +08:00 windows 非 Server 版本有并发连接数问题, Server 版没有这个限制 百度搜 windows 并发连接数 |
8 lbp0200 2016-04-25 01:45:14 +08:00 via Android windows 有端口号限制,一个端口需要 4 分钟才能释放 |
9 lifeishort 2018-05-29 00:05:39 +08:00 via iPhone @neoblackcap 事实上 windows 桌面版是有 1024 限制的 |