Welcome! Log In Create A New Profile

Advanced

Memory bocor

Posted by DTsg 
Memory bocor
June 15, 2021 04:07AM
Hi,

Mau nanya, apa yang kira2 menyebabkan nginx memory nya naik terus? Saya liat di nginx.conf nya biasa2 aja.

user nginx;
worker_processes 1;

error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;


events {
worker_connections 1024;
}


http {
include /etc/nginx/mime.types;
default_type application/octet-stream;

map_hash_bucket_size 128;
map $time_iso8601 $time_iso8601_p1 {
~(^[0-9]+-[0-9]+-[0-9]+) $1;
}
map $time_iso8601 $time_iso8601_p2 {
~T([0-9:]+) $1;
}
map $msec $millisec {
~\.([0-9]+)$ $1;
}
log_format main '[$time_iso8601_p1 $time_iso8601_p2,$millisec] - $remote_addr - $remote_user "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';

access_log /var/log/nginx/access.log main;

sendfile on;
#tcp_nopush on;

keepalive_timeout 65;
server_tokens off;

#gzip on;

include /etc/nginx/conf.d/*.conf;
}
Attachments:
open | download - nginx memory.JPG (108.1 KB)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 242
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready