From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Date: Thu, 29 May 2008 00:58:41 +0300 From: Michael Shigorin To: Sysadmins@lists.altlinux.org Message-ID: <20080528215841.GS21621@osdn.org.ua> Mail-Followup-To: Sysadmins@lists.altlinux.org References: <993739921.20080523163545@rambler.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <993739921.20080523163545@rambler.ru> User-Agent: Mutt/1.4.2.1i Subject: Re: [Sysadmins] =?koi8-r?b?68HLINDPws/Sz9TYINTP0s3P2s7V1M/T1NggbGln?= =?koi8-r?b?aHRzcXVpZD8=?= X-BeenThere: sysadmins@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: shigorin@gmail.com, ALT Linux sysadmin discuss List-Id: ALT Linux sysadmin discuss List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2008 21:58:45 -0000 Archived-At: List-Archive: On Fri, May 23, 2008 at 04:35:45PM +0400, Kharitonov A. Dmitriy wrote: > Как побороть тормознутость lightsquid? > Что имеем? router 300МГц 64М Обрабатывать логи на другой машинке, отдав их туда по NFS? > страничка с 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 PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND > root 664 0.0 0.9 1660 556 ? S 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 > 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] Это всё настроено/используется? (судя по portmap -l -- вряд ли) > root 4763 0.0 0.0 0 0 ? S May22 0:00 [vzmond] Если контейнеров нет -- может быть удобней поставить ядро std-smp (заодно из updates -- так понимаю, что там дистрибутивное?). > 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 Можно оставить штуки три (см. /etc/inittab)... > 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 Самба используется? > 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 > 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 Если не нужен -- chkconfig httpd2 off; service httpd2 stop. Не для таких машинок apache2 лепился :-( -- ---- WBR, Michael Shigorin ------ Linux.Kiev http://www.linux.kiev.ua/