<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1251">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=139061215-22012007><FONT face=Arial
color=#0000ff size=2>добрый день!</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=139061215-22012007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=139061215-22012007><FONT face=Arial
color=#0000ff size=2>хочу вернуться ....</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=139061215-22012007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=139061215-22012007><FONT face=Arial
color=#0000ff size=2>а что делает апач в SBWAIT статусе?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=139061215-22012007><FONT face=Arial
color=#0000ff size=2>что у него еще и процент загрузки бывает не
маленький?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=139061215-22012007><FONT face=Arial
color=#0000ff size=2>(ОС - фря 6.2, апач 1.37, есть mod_php +
postgresql)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=139061215-22012007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=139061215-22012007><FONT face=Arial
color=#0000ff size=2>спасибо</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=ru dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> owner-nginx-ru@mail.sysoev.ru
[mailto:owner-nginx-ru@mail.sysoev.ru] <B>On Behalf Of </B>Дмитрий
Леоненко<BR><B>Sent:</B> Friday, January 12, 2007 6:05 PM<BR><B>To:</B>
nginx-ru@sysoev.ru<BR><B>Subject:</B> Re: Re: Нагрузка на
FreeBSD<BR></FONT><BR></DIV>
<DIV></DIV>newinst htdocs # mount<BR>/dev/ad0s1a on / (ufs, local)<BR>devfs on
/dev (devfs, local)<BR>/dev/ad0s1h on /home (ufs, local,
soft-updates)<BR>/dev/ad0s1d on /tmp (ufs, local, soft-updates)<BR>/dev/ad0s1g
on /usr (ufs, local, soft-updates) <BR>/dev/ad0s1f on /var (ufs, local,
soft-updates)<BR>/dev/ad0s1e on /var/tmp (ufs, local,
soft-updates)<BR><BR>newinst apache # mysqladmin extended-status | egrep
Qcache<BR>|
Qcache_free_blocks
| 160 | <BR>|
Qcache_free_memory
| 92538824 |<BR>|
Qcache_hits
| 5117 |<BR>|
Qcache_inserts
| 7914 |<BR>|
Qcache_lowmem_prunes
| 0 |<BR>|
Qcache_not_cached
| 242 | <BR>|
Qcache_queries_in_cache
| 2622 |<BR>|
Qcache_total_blocks
| 5524 |<BR><BR><BR>При этом в top mysql
зачастую кушает больше 40%<BR><BR>last pid: 64881; load averages:
17.59, 9.76, 14.04
up 0+07:24:29 18:04:20<BR>110 processes: 26 running, 83 sleeping, 1
zombie<BR>CPU states: 95.1% user, 0.0% nice, 4.1% system,
0.7% interrupt, 0.0% idle<BR>Mem: 321M Active, 1057M Inact, 240M Wired,
47M Cache, 112M Buf, 336M Free<BR>Swap: 2048M Total, 54M Used, 1994M Free, 2%
Inuse<BR><BR> PID USERNAME THR PRI NICE
SIZE RES STATE C TIME WCPU
COMMAND <BR>64643 mysql 36
104 0 460M 119M
RUN 0 3:57 39.55% mysqld<BR>64860
www 1
105 0 46856K 13928K RUN 0
0:02 3.61% httpd<BR>64660
www 1
4 0 49096K 18364K sbwait 0 0:20 3.61%
httpd<BR>64817 www
1 4 0 46744K 13824K accept 0
0:05 3.42% httpd<BR>64666
www 1
105 0 47032K 18148K RUN 0
0:21 3.42% httpd<BR>64828
www 1
104 0 46984K 15132K RUN 0
0:03 3.37% httpd<BR>64827
www 1
105 0 47428K 15428K RUN 1
0:05 3.03% httpd<BR>64826
www 1
4 0 46736K 14720K accept 0 0:05 3.03%
httpd<BR>64819 www
1 105 0 47064K 14780K RUN 0
0:06 3.03% httpd<BR>64657
www 1
105 0 47144K 20580K RUN 1
0:19 3.03% httpd<BR>64664
www 1
104 0 47092K 20288K RUN 0
0:21 2.98% httpd<BR>64656
www 1
4 0 48580K 21540K sbwait 0 0:20 2.98%
httpd<BR>64830 www
1 104 0 47616K 14704K RUN 0
0:05 2.93% httpd<BR>64820
www 1
104 0 46856K 14584K RUN 0
0:05 2.88% httpd<BR>64812
www 1
105 0 46980K 15588K RUN 0
0:06 2.88% httpd<BR>64825
www 1
4 0 46808K 14384K sbwait 1 0:04 2.79%
httpd<BR>64665 www
1 105 0 47508K 19088K CPU1 1
0:21 2.73% httpd<BR>64856
www 1
104 0 46876K 14220K RUN 0
0:02 2.69% httpd<BR>64818
www 1
104 0 46560K 13992K RUN 0
0:05 2.69% httpd<BR>64862
www 1
4 0 46756K 13676K accept 0 0:02 2.69%
httpd<BR>64861 www
1 4 0 46452K 13276K accept 0
0:02 2.54% httpd<BR>64800
www 1
104 0 46496K 15052K RUN 0
0:06 2.39% httpd<BR>64813
www 1
4 0 46724K 15244K sbwait 0 0:04 2.30%
httpd<BR>64658 www
1 4 0 47016K 18964K sbwait 0
0:20 2.29% httpd<BR>64655
www 1
4 0 46992K 18740K sbwait 1 0:17 2.29%
httpd<BR>64829 www
1 4 0 46420K 13720K sbwait 0
0:05 2.20% httpd<BR>64823
www 1
103 0 46808K 14548K RUN 0
0:05 2.20% httpd<BR>64822
www 1
103 0 46596K 14180K RUN 0
0:05 2.20% httpd<BR>64670
www 1
102 0 46820K 17980K RUN 0
0:15 2.20% httpd<BR>64821
www 1
4 0 46452K 14108K accept 0 0:03 2.15%
httpd<BR>64662 www
1 4 0 50548K 21724K accept 0
0:25 2.15% httpd<BR>64663
www 1
4 0 46796K 18348K sbwait 1 0:22 2.05%
httpd<BR>64659 www
1 104 0 47728K 19764K RUN 0
0:17 2.05% httpd<BR>64654
www 1
4 0 46636K 16992K sbwait 1 0:19 1.95%
httpd<BR>64783 www
1 4 0 47380K 16304K sbwait 0
0:10 1.95% httpd<BR>64814
www 1
102 0 46592K 14296K RUN 0
0:05 1.76% httpd<BR>64848
www 1
4 0 46764K 14548K accept 0 0:01 1.72%
httpd<BR>64671 www
1 4 0 46728K 16468K sbwait 0
0:19 1.61% httpd<BR>44361
melco 1 101
0 10068K 5604K RUN 0 2:39 1.46%
sshd<BR>39313 www
1 4 0 5448K 2844K kqread
0 1:50 0.34% nginx<BR><BR><BR>
<DIV><SPAN class=gmail_quote>12.01.07, <B class=gmail_sendername>Igor
Sysoev</B> <<A href="mailto:is@rambler-co.ru"> is@rambler-co.ru</A>>
написал(а):</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">On
Fri, 12 Jan 2007, [UTF-8] Дмитрий Леоненко wrote: <BR><BR>>
MaxRequestsPerChild 100<BR>><BR>> newinst htdocs # pgrep
httpd | wc -l<BR>> 99<BR>> newinst
htdocs # top<BR>><BR>> last pid: 55269; load averages:
70.58, 52.99, 49.17<BR>> up 0+05:51:52 16:31:43 <BR>> 199
processes: 70 running, 128 sleeping, 1 zombie<BR>> CPU states: 90.1%
user, 0.9% nice, 8.5% system, 0.5%
interrupt, 0.0%idle<BR>> Mem: 791M Active, 438M Inact, 226M
Wired, 2852K Cache, 112M Buf, 543M Free <BR>> Swap: 2048M Total, 86M
Used, 1962M Free, 4% Inuse<BR><BR>Судя по топу, дело не в системе - процессы
едят своё время - 90.1% user.<BR>Возможно, на Линуксе использовался
php-акселертор, а здесь - нет.<BR><BR>Кроме того, смущает состояния ufs у
некоторых httpd. Что пoзывает
<BR><BR>mount<BR><BR>?<BR><BR>> PID
USERNAME THR PRI NICE
SIZE RES STATE C
TIME WCPU COMMAND<BR>> 602
mysql 63
4 0 121M 47760K sbwait 0 57:40
25.83% mysqld<BR>> 55025
www 1
118 0 19432K 15492K
RUN 1 0:03 2.54%
httpd<BR>> 55017
www 1
118 0 17240K 13724K
RUN 0 0:02 2.39% httpd<BR>>
54961 www 1
118 0 16912K 13424K
RUN 0 0:03 2.15% httpd<BR>>
54997 www 1
119 0 19372K 15456K
RUN 0 0:03 2.10%
httpd<BR>> 54981
www 1
120 0 17816K 14404K
RUN 1 0:04 2.00% httpd<BR>>
54978 www 1
120 0 18760K 14780K
RUN 1 0:04 1.95% httpd<BR>>
55014 www 1
120 0 18052K 14644K
RUN 1 0:04 1.91%
httpd<BR>> 54974
www 1
120 0 18048K 14552K
RUN 1 0:04 1.91% httpd<BR>>
54971 www 1
119 0 17868K 14476K
RUN 0 0:04 1.86% httpd<BR>>
54984 www 1
120 0 17760K 14248K
RUN 0 0:04 1.86%
httpd<BR>> 55002
www
1 -4 0 17232K 13724K
ufs 0 0:03 1.86% httpd<BR>>
54991 www 1
120 0 18164K 14656K
RUN 1 0:03 1.86% httpd<BR>>
54976 www 1
118 0 18052K 14540K
RUN 0 0:03 1.81%
httpd<BR>> 55023
www 1
120 0 17840K 14324K
RUN 1 0:03 1.71% httpd<BR>>
55031 www 1
120 0 17456K 13944K
RUN 0 0:03 1.66% httpd<BR>>
55030 www 1
118 0 17500K 13944K
RUN 0 0:01 1.61%
httpd<BR>> 55026
www 1
119 0 17124K 13708K
RUN 0 0:01 1.56% httpd<BR>>
55028 www 1
119 0 17536K 14120K
RUN 0 0:04 1.52% httpd<BR>>
55008 www 1
117 0 18208K 14792K
RUN 0 0:03 1.51%
httpd<BR>> 54951
www
1 -4 0 17024K 13628K
ufs 1 0:03 1.51% httpd<BR>>
55021 www 1
119 0 17460K 13944K
RUN 0 0:02 1.47% httpd<BR>>
54947 www 1
117 0 17724K 14044K
RUN 0 0:04 1.47%
httpd<BR>> 55007
www 1
120 0 18744K 14636K
RUN 0 0:02 1.42% httpd<BR>>
54950 www 1
119 0 17148K 13752K
RUN 0 0:02 1.42% httpd<BR>>
54983 www 1
119 0 17996K 14608K
RUN 1 0:03 1.37%
httpd<BR>> 54954
www 1
120 0 16636K 13116K
RUN 1 0:05 1.37% httpd<BR>>
54959 www 1
119 0 18136K 14560K
RUN 1 0:04 1.37% httpd<BR>>
54955 www 1
119 0 17576K 14068K
RUN 0 0:04 1.37%
httpd<BR>> 54952
www 1
118 0 18032K 14620K
RUN 1 0:04 1.32% httpd<BR>>
54979 www 1
116 0 17660K 14156K
RUN 0 0:03 1.27% httpd<BR>>
54995 www
1 -4 0 17352K 13848K
ufs 0 0:03 1.27%
httpd<BR>> 54957
www 1
116 0 17628K 14116K
RUN 0 0:03 1.27% httpd<BR>>
44361 melco 1
112 0 10068K 5256K select 1
1:15 1.27% sshd<BR>> 54970
www 1
116 0 17764K 14244K
RUN 0 0:03 1.22%
httpd<BR>> 55036
www 1
117 0 17292K 13880K CPU1 1
0:03 1.17% httpd<BR>> 54989
www
1 -4 0 17104K 13696K
ufs 0 0:03 1.17% httpd<BR>>
55009 www 1
117 0 16956K 13420K
RUN 1 0:03 1.17%
httpd<BR>> 55040
www 1
118 0 17676K 14160K
RUN 0 0:01 1.12% httpd<BR>>
55100 www 1
119 0 17680K 14168K
RUN 1 0:01 1.08% httpd<BR>>
55032 www
1 -4 0 17440K 14024K
ufs 0 0:01 1.08%
httpd<BR>> 55019
www 1
116 0 17148K 13644K
RUN 0 0:03 1.03% httpd<BR>>
55018 www 1
117 0 18900K 14900K
RUN 0 0:01 0.98% httpd<BR>>
54990 www
1 -4 0 17596K 14092K
ufs 1 0:03 0.98%
httpd<BR>> 55004
www 1
116 0 18132K 14576K
RUN 0 0:03 0.98%
httpd<BR><BR><BR>Игорь Сысоев<BR><A
href="http://sysoev.ru">http://sysoev.ru</A><BR><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>