From: "Kharitonov A. Dmitriy" <kharpost@rambler.ru> To: Sysadmins@lists.altlinux.org Subject: [Sysadmins] Как побороть тормознутость lightsquid? Date: Fri, 23 May 2008 16:35:45 +0400 Message-ID: <993739921.20080523163545@rambler.ru> (raw) Как побороть тормознутость lightsquid? Что имеем? router 300МГц 64М страничка с 100 серверами открывается ~3 мин, до того, как выгрузил htppd-alterator грузилась ~5 мин. Что ещё можно отключить? Вроде бы есть возможность компилить перл скрипты. total used free shared buffers cached Mem: 61512 57828 3684 0 9264 21676 -/+ buffers/cache: 26888 34624 Swap: 215732 56 215676 [user@server ~]$ sudo ps -aux Password: USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.8 1536 540 ? Ss May22 0:01 init [3] root 2 0.0 0.0 0 0 ? S May22 0:00 [migration/0/0] root 3 0.0 0.0 0 0 ? SN May22 0:00 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S< May22 0:00 [events/0] root 5 0.0 0.0 0 0 ? S< May22 0:00 [khelper] root 6 0.0 0.0 0 0 ? S< May22 0:00 [kthread] root 9 0.0 0.0 0 0 ? S< May22 0:00 [kblockd/0] root 24 0.0 0.0 0 0 ? S< May22 0:00 [cqueue/0] root 25 0.0 0.0 0 0 ? S< May22 0:00 [kseriod] root 70 0.0 0.0 0 0 ? S May22 0:00 [ubstatd] root 72 0.0 0.0 0 0 ? S May22 0:00 [pdflush] root 74 0.0 0.0 0 0 ? S< May22 0:00 [kswapd0] root 75 0.0 0.0 0 0 ? S< May22 0:00 [aio/0] root 566 0.0 0.0 0 0 ? S< May22 0:03 [kjournald] root 664 0.0 0.9 1660 556 ? S<s May22 0:00 /sbin/udevd --daemon root 872 0.0 0.0 0 0 ? S< May22 0:00 [khubd] root 909 0.0 0.0 0 0 ? S< May22 0:00 [kpsmoused] rpc 2823 0.0 0.9 1672 592 ? Ss May22 0:00 /sbin/portmap -l named 2864 0.0 4.7 5480 2900 ? Ss May22 0:07 /usr/sbin/named klogd 2925 0.0 0.8 1572 536 ? Ss May22 0:00 /sbin/klogd -c 1 -x -u klogd -j /var/lib/klogd root 4127 0.0 1.0 1648 636 ? Ss May22 0:00 /usr/sbin/crond root 4165 0.0 1.3 3592 840 ? Ss May22 0:00 /usr/sbin/sshd dhcpd 4222 0.0 2.4 2784 1524 ? Ss May22 0:00 /usr/sbin/dhcpd root 4472 0.0 1.6 2064 988 ? Ss May22 0:00 /usr/libexec/postfix/master postfix 4480 0.0 2.1 3232 1292 ? S May22 0:00 qmgr -l -t fifo -u -c root 4492 0.0 2.4 4128 1520 ? Ss May22 0:00 /usr/sbin/httpd ntpd 4530 0.0 1.3 2844 848 ? S May22 0:00 ntpd: ntp engine root 4531 0.0 0.9 3112 568 ? Ss May22 0:00 ntpd: [priv] root 4763 0.0 0.0 0 0 ? S May22 0:00 [vzmond] root 4922 0.0 0.7 1520 432 tty1 Ss+ May22 0:00 /sbin/mingetty --noclear tty1 root 4923 0.0 0.7 1520 436 tty2 Ss+ May22 0:00 /sbin/mingetty tty2 root 4924 0.0 0.7 1516 436 tty3 Ss+ May22 0:00 /sbin/mingetty tty3 root 4925 0.0 0.7 1520 432 tty4 Ss+ May22 0:00 /sbin/mingetty tty4 root 4930 0.0 0.7 1516 436 tty5 Ss+ May22 0:00 /sbin/mingetty tty5 root 4931 0.0 0.7 1520 432 tty6 Ss+ May22 0:00 /sbin/mingetty tty6 root 5050 0.0 2.2 6504 1368 ? Ss May22 0:08 /usr/sbin/nmbd -D root 5052 0.0 4.6 9940 2832 ? Ss May22 0:00 /usr/sbin/smbd -D root 5060 0.0 1.8 9940 1108 ? S May22 0:00 /usr/sbin/smbd -D root 12749 0.0 1.8 6704 1156 ? Ss May22 0:00 /usr/sbin/squid -D squid 12751 0.1 11.5 9996 7108 ? S May22 2:05 (squid) -D squid 12759 0.0 0.4 1380 296 ? Ss May22 0:00 (unlinkd) apache 19224 0.0 2.4 4300 1508 ? S 04:02 0:00 /usr/sbin/httpd apache 19225 0.0 2.5 4300 1540 ? S 04:02 0:00 /usr/sbin/httpd apache 19226 0.0 2.4 4300 1508 ? S 04:02 0:00 /usr/sbin/httpd apache 19227 0.0 2.5 4300 1560 ? S 04:02 0:00 /usr/sbin/httpd apache 19229 0.0 2.5 4300 1576 ? S 04:02 0:00 /usr/sbin/httpd root 19244 0.0 0.0 0 0 ? S 04:02 0:00 [pdflush] squid 19248 0.0 1.0 1880 636 ? Ss 04:04 0:00 (pinger) syslogd 20849 0.0 1.2 1752 784 ? Ss 04:05 0:44 /sbin/syslogd -u syslogd -j /var/resolv apache 25420 0.0 2.4 4300 1512 ? S 10:40 0:00 /usr/sbin/httpd apache 25421 0.0 2.6 4300 1604 ? S 10:40 0:00 /usr/sbin/httpd apache 25422 0.0 2.4 4300 1512 ? S 10:40 0:00 /usr/sbin/httpd apache 25434 0.0 2.4 4300 1512 ? S 10:42 0:00 /usr/sbin/httpd root 31291 0.0 3.3 6724 2044 ? Ss 14:36 0:00 sshd: user [priv] user 31298 0.0 2.5 6724 1568 ? S 14:36 0:01 sshd: user@pts/0 user 31299 0.0 2.8 3980 1732 pts/0 Ss 14:36 0:00 -bash root 31330 0.0 3.3 6724 2044 ? Ss 14:36 0:00 sshd: user [priv] user 31337 0.0 2.5 6724 1572 ? S 14:37 0:00 sshd: user@pts/1 user 31338 0.0 2.7 3976 1712 pts/1 Ss+ 14:37 0:00 -bash postfix 630 0.0 1.9 3196 1192 ? S 16:10 0:00 pickup -l -t fifo -u -c root 763 4.0 1.5 2556 936 pts/0 R+ 16:34 0:00 ps -aux
next reply other threads:[~2008-05-23 12:35 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-05-23 12:35 Kharitonov A. Dmitriy [this message] 2008-05-28 21:58 ` Michael Shigorin 2008-05-28 21:58 ` Michael Shigorin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=993739921.20080523163545@rambler.ru \ --to=kharpost@rambler.ru \ --cc=Sysadmins@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git