ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Vladimir Karpinsky <vkarpinsky@mail.ru>
To: community@lists.altlinux.org
Subject: [Comm] Переполнение /tmp
Date: Sun, 07 Feb 2010 11:58:30 +0300
Message-ID: <4B6E80B6.7040108@mail.ru> (raw)

Здравствуйте!

Последнее время стало беспокоить переполнение /tmp. Обнаруживаю я это, 
когда письма посылаемые мне по некоторым событиям приходят пустые. Сейчас вижу:

Файловая система     1K-блоков      Исп  Доступно  Исп% смонтирована на
tmpfs                   241868    176336     65532  73% /tmp

А ещё 10 минут назад было:
tmpfs                   241868    172484     69384  72% /tmp

Практически всё место занимает файл /tmp/atop.d/atop.acct.
Самое неприятное то, что удаление этого файла не приводит к освобождению 
места при этом df и du показывают разное:
# du -s /tmp
4.0K    /tmp
И в то же время:
#df
tmpfs                   241868    180188     61680  75% /tmp


Перезагрузка приносит временное облегчение, но это же не дело.
Запуск atop  я нашёл в /etc/cron.d/atop:
# start atop daily at midnight
1 0 * * * root /etc/atop/atop.daily
Как следствие имею процесс:
root     30192  0.1  0.4   2320  2320 ?        S<L  00:01   0:58 
/usr/bin/atop -a -S -w /var/log/atop/atop_20100207 600

Просветите меня, пожалуйста, насколько нужен atop непрерывно работающий в 
системе, если нужен, то можно ли ограничить его апетиты на /tmp? А также, 
как можно освободить место в /tmp?



-- 
	С уважением,
		Владимир.


             reply	other threads:[~2010-02-07  8:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-07  8:58 Vladimir Karpinsky [this message]
2010-02-07  9:52 ` Andrey Rahmatullin
2010-02-07  9:58   ` Vladimir Karpinsky

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=4B6E80B6.7040108@mail.ru \
    --to=vkarpinsky@mail.ru \
    --cc=community@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 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