mustafaramadhan
Hosting Guru
Pesan 'upstream prematurely...' lengkapnya apa?.
Pesan 'upstream prematurely...' lengkapnya apa?.
2014/05/04 17:38:40 [error] 225350#0: *4590 upstream prematurely closed connection while reading response header from upstream, client: 108.162.208.229, server: xxxxxxxx.com, request: "GET /xxxxxx-xxxxx-xxxxxx-xxxxxxxx-xxxxxxx-xxxxxx/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9001", host: "xxxxx.com", referrer: "http://xxxxxxxx.xxx"
Kelihatannya masalahnya ada di 'komunikasi' nginx dengan fastcgi (alias php-fpm). Infokan saja php-fpm anda.
;;;;;;;;;;;;;;;;;;;;;
; FPM Configuration ;
;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;
; Global Options ;
;;;;;;;;;;;;;;;;;;
[global]
;emergency_restart_threshold 10
;emergency_restart_interval 1m
;process_control_timeout 10s
;;;;;;;;;;;;;;;;;;;;
; Pool Definitions ;
;;;;;;;;;;;;;;;;;;;;
[index]
listen = 127.0.0.1:9000
user = rap
group = rap
request_slowlog_timeout = 5s
slowlog = var/log/php-fpm-slowlog-index.log
"/usr/local/apps/php53/etc/php-fpm.conf" 64L, 1353C
listen.allowed_clients = 127.0.0.1
pm = dynamic
pm.max_children = 5
pm.start_servers = 3
pm.min_spare_servers = 2
pm.max_spare_servers = 4
pm.max_requests = 200
listen.backlog = -1
request_terminate_timeout = 120s
rlimit_files = 131072
rlimit_core = unlimited
catch_workers_output = yes
security.limit_extensions = FALSE
env[HOSTNAME] = $HOSTNAME
env[TMP] = /tmp
env[TMPDIR] = /tmp
env[TEMP] = /tmp
[regular]
listen = 127.0.0.1:9001
user = rap
group = rap
request_slowlog_timeout = 5s
slowlog = var/log/php-fpm-slowlog-regular.log
listen.allowed_clients = 127.0.0.1
pm = dynamic
pm.max_children = 5
pm.start_servers = 3
pm.min_spare_servers = 2
pm.max_spare_servers = 4
pm.max_requests = 200
listen.backlog = -1
request_terminate_timeout = 120s
rlimit_files = 131072
rlimit_core = unlimited
catch_workers_output = yes
security.limit_extensions = FALSE
env[HOSTNAME] = $HOSTNAME
env[TMP] = /tmp
env[TMPDIR] = /tmp
env[TEMP] = /tmp
masih pake port ya
gak coba pake socket??
sdh coba pake ondemand dan max 32 thread php5-fpm ?
itu website secara umum masih bisa dibuka normal ?
pm = ondemand
pm.max_children = 25
pm.max_requests = 2000