码迷,mamicode.com
首页 >  
搜索关键字:worker mpm    ( 2882个结果
关于Apache的两种工作模式prefork和worker
prefork模式这个多路处理模块(MPM)实现了一个非线程型的、预派生的web服务器,它的工作方式类似于Apache1.3。它适合于没有线程安全库,需要避免线程兼容性问题的系统。它是要求将每个请求相互独立的情况下最好的MPM,这样若一个请求出现问题就不会影响到其他请求。这个MPM具有..
分类:Web程序   时间:2015-01-07 19:21:24    阅读次数:200
Apache主要的配置文件们
httpd.conf httpd-mpm.conf httpd-vhosts.conf httpd-info.conf ...
分类:Web程序   时间:2015-01-07 12:41:30    阅读次数:142
apache+tomcat集群部署笔记
1、下载apr,apr-util,pcre,apache(httpd),tomcat-connector2、安装apr,apr-util,pcre,3、编译apache并安装(1)编译命令如下:./configure --with-mpm=worker --with-apr=/usr/local/a...
分类:Web程序   时间:2015-01-06 22:51:14    阅读次数:293
nginx
#user nobody;worker_processes 1;error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;pid logs/nginx.pid;events ...
分类:其他好文   时间:2015-01-06 21:26:29    阅读次数:198
nginx后端转SSL接收前端请求
以下代码为nginx.conf文件内容worker_processes 1;events { worker_connections 1024;}http { # NginxHttpRealIpModule set_real_ip_from 10.96.0.0/16; se...
分类:其他好文   时间:2015-01-06 19:57:36    阅读次数:261
Linux启动gearman服务
好久没用Gearman了,服务器上的Gearman server不知道什么时候被停掉了,所以当执行程序时,报错: File "python/response.py", line 41, in File "python/response.py", line 38, in main gm_worker.set_client_id('your_worker_client_id_name'...
分类:系统相关   时间:2015-01-06 17:55:30    阅读次数:870
Storm系列之三——Fault Tolerance
本文介绍Storm容错的设计细节。1、当一个worker进程死了会发生什么? 当worker死了,supervisor会重启它。如果它尝试开启多次失败并且不能与nimbus发送心跳,Nimbus会重新设计worker到另外一台机器上。2、一个结点死了会发生什么? 分派到这台机器上的任务将会超时并.....
分类:其他好文   时间:2015-01-06 17:13:18    阅读次数:117
Storm系列之一——Storm Topology并发
1、是什么构成一个可运行的topology? worker processes(worker进程),executors(线程)和tasks。 一台Storm集群里面的机器可能运行一个或多个worker进程,一个worker进程运行一个特定topology的executors。 一个worker...
分类:其他好文   时间:2015-01-06 15:27:01    阅读次数:153
php-fpm的max_chindren的一些误区
现在nginx+fpm基本成为主流的配置,其中我们比较关注的是pm.max_chindren的配置首先,我们关注一个前提设置:pm=static/dynamic,这个选项是标识fpm子进程的产生模式:static:表示在fpm运行时直接fork出pm.max_chindren个worker进程,dynamic:表示,运行时fork出start_server..
分类:Web程序   时间:2015-01-06 12:11:01    阅读次数:175
nginx配置之tomcat支持多域名
nginx.confuser www www;worker_processes 1;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;#pid logs/nginx.pi...
分类:其他好文   时间:2015-01-05 23:21:18    阅读次数:207
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!