摘要: from:http://blog.chinaunix.net/uid-11572501-id-2868654.html Linux的I/O机制经历了一下几个阶段的演进: 1. 同步阻塞I/O: 用户进程进行I/O操作,一直阻塞到I/O操作完成为止。 2. 同步非阻塞I/O: 用户程序可以通过设置文件描述符的属性O_NONBLOCK,I/O操作可以立即返回,但是并不保证I/O操作... 阅读全文
posted @ 2016-10-12 15:02 94cool 阅读(17101) 评论(0) 推荐(1)
摘要: 配置Supervisor开机启动: 新建一个“supervisord.service”文件 # dservice for systemd (CentOS 7.0+) # by ET-CS (https://github.com/ET-CS) [Unit] Description=Supervisor daemon [Service] Type=forking E... 阅读全文
posted @ 2016-10-12 11:55 94cool 阅读(11926) 评论(2) 推荐(0)
摘要: 问题现象 ECS Windows系统服务器基于IIS搭建的网站由于IIS默认的配置,服务器最多只能处理5000个同时请求,访问量大时很容易导致报错: Error Summary: HTTP Error 503.2 - Service Unavailable The serverRuntime@appConcurrentRequestLimit setting is being exceed... 阅读全文
posted @ 2016-10-12 09:04 94cool 阅读(869) 评论(0) 推荐(0)