[root@xxxxxx nginx]# free -m
total used free shared buffers cached
Mem: 994 815 179 0 43 118
-/+ buffers/cache: 453 540
Swap: 0 0 0
[root@xxxxxx nginx]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 62
model name : Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz
stepping : 4
cpu MHz : 2594.024
cache size : 20480 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic 。。。。省略。。。。
bogomips : 5188.04
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:
pm = dynamic //进程数,动态分配 pm.max_children = 24 //最大进程数 pm.start_servers = 8 //刚启动时的进程数 pm.min_spare_servers = 8 //服务器空闲时的最小进程数 pm.max_spare_servers = 24 //服务器空闲时的最大进程数 php_flag[display_errors] = off //运行一段时间后,将错误提示信息关闭掉
# vim /etc/yum.repos.d/nginx.repo //加上以下内容 [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/$releasever/$basearch/ gpgcheck=0 enabled=1 # yum install nginx //更新nginx
worker_processes auto; //设置auto,nginx进程动态分配 # access_log //注释掉,减少I/O # log_format //注释掉,减少I/O gzip on; //开启gzip gzip_min_length 1k; gzip_buffers 4 16k; gzip_http_version 1.1; gzip_comp_level 5; //1-9,越大压缩越好,消耗资源越大 gzip_types text/plain application/x-javascript text/css application/xml; gzip_vary on;
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有