* [devel] Ужас-ужас в /tmp на rbasalt
@ 2016-12-14 11:26 Igor Vlasenko
2016-12-14 11:43 ` Dmitry V. Levin
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Igor Vlasenko @ 2016-12-14 11:26 UTC (permalink / raw)
To: devel
Господа,
Зашел с утра на rbasalt. Активных пользователей
там почти не было (кроме cas@) но при этом там
df показывал
tmpfs 64G 28G 37G 44% /tmp
Это 44% от tmpfs и 116% (116% !!!) от установленной памяти
(24G).
Господа! У нас выработалась плохая привычка
бросать за собой захламленный tmpfs.
Это так же плохо, как и не сливать за собой в туалете.
В итоге на машине сможет продуктивно работать
меньше пользователей, чем могло бы при чистом tmpfs.
И те, что есть, также страдают, так как
сборка идет не в память, а в swap.
С утра не убрало за собой 10 пользователей.
du -sh /tmp/.private/*
322M /tmp/.private/xxx
1.6G /tmp/.private/xxx
1.1G /tmp/.private/xxx
6.9G /tmp/.private/xxx
9.0G /tmp/.private/xxx
1.2G /tmp/.private/xxx
7.7G /tmp/.private/xxx
326M /tmp/.private/xxx
138M /tmp/.private/xxx
Надо меняться! Я тоже регулярно забывал убрать
за собой tmpfs, но приложив усилия и заскриптовав
напоминания, смог добиться, что теперь после меня
tmpfs чист.
Вот советы, как не захламлять tmpfs общего пользования:
https://www.altlinux.org/SharedTmpfsMaintainance
Пожалуйста, посмотрите.
--
I V
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [devel] Ужас-ужас в /tmp на rbasalt
2016-12-14 11:26 [devel] Ужас-ужас в /tmp на rbasalt Igor Vlasenko
@ 2016-12-14 11:43 ` Dmitry V. Levin
2016-12-14 11:56 ` [devel] Ужас-ужас в $TMP Michael Shigorin
2016-12-14 12:06 ` [devel] Ужас-ужас в /tmp на rbasalt Ruslan Hihin
2 siblings, 0 replies; 5+ messages in thread
From: Dmitry V. Levin @ 2016-12-14 11:43 UTC (permalink / raw)
To: ALT Devel discussion list
[-- Attachment #1: Type: text/plain, Size: 224 bytes --]
On Wed, Dec 14, 2016 at 01:26:42PM +0200, Igor Vlasenko wrote:
> Господа,
>
> Зашел с утра на rbasalt.
А что такое rbasalt? Если это чей-то персональный сборочный сервер,
то стоит ли об этом в devel?
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [devel] Ужас-ужас в $TMP
2016-12-14 11:26 [devel] Ужас-ужас в /tmp на rbasalt Igor Vlasenko
2016-12-14 11:43 ` Dmitry V. Levin
@ 2016-12-14 11:56 ` Michael Shigorin
2016-12-14 12:06 ` [devel] Ужас-ужас в /tmp на rbasalt Ruslan Hihin
2 siblings, 0 replies; 5+ messages in thread
From: Michael Shigorin @ 2016-12-14 11:56 UTC (permalink / raw)
To: devel
On Wed, Dec 14, 2016 at 01:26:42PM +0200, Igor Vlasenko wrote:
> Господа! У нас выработалась плохая привычка
> бросать за собой захламленный tmpfs.
Возможно, кому-нибудь ещё пригодится:
--- ~/bin/hsh-rmchroots
#!/bin/sh
exec 2>/dev/null
for i in $TMP/*/chroot/..; do hsh-rmchroot $i; done
for i in $TMP/*/cache; do rm -rf $i; done
---
(у меня $TMP/{hasher,p8,...}/)
--
---- WBR, Michael Shigorin / http://altlinux.org
------ http://opennet.ru / http://anna-news.info
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [devel] Ужас-ужас в /tmp на rbasalt
2016-12-14 11:26 [devel] Ужас-ужас в /tmp на rbasalt Igor Vlasenko
2016-12-14 11:43 ` Dmitry V. Levin
2016-12-14 11:56 ` [devel] Ужас-ужас в $TMP Michael Shigorin
@ 2016-12-14 12:06 ` Ruslan Hihin
2016-12-14 12:13 ` [devel] Ужас-ужас в /tmp на basalt Michael Shigorin
2 siblings, 1 reply; 5+ messages in thread
From: Ruslan Hihin @ 2016-12-14 12:06 UTC (permalink / raw)
To: ALT Linux Team development discussions
А это касается внутренней кухни, или и заданий по ssh girar ?
--
Простите за краткость, создано в K-9 Mail.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-12-14 12:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-14 11:26 [devel] Ужас-ужас в /tmp на rbasalt Igor Vlasenko
2016-12-14 11:43 ` Dmitry V. Levin
2016-12-14 11:56 ` [devel] Ужас-ужас в $TMP Michael Shigorin
2016-12-14 12:06 ` [devel] Ужас-ужас в /tmp на rbasalt Ruslan Hihin
2016-12-14 12:13 ` [devel] Ужас-ужас в /tmp на basalt Michael Shigorin
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git