2131浏览量

windows下mpm_winnt工作模式各调试参数说明

来源: 时间:2014-01-04

各种模式的调试参数说明 beos

StartThreads 10   #服务器启动时启动的线程数
MaxClients 50   #可以启动的最大线程数(一个线程等于一个用户) 


MaxRequestsPerThread 10000   #每个线程允许的最大请求数  mpm_netware

ThreadStackSize 65536   #为每个工作线程分配的堆栈尺寸   StartThreads 250   #服务器启动时启动的线程数   MinSpareThreads 25   #用于处理实发请求的空闲线程数   MaxSpareThreads 250   #空闲线程的最大数量   MaxThreads 1000   #在同一时间活动的最大线程数
MaxRequestPerChild 0   #一个线程服务请求的最大数量,推荐将其设置为0,以实现无限制的接入   mpmt_os2

StartServers 2   #启动的服务进程数量
MinSpareThreads 5   #每个进程允许的最小空闲线程   MaxSpareThreads 10  #每个进程允许的最大空闲线程   MaxRequestsPerChild 0   #每个服务进程允许的最大连接数   prefork

StartServers 5   #启动时服务器启动的进程数 


MinSpareServers 5   #保有的备用进程的最小数目   MaxSpareServers 10   #保有的备用进程的最大数目   MaxClients 150   #服务器允许启动的最大进程数
MaxRequestPerChild 0   #一个服务进程允许的最大请求数    worker

StartServers 2   #服务器启动时的服务进程数目   MaxClients 150   #允许同时连接的最大用户数目   MinSpareThreads 25   #保有的最小工作线程数目   MaxSpareThreads 75   #允许保有的最大工作线程数目   ThreadsPerChild 25   #每个服务进程中的工作线程常数   MaxRequestsPerChild 0   #服务进程中允许的最大请求数目   mpm_winnt

ThreadsPerChild 250   #服务进程中工作线程常数    MaxRequestsPerChild 0   #服务进程允许的最大请求数   perchild

NumServers 5   #服务进程数量 


StartThreads 5   #每个服务进程中的起始线程数量   MinSpareThreads 5   #保有的最小线程数量   MaxSpareThreads 10   #保有的最大线程数量
MaxThreadsPerChild 20   #每个服务进程允许的最大线程数   MaxRequestsPerChild 0   #每个服务进程允许连接的最大数量
给weblogic集群做调度时的配置方法 在httpd.conf文件中加入 
WebLogicCluster  192.168.100.201:7081,192.168.100.202:7081           #节点服务器的地址和端口   MatchExpression *
DebugConfigInfo  OFF      #是否开放调试模式   Debug           OFF               #是否开放调试模式
启停apache 启动:
E:Apache2.2bin>httpd -k install -n apache_8080 -f E:Apache2.2confhttpd8080.conf      #安装一个Apache服务并指出配置文件的路径
E:Apache2.2bin>httpd -k start -n apache_8080                                #开启Apache服务
停止:
E:Apache2.2bin>httpd -k stop -n apache_8080                                 #停止Apache服务 

E:Apache2.2bin>httpd -k uninstall -n apache_8081                          #卸载建立的Apache服务

联系我们

一次需求提交或许正是成就一个出色产品的开始。
欢迎填写表格或发送合作邮件至: qczsky@126.com

大理青橙科技

电话:13988578755 13988578755

邮箱:qczsky@126.com

地址:大理市下关龙都春天10层

如果您无法识别验证码,请点图片更换