Gentoo Archives: gentoo-user

From: kashani <kashani-list@××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: df and du difference
Date: Mon, 18 Aug 2008 22:05:13
Message-Id: 48A9F214.6000003@badapple.net
In Reply to: [gentoo-user] Re: df and du difference by Platoali
1 Platoali wrote:
2 > /dev/console (deleted)
3 > mysqld 5679 mysql 5u REG 8,1 0 1009860
4 > /tmp/iby8kN8L (deleted)
5 > mysqld 5679 mysql 6u REG 8,1 0 1009861
6 > /tmp/ib3OyWjn (deleted)
7 > mysqld 5679 mysql 7u REG 8,1 0 1009862
8 > /tmp/ibCqa6uY (deleted)
9 > mysqld 5679 mysql 8u REG 8,1 0 1009863
10 > /tmp/ibnDCmHz (deleted)
11 > mysqld 5679 mysql 12u REG 8,1 0 1009864
12 > /tmp/ibaQcs5a (deleted)
13 > ...
14 >
15 >
16 > Nothing so big. just about 20 lines and the biggest ones are these.
17 >
18 > This server hosts accounting software for an ISP: just a couple python
19 > scripts, apache with PHP and a small Postgresql database.
20
21 You're going to have to rebuild this server because someone is
22 eventually going to break it.
23
24 The number one rule of shared database servers is never put /tmp inside
25 / because eventually some idiot will kick off some poorly thought out
26 job to crunch some numbers and he will fill /tmp and therefore / and
27 break your server. /tmp should always be it's own partition in this type
28 of environment. I have also found 5GB to be a good size as well since
29 most crazy jobs would die around 4GB on 32 bit systems.
30
31 kashani