码迷,mamicode.com
首页 >  
搜索关键字:rlimit    ( 125个结果
nginx配置
vi nginx.confuser tomcat;worker_processes 10;worker_rlimit_nofile 65535;pid /var/run/nginx.pid;events { use epoll; worker_connections 65536;}ht...
分类:其他好文   时间:2015-11-27 17:19:52    阅读次数:172
nginx做负载均衡反向代理的配置
nginx.conf配置文件内容:#根据服务器核心数设定 worker_processes1; error_log/usr/local/nginx/logs/nginx_error.logcrit; pid/usr/local/nginx/nginx.pid; worker_rlimit_nofile51200; events{ useepoll; worker_connections51200; } http{ includemime.types; default_typea..
分类:其他好文   时间:2015-11-23 15:00:03    阅读次数:149
nginx.conf 配置文件详解
nginx.conf 配置文件详解 user root;#定义Nginx运行的用户和用户组worker_processes 2;#nginx进程数,建议设置为等于CPU总核心数。worker_rlimit_nofile 10240;#一个nginx进程...
分类:其他好文   时间:2015-11-18 19:38:29    阅读次数:206
Nginx 配置文件详解
Nginx配置文件详解user nginx ;#用户worker_processes 8;#工作进程,根据硬件调整,大于等于cpu核数error_log logs/nginx_error.log crit;#错误日志pid logs/nginx.pid;#pid放置的位置worker_rlimit_...
分类:其他好文   时间:2015-10-04 19:36:22    阅读次数:252
nginx 代理多个tomcat缓存
user ?ftp; worker_processes ?2; worker_rlimit_nofile 1024; events { ? ? use epoll; ? ? worker_connections ?1024; } http { ? ? include ? ? ? mime.types; ? ? default_type ?application...
分类:其他好文   时间:2015-08-27 11:23:11    阅读次数:193
nginx配置文件详解
#就nginx的配置文件nginx.conf进行详细说明:useradminadmin;#定义nginx运行的用户和用户组worker_processes8;#nginx的运行进程数,建议设置等于cpu的总核心数,一般是8pid/export/servers/nginx/run/nginx.pid;#进程pid的的文件worker_rlimit_nofile65535;#一个nginx进程应许..
分类:其他好文   时间:2015-08-10 20:17:26    阅读次数:140
守护进程
守护进程是一种生命周期较长的进程,它常在系统自举时开始,然后在系统关闭是结束。 #include"unpipc.h"int main(){ int i,fd0,fd1,fd2; pid_t pid; struct rlimit rl; struct sigaction sa; umask(0); i...
分类:系统相关   时间:2015-07-17 20:37:02    阅读次数:163
nginx在windows下配置缓存服务器缓存静态资源+Tomcat集群
nginx安装目录修改nginx.conf文件配置负载均衡配置Tomcat集群并设置动静分离#user nobody; error_log logs/error.log; worker_processes 2;worker_rlimit_nofile 1024;events { ...
分类:Windows程序   时间:2015-07-11 22:45:50    阅读次数:982
nginx配置详解
Nginx 配置文件详解 user nginx ; #用户 worker_processes 8; #工作进程,根据硬件调整,大于等于cpu核数 error_log logs/nginx_error.log crit; #错误日志 pid logs/nginx.pid; #pid放置的位置 worker_rlimit_no...
分类:其他好文   时间:2015-06-23 12:03:28    阅读次数:195
linux getrlimit sysconf
linux中getrlimit和sysconf/*************************************************************** > File Name: rlimit_sysconf.c > Author: lxg > Mail: liuxingen@nsfocus.com > Created Time: 2015年06...
分类:系统相关   时间:2015-06-22 11:06:00    阅读次数:196
125条   上一页 1 ... 8 9 10 11 12 13 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!