容器技术交流

 找回密码
 立即注册
查看: 2869|回复: 1

兄弟们 帮我看下 这个PHP-CGI 内存 正常吗

[复制链接]
skyyw 该用户已被删除
发表于 2010-6-6 10:37:30 | 显示全部楼层 |阅读模式
NGING.CON的配置如下:
user  daemon;
worker_processes  4;
#error_log  logs/error.log;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;
pid        logs/nginx.pid;
events {
    worker_connections  65535;
}
http {
    include       mime.types;
    default_type  application/octet-stream;
    #log_format  main  '$remote_addr - $remote_user [$time_local] $request '
    #                  '"$status" $body_bytes_sent "$http_referer" '
    #                  '"$http_user_agent" "$http_x_forwarded_for"';
   
    access_log  /dev/null  combined;
    #access_log  logs/access.log  main;
    sendfile        on;
    #tcp_nopush     on;
    #keepalive_timeout  0;
    keepalive_timeout  120;
   
    fastcgi_send_timeout 300;
    fastcgi_connect_timeout 300;
    fastcgi_read_timeout 300;
    fastcgi_buffer_size 64k;
    fastcgi_buffers 4 64k;
    fastcgi_busy_buffers_size 128k;
    fastcgi_temp_file_write_size 128k;
    #fastcgi_intercept_errors on;
    server_names_hash_bucket_size 128;
    client_max_body_size 600M;
   gzip on;
  gzip_min_length  1k;
  gzip_buffers     4 16k;
  gzip_http_version 1.0;
  gzip_comp_level 2;
  gzip_types       text/plain application/x-javascript text/css application/xml;
  gzip_vary on;

    include vhost.conf;
}

按HNBBS兄弟的优化帖设置了 服务器内存是2G的
321321.jpg
skyyw 该用户已被删除
 楼主| 发表于 2010-6-6 10:39:07 | 显示全部楼层
要147M内存啊
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|URLOS ( 粤ICP备18087780号 )

GMT+8, 2025-7-9 11:38 , Processed in 0.034515 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表