Re: Re[4]: Нагрузка на FreeBSD
Дмитрий Леоненко
dmitry.leonenko at gmail.com
Fri Jan 12 18:26:52 MSK 2007
Ему паралельно... нагрузка та же...
last pid: 65605; load averages: 17.37, 19.62, 20.69
up 0+07:45:58 18:25:49
162 processes: 50 running, 112 sleeping
CPU states: 89.2% user, 0.0% nice, 10.4% system, 0.4% interrupt, 0.0%idle
Mem: 445M Active, 1057M Inact, 237M Wired, 55M Cache, 112M Buf, 207M Free
Swap: 2048M Total, 52M Used, 1996M Free, 2% Inuse
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
65470 mysql 59 4 0 526M 132M sbwait 0 1:59 39.55% mysqld
65423 www 1 121 0 47428K 18468K RUN 1 0:10 11.72% httpd
65429 www 1 113 0 48172K 17916K RUN 0 0:12 7.57% httpd
65578 www 1 112 0 47444K 13832K RUN 0 0:04 6.32% httpd
65552 www 1 108 0 47912K 14892K RUN 0 0:03 4.56% httpd
65430 www 1 107 0 47700K 18060K RUN 0 0:09 3.71% httpd
65564 www 1 104 0 50280K 18036K RUN 0 0:02 3.26% httpd
65603 www 1 100 0 46608K 13928K RUN 1 0:01 2.98% httpd
65568 www 1 105 0 47416K 14104K RUN 0 0:03 2.83% httpd
65602 www 1 100 0 46732K 13464K RUN 1 0:01 2.46% httpd
65556 www 1 102 0 46536K 13684K RUN 0 0:02 2.36% httpd
65594 www 1 4 0 46588K 13404K accept 0 0:01 2.28% httpd
65422 www 1 101 0 47560K 16616K RUN 1 0:11 2.00% httpd
65596 www 1 100 0 46772K 13212K RUN 0 0:01 1.88% httpd
65574 www 1 100 0 46612K 13872K RUN 1 0:01 1.82% httpd
65601 www 1 4 0 46660K 13284K accept 0 0:01 1.62% httpd
65582 www 1 100 0 47132K 12956K RUN 1 0:01 1.61% httpd
65557 www 1 101 0 48720K 14336K RUN 0 0:02 1.61% httpd
65554 www 1 101 0 46852K 14084K RUN 0 0:02 1.50% httpd
65599 www 1 99 0 46372K 13112K select 0 0:01 1.47% httpd
65576 www 1 100 0 46412K 13128K RUN 0 0:01 1.42% httpd
65571 www 1 100 0 47140K 14156K RUN 1 0:01 1.41% httpd
65570 www 1 101 0 46804K 13760K RUN 0 0:02 1.36% httpd
65555 www 1 101 0 49380K 16896K RUN 0 0:02 1.35% httpd
65437 www 1 100 0 48596K 16456K RUN 0 0:08 1.32% httpd
65550 www 1 100 0 46876K 14776K RUN 1 0:02 1.30% httpd
65424 www 1 100 0 47164K 16784K RUN 1 0:09 1.27% httpd
65439 www 1 4 0 48736K 16944K sbwait 1 0:07 1.27% httpd
65559 www 1 100 0 46840K 13792K RUN 0 0:01 1.20% httpd
65438 www 1 99 0 46852K 17184K CPU1 0 0:08 1.17% httpd
65573 www 1 101 0 47356K 13884K RUN 0 0:02 1.16% httpd
65562 www 1 100 0 46436K 13540K RUN 1 0:02 1.15% httpd
44361 melco 1 100 0 10068K 5584K RUN 0 3:05 1.12% sshd
65425 www 1 4 0 46996K 18232K sbwait 0 0:11 1.12% httpd
65579 www 1 100 0 46208K 13916K RUN 1 0:01 1.11% httpd
65566 www 1 100 0 46736K 13680K RUN 1 0:02 1.11% httpd
65440 www 1 4 0 46632K 16828K sbwait 0 0:08 1.07% httpd
65560 www 1 4 0 48788K 15424K sbwait 0 0:01 1.00% httpd
65551 www 1 4 0 46944K 15728K sbwait 0 0:01 1.00% httpd
65581 www 1 100 0 46780K 13824K RUN 0 0:02 0.98% httpd
65434 www 1 100 0 46788K 15644K RUN 0 0:08 0.98% httpd
65432 www 1 100 0 46764K 16908K RUN 0 0:07 0.98% httpd
65580 www 1 4 0 46364K 12960K sbwait 0 0:01 0.92% httpd
65572 www 1 4 0 46164K 13372K accept 0 0:01 0.91% httpd
65435 www 1 100 0 46696K 15324K RUN 0 0:08 0.88% httpd
65433 www 1 100 0 47488K 17208K RUN 0 0:14 0.83% httpd
65426 www 1 100 0 47496K 17756K RUN 0 0:10 0.83% httpd
65441 www 1 100 0 46932K 16112K RUN 0 0:08 0.83% httpd
65569 www 1 100 0 46428K 13084K RUN 0 0:02 0.81% httpd
65561 www 1 4 0 46672K 13732K accept 0 0:02 0.80% httpd
65436 www 1 4 0 47000K 18780K sbwait 0 0:07 0.78% httpd
65537 www 1 4 0 46388K 13832K accept 0 0:04 0.74% httpd
65431 www 1 4 0 46984K 19320K accept 0 0:07 0.73% httpd
65427 www 1 4 0 46956K 16804K sbwait 0 0:09 0.59% httpd
65553 www 1 4 0 46736K 14228K accept 0 0:02 0.50% httpd
12.01.07, Igor Sysoev <is at rambler-co.ru> написал(а):
>
> On Fri, 12 Jan 2007, Yuri Kushinov wrote:
>
> > Здравствуйте, Дмитрий.
> >
> > Во FreeBSD другая библиотека потоков.
> >
> > У меня были проблемы со стандартным libpthread, сменил их на libthr в
> > libmap.conf и MySQL стал работать шустрее.
> >
> > > ldd -v /usr/local/libexec/mysqld
> > /usr/local/libexec/mysqld:
> > libz.so.3 => /lib/libz.so.3 (0x80097b000)
> > libwrap.so.4 => /usr/lib/libwrap.so.4 (0x800a8e000)
> > libcrypt.so.3 => /lib/libcrypt.so.3 (0x800b97000)
> > libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x800cb0000)
> > libm.so.4 => /lib/libm.so.4 (0x800ea7000)
> > libpthread.so.2 => /usr/lib/libthr.so.2 (0x800fc3000)
> > libc.so.6 => /lib/libc.so.6 (0x8010da000)
> >
> > > cat /etc/libmap.conf
> > [mysqld]
> > libpthread.so.2 libthr.so.2
> > libpthread.so libthr.so
>
> Лучше для всех, а не только для mysqld:
>
> libpthread.so.2 libthr.so.2
>
>
> Игорь Сысоев
> http://sysoev.ru
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20070112/58e822b3/attachment.html>
More information about the nginx-ru
mailing list