ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Igor Homyakov <homyakov@ramax.spb.ru>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] Re: perl memory leaks
Date: Thu, 15 May 2003 12:54:13 +0400
Message-ID: <20030515085413.GB1382@kadath.ramax.spb.ru> (raw)
In-Reply-To: <20030514143238.GA25688@new.solutions.lv>

* Dmitry Ivanov <dimss @ solutions . lv> [030514 18:31]:
> On Wed, May 14, 2003 at 05:58:01PM +0400, Andrey Brindeew wrote:
> > On Wed, May 14, 2003 at 03:40:11PM +0300, Dmitry Ivanov wrote:
> > > А не замечал ли кто утечек памяти в perl,
> > > поставляемом с ALT Linux? Сабж весьма заметен
> > > на Mandrake 9.0, особенно с mod_perl.
> > 
> > Это не утечка памяти в perl, это утечки в самом mod_perl. Превентивная
> > мера: выставлять MaxRequestsPerChild в ненулевое значение.

> Да нет. Есть у нас один долговременный и интенсивный
> perl-демон с LWP. Так вот он однажды выжрал полсвапа,
> и я его теперь по крону перезапускаю еженощно. Так что
> это perl, хотя и mod_perl, и mod_php не исключены.

Возможно, это не утечки памяти и проблемы дизайна. В некоторых
случаях perl не освобождает память, точнее не отдаёт ее системе.
Для написания демонов это надо учитывать.

-- 
Igor Homyakov
<homyakov at altlinux dot ru>
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=190141


  reply	other threads:[~2003-05-15  8:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-14 12:40 [sisyphus] " Dmitry Ivanov
2003-05-14 13:58 ` [sisyphus] " Andrey Brindeew
2003-05-14 14:32   ` Dmitry Ivanov
2003-05-15  8:54     ` Igor Homyakov [this message]
2003-05-21 21:01     ` Alexey Morozov
2003-05-14 17:17   ` Alexey Tourbin
2003-05-14 14:28 ` Michael Shigorin
2003-05-14 14:35   ` Dmitry Ivanov
2003-05-14 14:48     ` Andrey Brindeew
2003-05-14 15:44       ` Dmitry Ivanov
2003-05-14 19:16         ` Andrey Brindeew
2003-05-15  6:44           ` Alex Ott

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=20030515085413.GB1382@kadath.ramax.spb.ru \
    --to=homyakov@ramax.spb.ru \
    --cc=sisyphus@altlinux.ru \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

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

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


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