ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Squid chroot hard CPU usage
@ 2004-08-27  7:37 dima
  2004-08-28 10:18 ` [Comm] " Michael Shigorin
  0 siblings, 1 reply; 2+ messages in thread
From: dima @ 2004-08-27  7:37 UTC (permalink / raw)
  To: community

Вот трабла такая есть:
запускаю сквида в chroot,
имею в top:

 PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND
22754 squid     16   0  3900 3900  1272 S    99,2  1,5   0:22   0 squid
                                           ^^^^^^^^это очень мне не нравится.

когда запускаю без chroot -- все ок, жрет 0.6% CPU...

Может, ктонибудь сталкивался, подскажет, где собака порылась...
Спасибо.

-- 
WBR, Dmitry Belyayev
email: dima@donauto.net.ua
icq:   228889622


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Comm] Re: Squid chroot hard CPU usage
  2004-08-27  7:37 [Comm] Squid chroot hard CPU usage dima
@ 2004-08-28 10:18 ` Michael Shigorin
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Shigorin @ 2004-08-28 10:18 UTC (permalink / raw)
  To: community; +Cc: dima

On Fri, Aug 27, 2004 at 10:37:08AM +0300, dima@donauto.net.ua wrote:
> запускаю сквида в chroot, имею в top:
>  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND
> 22754 squid     16   0  3900 3900  1272 S    99,2  1,5   0:22   0 squid
>                                            ^^^^^^^^это очень мне не нравится.
> когда запускаю без chroot -- все ок, жрет 0.6% CPU...

Попробуйте его от'strace'ить -- куда стучится-то.

Возможно, дело в резолвере.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-08-28 10:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-27  7:37 [Comm] Squid chroot hard CPU usage dima
2004-08-28 10:18 ` [Comm] " Michael Shigorin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git