161 lines
6.3 KiB
JSON
161 lines
6.3 KiB
JSON
{
|
|
"MainApplications": [
|
|
{
|
|
"WebName": "ISASWeb", //网站名称
|
|
"Port": 8090, //端口
|
|
"ServerDomainName": "", //服务器域名
|
|
"WebsiteDirectory": "D:\\WebPublish\\WEB", //网站目录
|
|
"ApplicationPoolName": "ISASWeb", //程序池名称
|
|
"PhysicalPath": "D:\\WebPublish\\WEB", //物理路径
|
|
"IsCertificate": false,
|
|
//虚拟目录没有就默认[]
|
|
"VDir": [],
|
|
//子节点
|
|
"SubApplications": [
|
|
//{
|
|
// "Path": "File", //路径名称
|
|
// "PhysicalPath": "D:\\WebPublish\\WEB", //物理路径
|
|
// "ApplicationPoolName": "TestPool", //程序池名称
|
|
// //虚拟目录没有就默认[]
|
|
// "VDir": []
|
|
//}
|
|
],
|
|
"ApplicationPools": [
|
|
{
|
|
"ManagedRuntimeVersion": "v4.0", //版本编号
|
|
"QueueLength": 1000, //队列长度
|
|
"StartMode": 1, //启动模式
|
|
"Enable32BitAppOnWin64": false, //启用32位应用程序
|
|
"Name": "ISASWeb", //程序池名称
|
|
"ManagedPipelineMode": 0, //托管管道模式 0 Integrated / 1 Classic
|
|
//CPU
|
|
"Cpu": {
|
|
"Limit": 0, //Limit = 50000 限制最大CPU 50% , 默认为0
|
|
"Action": 3, //限制操作 0 NoAction / 1 KillW3wp / 2 Throttle / 3 ThrottleUnderLoad
|
|
"ResetInterval": 5, //时间间隔(分钟)
|
|
"SmpAffinitized": false //已启用处理器关联
|
|
},
|
|
//回收
|
|
"Recycling": {
|
|
"DisallowRotationOnConfigChange": false, //发生配置更改时禁止回收
|
|
"DisallowOverlappingRotation": false, //禁用重叠回收
|
|
//生成和回收时间日志条目 0 None (所有为false)/ 1 Time / 2 Requests / 4 Schedule / 8 Memory / 16 IsapiUnhealthy / 32 OnDemand/ 64 ConfigChange / 128 PrivateMemory /[] 默认所有true
|
|
"LogEventOnRecycle": [ 2, 3, 4, 5 ],
|
|
"PeriodicRestart": {
|
|
"Time": 120, //固定时间间隔(分钟)
|
|
"Requests": 0, //请求限制 默认为零
|
|
"Memory": 0, //虚拟内存限制(KB)
|
|
"PrivateMemory": 1024000, //专用内存限制(KB)
|
|
//特定时间
|
|
"Schedule": [
|
|
"03:00:00",
|
|
"02:00:00"
|
|
]
|
|
}
|
|
},
|
|
//进程孤立
|
|
"Failure": {
|
|
"OrphanActionExe": "", //可执行文件
|
|
"OrphanActionParams": "", //可执行文件参数
|
|
"OrphanWorkerProcess": false //已启用
|
|
},
|
|
//进程模型
|
|
"ProcessModel": {
|
|
"PingInterval": 30, //Ping间隔(秒)
|
|
"PingResponseTime": 90, //Ping最大响应时间(秒)
|
|
"IdentityType": 0, //标识 0 LocalSystem , 1 LocalService , 2 NetworkService, 3 SpecificUser, 4 ApplicationPoolIdentity
|
|
"UserName": "", //标识 账号
|
|
"Password": "", //标识 密码
|
|
"ShutdownTimeLimit": 90, //关闭时间限制(秒)
|
|
"LoadUserProfile": true, //加载用户配置文件
|
|
"IdleTimeoutAction": 0, //空闲超时操作 0 Terminate / 1 Suspend
|
|
"StartupTimeLimit": 90, //启动时间限制(秒)
|
|
"PingingEnabled": true, //启用 Ping
|
|
"LogEventOnProcessModel": 1, //生成进程模型事件日志条目-空闲超时已到
|
|
"IdleTimeout": 20, //闲置超时(分钟)
|
|
"MaxProcesses": 1 //最大工作进程数
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"WebName": "ISASWebExtern", //网站名称
|
|
"Port": 4431, //端口
|
|
"ServerDomainName": "", //服务器域名
|
|
"WebsiteDirectory": "D:\\WebPublish\\WEBExtern", //网站目录
|
|
"PhysicalPath": "D:\\WebPublish\\WEBExtern", //物理路径
|
|
"ApplicationPoolName": "ISASWEBExtern", //程序池名称
|
|
"IsCertificate": true,
|
|
//虚拟目录没有就默认[]
|
|
"VDir": [],
|
|
//子节点
|
|
"SubApplications": [
|
|
//{
|
|
// "Path": "File", //路径名称
|
|
// "PhysicalPath": "D:\\WebPublish\\WEB", //物理路径
|
|
// "ApplicationPoolName": "TestPool", //程序池名称
|
|
// //虚拟目录没有就默认[]
|
|
// "VDir": []
|
|
//}
|
|
],
|
|
"ApplicationPools": [
|
|
{
|
|
"ManagedRuntimeVersion": "v4.0", //版本编号
|
|
"QueueLength": 1000, //队列长度
|
|
"StartMode": 1, //启动模式
|
|
"Enable32BitAppOnWin64": false, //启用32位应用程序
|
|
"Name": "ISASWEBExtern", //程序池名称
|
|
"ManagedPipelineMode": 0, //托管管道模式 0 Integrated / 1 Classic
|
|
//CPU
|
|
"Cpu": {
|
|
"Limit": 0, //Limit = 50000 限制最大CPU 50% , 默认为0
|
|
"Action": 3, //限制操作 0 NoAction / 1 KillW3wp / 2 Throttle / 3 ThrottleUnderLoad
|
|
"ResetInterval": 5, //时间间隔(分钟)
|
|
"SmpAffinitized": false //已启用处理器关联
|
|
},
|
|
//回收
|
|
"Recycling": {
|
|
"DisallowRotationOnConfigChange": false, //发生配置更改时禁止回收
|
|
"DisallowOverlappingRotation": false, //禁用重叠回收
|
|
//生成和回收时间日志条目 0 None (所有为false)/ 1 Time / 2 Requests / 4 Schedule / 8 Memory / 16 IsapiUnhealthy / 32 OnDemand/ 64 ConfigChange / 128 PrivateMemory /[] 默认所有true
|
|
"LogEventOnRecycle": [ 2, 3, 4, 5 ],
|
|
"PeriodicRestart": {
|
|
"Time": 120, //固定时间间隔(分钟)
|
|
"Requests": 0, //请求限制 默认为零
|
|
"Memory": 0, //虚拟内存限制(KB)
|
|
"PrivateMemory": 1024000, //专用内存限制(KB)
|
|
//特定时间
|
|
"Schedule": [
|
|
"03:00:00",
|
|
"02:00:00"
|
|
]
|
|
}
|
|
},
|
|
//进程孤立
|
|
"Failure": {
|
|
"OrphanActionExe": "", //可执行文件
|
|
"OrphanActionParams": "", //可执行文件参数
|
|
"OrphanWorkerProcess": false //已启用
|
|
},
|
|
//进程模型
|
|
"ProcessModel": {
|
|
"PingInterval": 30, //Ping间隔(秒)
|
|
"PingResponseTime": 90, //Ping最大响应时间(秒)
|
|
"IdentityType": 0, //标识 0 LocalSystem , 1 LocalService , 2 NetworkService, 3 SpecificUser, 4 ApplicationPoolIdentity
|
|
"UserName": "", //标识 账号
|
|
"Password": "", //标识 密码
|
|
"ShutdownTimeLimit": 90, //关闭时间限制(秒)
|
|
"LoadUserProfile": true, //加载用户配置文件
|
|
"IdleTimeoutAction": 0, //空闲超时操作 0 Terminate / 1 Suspend
|
|
"StartupTimeLimit": 90, //启动时间限制(秒)
|
|
"PingingEnabled": true, //启用 Ping
|
|
"LogEventOnProcessModel": 1, //生成进程模型事件日志条目-空闲超时已到
|
|
"IdleTimeout": 20, //闲置超时(分钟)
|
|
"MaxProcesses": 1 //最大工作进程数
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|