Tanya seputar Dedicated Server yg ingin di install nginx menggantikan apache


Status
Not open for further replies.
dicoba juga pastekan hasil output dari cmd ini saat sedang high load :

netstat -n | grep :80 |wc -l


netstat -an|grep ":80"|awk '/tcp/ {print $6}'|sort| uniq -c
 
dicoba juga pastekan hasil output dari cmd ini saat sedang high load :

netstat -n | grep :80 |wc -l


netstat -an|grep ":80"|awk '/tcp/ {print $6}'|sort| uniq -c
ini bro masih rendah peak yg download....
Code:
-bash-3.00# netstat -n | grep :80 |wc -l
222
Code:
bash-3.00# netstat -an|grep ":80"|awk '/tcp/ {print $6}'|sort| uniq -c
    190 ESTABLISHED
      3 FIN_WAIT1
      1 FIN_WAIT2
     12 LAST_ACK
      7 LISTEN
     13 SYN_RECV
     17 TIME_WAIT
ini result saat ini : top
Code:
top - 07:48:02 up 11:26,  1 user,  load average: 0.38, 0.68, 0.77
Tasks:  84 total,   1 running,  83 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.4% us,  0.1% sy,  0.0% ni, 79.4% id, 20.0% wa,  0.0% hi,  0.0% si
Mem:   7168176k total,  7127432k used,    40744k free,    24900k buffers
Swap: 14352376k total,      112k used, 14352264k free,  6863528k cached
 
-bash-3.00# netstat -n | grep :80 |wc -l
Code:
260

-bash-3.00# netstat -an|grep ":80"|awk '/tcp/ {print $6}'|sort| uniq -c
Code:
    199 ESTABLISHED
      6 FIN_WAIT1
     15 LAST_ACK
      7 LISTEN
     18 SYN_RECV
      7 TIME_WAIT

untuk realtime top saat ini :
Code:
top - 07:59:29 up 11:37,  1 user,  load average: 0.80, 1.24, 1.03
Tasks:  83 total,   2 running,  81 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.0% us,  0.0% sy,  0.0% ni, 88.2% id, 11.8% wa,  0.0% hi,  0.0% si
Mem:   7168176k total,  7126444k used,    41732k free,    23096k buffers
Swap: 14352376k total,      112k used, 14352264k free,  6859312k cached
 
Report top
Code:
top - 08:20:50 up 11:59,  1 user,  load average: 1.64, 1.41, 1.02
Tasks:  87 total,   1 running,  86 sleeping,   0 stopped,   0 zombie
Cpu(s):  1.7% us,  0.2% sy,  0.0% ni, 85.0% id, 13.0% wa,  0.0% hi,  0.0% si
Mem:   7168176k total,  5604880k used,  1563296k free,    27136k buffers
Swap: 14352376k total,      112k used, 14352264k free,  5309748k cached

-bash-3.00# netstat -an|grep ":80"|awk '/tcp/ {print $6}'|sort| uniq -c
Code:
      1 CLOSING
    215 ESTABLISHED
      9 FIN_WAIT1
     20 LAST_ACK
      7 LISTEN
     19 SYN_RECV
    230 TIME_WAIT


-bash-3.00# netstat -n | grep :80 |wc -l
Code:
597
 
yup mas ini banyaknya time_wait yg menyebabkan IOWA jadi meninggi
saran saya , lakukan tune up pada mysql / apache/ sysctl dan config networking nya
agar minimize time_wait servernya
 
Status
Not open for further replies.
Back
Top