码迷,mamicode.com
首页 >  
搜索关键字:rlimit    ( 125个结果
Nginx服务器的配置详解
Nginx 配置文件详解 user nginx ; #用户 worker_processes 8; #工作进程,根据硬件调整,大于等于cpu核数 error_log logs/nginx_error.log crit; #错误日志 pid logs/nginx.pid; #pid放置的位置 worker_rlimit_no...
分类:其他好文   时间:2014-10-11 19:09:06    阅读次数:300
nginx集群中图片指定一个地址中
#usernobody;worker_processes1;#error_loglogs/error.log;#error_loglogs/error.lognotice;#error_loglogs/error.loginfo;#pidlogs/nginx.pid;worker_rlimit_nofile65535;events{worker_connections65535;}http{includemime.types;default_typeapplication/octet-stream;#log_..
分类:其他好文   时间:2014-09-17 15:34:13    阅读次数:156
Nginx支持thinkphp pathinfo模式
Nginx默认不支持thinkphp的pathinfo模式,无奈只能修改nginx配置。修改后的配置如下:1.nginx.conf:userapacheapache;worker_processes16;worker_cpu_affinityauto;pid/var/run/nginx.pid;worker_rlimit_nofile51200;events{useepoll;worker_connections51200;}http{includemim..
分类:Web程序   时间:2014-07-29 15:34:09    阅读次数:245
查看一个进程打开的文件都有哪些
step 1pfile pidstep 2根据 inode number 查找 比如bash-2.05# pfiles 2605326053: python Current rlimit: 256 file descriptors 0: S_IFCHR mode:0620 dev:32,0 ...
分类:其他好文   时间:2014-05-26 07:30:09    阅读次数:329
nginx一些参数配置详解
nginx的配置:正常运行的必备配置:1、userusername[groupname];指定运行worker进程的用户和组2、pid/path/to/pidfile_namenginx的pid文件3、worker_rlimit_nofile#;一个worker进程所能够打开的最大文件句柄数;4、worker_rlimit_sigpending#;设定每个用户能够发往worker进程的..
分类:其他好文   时间:2014-05-07 22:23:03    阅读次数:439
125条   上一页 1 ... 11 12 13
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!