Linux 7.5GiB memory, 4 EC2 Compute units (2 virtual cores, each with 2 EC2 compute units), 850GB Local instance storage, 64-bit platform
Apache2.2 PHP5.3 mysql connected remote database server
Google Analytics Real-time detection shows basic simultaneous 500, 600, 700 to 1000 multiplayer online
Apache perfork Mode
is now set to
Startservers 20
Minspareservers 20
Maxspareservers 40
Serverlimit 10000
MaxClients 5000
Maxrequestsperchild 3000
Netstat-n | awk '/^tcp/{++s[$NF]} END {for (a in S) print A, S[a]} ' time_wait 8496
Fin_wait1 28
Fin_wait2 393
Established 226
SYN_RECV 23
CLOSING 1
Last_ack 4
Ps-ef | grep httpd | Wc-l
267
Top shows a bunch of httpd processes,
Problem:
Perfork inside of Startservers, Minspareservers, Maxspareservers, Serverlimit, maxclients, maxrequestsperchild what mean Ah, Which control the number of simultaneous responses Ah, the number of processes, the number of sub-processes, top display of each httpd a process or a child process? , Perfork set What's the problem no,, Apache settings also need to pay attention to what?
Reply content:
Linux 7.5GiB memory, 4 EC2 Compute units (2 virtual cores, each with 2 EC2 compute units), 850GB Local instance storage, 64-bit platform
Apache2.2 PHP5.3 mysql connected remote database server
Google Analytics Real-time detection shows basic simultaneous 500, 600, 700 to 1000 multiplayer online
Apache perfork Mode
is now set to
Startservers 20
Minspareservers 20
Maxspareservers 40
Serverlimit 10000
MaxClients 5000
Maxrequestsperchild 3000
Netstat-n | awk '/^tcp/{++s[$NF]} END {for (a in S) print A, S[a]} ' time_wait 8496
Fin_wait1 28
Fin_wait2 393
Established 226
SYN_RECV 23
CLOSING 1
Last_ack 4
Ps-ef | grep httpd | Wc-l
267
Top shows a bunch of httpd processes,
Problem:
Perfork inside of Startservers, Minspareservers, Maxspareservers, Serverlimit, maxclients, maxrequestsperchild what mean Ah, Which control the number of simultaneous responses Ah, the number of processes, the number of sub-processes, top display of each httpd a process or a child process? , Perfork set What's the problem no,, Apache settings also need to pay attention to what?
Http://apache.chinahtml.com/mod/prefork.html