ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Anton Kvashin <foo@junior.esoo.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] память
Date: Tue, 01 Apr 2008 11:55:17 +0600
Message-ID: <47F1CE45.10903@junior.esoo.ru> (raw)
In-Reply-To: <1999263428.20080331093616@admin.dn.ua>

Andrey V. Samopal пишет:
> у меня в 4 запускает КРОН дневные задачи, мо MRTG вижу как возростает
> расход памяти, но не вижу как она освобождается.
> написан скрипт на перле, запускается каждые 5 минут.
> с ним таже ситуация, он берет память но такое ощущение что он ее не
> освобождает.
> по ps aux скрипт в процессах не висит.
> в итоге, через какое-то время машина начинает спустя какоето время
> может сама перегрузиться
> не подскажете что это может быть?

Что видно из dmesg, /var/log/messages ?
Посмотрите через утилиту top, потребление памяти/свопа (shift + m -- 
сортировка процессов по потреблению памяти).

Если будет утечка памяти (и активный своппинг), ядро будет килять 
процессы (прочие сервисы скорее всего будут недоступны).

Перезагрузка может быть связана с: перегревом, проблем на файловой 
системе, железом.

Остановите задание в кроне, работу mrtg, как поведет себя сервер?

-- 
Anton Kvashin



      parent reply	other threads:[~2008-04-01  5:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-31  6:36 Andrey V. Samopal
2008-03-31  6:57 ` Andrew Avramenko
2008-04-01  5:55 ` Anton Kvashin [this message]

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=47F1CE45.10903@junior.esoo.ru \
    --to=foo@junior.esoo.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