Salut, j'ai reçu mon mSP et j'en ai profité pour installer Nginx qui est pour moi bien plus rapide que Apache, mais le soucis c'est que la ram monte petit à petit sans qu'il y ai plus de monde sur le site, du style 1mo de ram par seconde...
voici ma conf
Les services démarrés sont :
- Portsentry
- Php-FQM
et c'est à peu près tout
Une idée ? Merci !
voici ma conf
Citation:
user www-data; worker_processes 8; "j'ai essayé de 1 à 8" ça change rien pid /run/nginx.pid; events { worker_connections 10400; " j'ai éssayé 1024,2048,10400" # multi_accept on; } http { ## # Basic Settings ## sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 65; types_hash_max_size 2048; server_tokens off; # server_names_hash_bucket_size 64; # server_name_in_redirect off; include /etc/nginx/mime.types; default_type application/octet-stream; ## # Logging Settings ## access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; ## # Gzip Settings ## gzip on; gzip_disable "msie6"; # gzip_vary on; # gzip_proxied any; # gzip_comp_level 6; # gzip_buffers 16 8k; # gzip_http_version 1.1; # gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript; ## # nginx-naxsi config ## # Uncomment it if you installed nginx-naxsi ## #include /etc/nginx/naxsi_core.rules; ## # nginx-passenger config ## # Uncomment it if you installed nginx-passenger ## #passenger_root /usr; #passenger_ruby /usr/bin/ruby; ## # Virtual Host Configs ## include /etc/nginx/conf.d/*.conf; include /etc/nginx/sites-enabled/*; } #mail { # # See sample authentication script at: # # http://wiki.nginx.org/ImapAuthentica...pachePhpScript # # # auth_http localhost/auth.php; # # pop3_capabilities "TOP" "USER"; # # imap_capabilities "IMAP4rev1" "UIDPLUS"; # # server { # listen localhost:110; # protocol pop3; # proxy on; # } # # server { # listen localhost:143; # protocol imap; # proxy on; # } #} |
Citation:
KiB Mem: 32847984 total, 2213104 used, 30634880 free, 115348 buffers KiB Swap: 61437944 total, 0 used, 61437944 free, 1460848 cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 10145 www-data 20 0 459m 11m 3920 S 2.7 0.0 0:00.45 php5-fpm 10147 www-data 20 0 459m 11m 3760 S 2.7 0.0 0:00.09 php5-fpm 10146 www-data 20 0 459m 11m 3892 S 2.3 0.0 0:00.23 php5-fpm 8975 www-data 20 0 91396 6964 1120 S 2.0 0.0 0:18.36 nginx 8976 www-data 20 0 91704 7372 1120 S 2.0 0.0 0:17.73 nginx 8979 www-data 20 0 91520 7216 1120 S 2.0 0.0 0:19.71 nginx 8974 www-data 20 0 91524 7096 1124 S 1.7 0.0 0:24.51 nginx 8977 www-data 20 0 91268 6840 1124 S 1.7 0.0 0:17.80 nginx 8981 www-data 20 0 91536 7104 1120 S 1.7 0.0 0:25.44 nginx 8980 www-data 20 0 91312 6884 1124 S 1.3 0.0 0:16.59 nginx 8982 www-data 20 0 91248 6800 1120 S 1.3 0.0 0:19.12 nginx 10 root 20 0 0 0 0 S 0.3 0.0 0:32.25 rcu_sched 1 root 20 0 15260 928 764 S 0.0 0.0 0:01.32 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd 3 root 20 0 0 0 0 S 0.0 0.0 0:00.03 ksoftirqd/0 4 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0 5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H |
- Portsentry
- Php-FQM
et c'est à peu près tout
Une idée ? Merci !