Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2008 13:31:55 -0500
From:      Paul Schmehl <pschmehl_lists@tx.rr.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: /var full
Message-ID:  <08316AEE182673D114F84C15@utd65257.utdallas.edu>
In-Reply-To: <485A9F53.4090306@boosten.org>
References:  <EA09BDBE04BB7B81413DB590@Macintosh.local> <20080619035949.GB8205@shepherd>	<DB82314EA03D57CB11849EA5@Macintosh.local> <4859FC8F.5020308@ibctech.ca>	<BBBB9169909ADCA813DB44EE@utd65257.utdallas.edu> <A42873E7-6DCB-4F55-AC79-C14353880E7D@goldmark.org> <421A1EE3E8C305AD72BBA2BE@utd65257.utdallas.edu> <485A9F53.4090306@boosten.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--On Thursday, June 19, 2008 20:02:59 +0200 Peter Boosten <peter@boosten.org> 
wrote:

> Paul Schmehl wrote:
>>>
>>>>  I'm leaning toward some sort of bug in mysql version 5.0.51 which
>>>> creates a temporary file (in the wrong place) and then doesn't
>>>> release it until it exhausts the space on the drive.  In any case,
>>>> I'm going to report it to the mysql folks as such and hope they can
>>>> figure out what the cause is.
>>>
>
> try to find the file with
># fstat | grep var
>
>
> This will give a list with inodes for open files (the 6th column).
>
># find /var -inum <inode>
>

Interesting.

>From the last section of entries in dmesg.today:

pid 73721 (dd), uid 2 inumber 27131920 on /var: filesystem full
pid 730 (mysqld), uid 88 inumber 27132148 on /var: filesystem full

# find /var/ -inum 27132148
/var/db/mysql/buttercup3-bin.000031

# ls -lsa /var/db/mysql/buttercup3-bin.000031
15856 -rw-rw----  1 mysql  mysql  16208184 Jun 19 03:28 
/var/db/mysql/buttercup3-bin.000031

# find /var/ -inum 27131920
/var/db/entropy/saved-entropy.6

# ls -lsa /var/db/entropy/saved-entropy.6
2 -r--------  1 operator  operator  2048 Jun 19 17:33 
/var/db/entropy/saved-entropy.6

So it could have been something else entirely, and when those files tried to 
write to /var it was already full?

Why is operator running dd?  Is it trying to fix the problem?

-- 
Paul Schmehl
As if it wasn't already obvious,
my opinions are my own and not
those of my employer.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?08316AEE182673D114F84C15>