- 论坛徽章:
- 0
|
apache2.conf
<IfModule mpm_worker_module>
StartServers 5
MaxClients 768
MinSpareThreads 100
MaxSpareThreads 200
ThreadsPerChild 64
MaxRequestsPerChild 4000
ServerLimit 100
ThreadLimit 200
</IfModule>
fcgid.conf
<IfModule mod_fcgid.c>
AddHandler fcgid-script .php .php5
SocketPath /var/lib/apache2/fcgid/sock
IPCConnectTimeout 20
</IfModule>
top - 17:46:00 up 97 days, 21:04, 1 user, load average: 0.56, 0.89, 1.05
Tasks: 180 total, 4 running, 176 sleeping, 0 stopped, 0 zombie
Cpu(s): 16.1%us, 3.7%sy, 0.0%ni, 79.2%id, 1.1%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 4063376k total, 3325680k used, 737696k free, 235140k buffers
Swap: 7811064k total, 0k used, 7811064k free, 1953160k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
23238 mysql 20 0 897m 196m 6556 S 22 5.0 50:28.26 mysqld
17942 vu2015 20 0 158m 13m 3556 S 21 0.3 0:14.72 php5-cgi
17945 vu2015 20 0 158m 13m 3560 R 15 0.3 0:13.90 php5-cgi
17700 vu2015 20 0 158m 13m 3584 R 8 0.3 0:54.22 php5-cgi
17932 vu2018 20 0 161m 15m 4384 S 3 0.4 0:03.76 php5-cgi
18050 www-data 20 0 751m 23m 2752 S 2 0.6 0:03.49 apache2
18217 vu2013 20 0 154m 9732 3336 S 2 0.2 0:02.94 php5-cgi
16847 vu2007 20 0 154m 9m 3556 S 1 0.3 0:08.44 php5-cgi
17701 vu2015 20 0 157m 12m 3596 S 1 0.3 0:55.33 php5-cgi
17941 vu2015 20 0 158m 13m 3560 R 1 0.3 0:10.36 php5-cgi
18131 vu2018 20 0 161m 14m 3868 S 1 0.4 0:04.76 php5-cgi
18216 vu2013 20 0 153m 8748 3408 S 1 0.2 0:02.98 php5-cgi
18295 www-data 20 0 745m 15m 2732 S 1 0.4 0:00.34 apache2
18372 vu2013 20 0 153m 8488 3152 S 1 0.2 0:00.48 php5-cgi
18373 root 20 0 18956 1324 944 R 1 0.0 0:00.06 top
1045 root 15 -5 0 0 0 S 0 0.0 39:18.61 md1_raid1
1135 root 15 -5 0 0 0 S 0 0.0 79:56.99 kjournald
17702 www-data 20 0 878m 24m 2760 S 0 0.6 0:07.58 apache2
1 root 20 0 10312 788 660 S 0 0.0 1:07.85 init
2 root 15 -5 0 0 0 S 0 0.0 0:00.04 kthreadd
3 root RT -5 0 0 0 S 0 0.0 0:20.10 migration/0
4 root 15 -5 0 0 0 S 0 0.0 0:17.44 ksoftirqd/0
5 root RT -5 0 0 0 S 0 0.0 0:34.74 watchdog/0
6 root RT -5 0 0 0 S 0 0.0 1:02.02 migration/1
7 root 15 -5 0 0 0 S 0 0.0 0:09.08 ksoftirqd/1
8 root RT -5 0 0 0 S 0 0.0 0:01.14 watchdog/1
9 root RT -5 0 0 0 S 0 0.0 0:21.74 migration/2
10 root 15 -5 0 0 0 S 0 0.0 0:20.24 ksoftirqd/2
11 root RT -5 0 0 0 S 0 0.0 0:01.34 watchdog/2
12 root RT -5 0 0 0 S 0 0.0 0:27.12 migration/3
服务器 并发大概有50-100个左右
需要什么数据大家提一下 我实在是搞不定了。。。。 |
|