-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dave Kleikamp wrote:
>
> Hi Christian,
> Did you just recently subscribe to the mailing list? I think you got
> caught in the middle of our migration to sourceforge. The mailing list
> just moved to http://lists.sourceforge.net/lists/listinfo/jfs-discussion
yes, i subscribed just yesterday, i think i tried it earlier once but
somehow forgot about it. this little problem reminded me that i'm actually
using JFS at all ;)
> I agree. That doesn't add up. One possibility is that some application
> has a file (or some files) open that has been deleted. The file can't
> be freed until the last file descriptor is closed. I don't know what
> could be holding nearly 1 GB of files open.
indeed. *some* application should be to blame here. but: i watched on the
progress of /var filling up for a few days now, but did not keep track of
the exact numbers. until yesterday, when the "free space" was about 10MB
or so, some programs returned "no space left on device" -- until today!
i noticed some daemons (mysql, syslog, dhcpd,...) killed themselves
because of that, and (without rebooting or unmounting) /var seems to be
just fine now:
$ find /var -maxdepth 1 -mindepth 1 -type d -exec du -sh '{}' \;
2.8M /var/backups
31M /var/cache
283M /var/lib
137M /var/local
20K /var/lock
619M /var/log
308K /var/mail
72K /var/opt
520K /var/run
27M /var/spool
6.5M /var/tmp
8.0M /var/www
(about 1114MB)
$ df -h /var/
Filesystem Size Used Avail Use% Mounted on
/dev/sdb2 2.0G 1.2G 865M 57% /var
...this is really ok.
> If you could unmount /var or remount it read-only, running 'fsck -n'
> against the partition would tell you if the block maps are messed up.
> Unfortunately, it's usually impossible to do this to /var without going
> to single-user mode, or booting off some other media.
yes, single-user mode / rebooting is no problem, i'm not providing HA
services ;)
> Rebooting may free something if it is a process with large open files
> that are no longer linked to a directory.
i am suspecting mysql, perhaps a table was not closed properly or so. but
i can't tell the real culprit any more. would "lsof" have shown me the
"real" SIZE of an open file? or would it be tricked too?
thank you for your advice anyway, i'll keep that in mind next time.
Christian.
- --
BOFH excuse #88:
Boss' kid fucked up the machine
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCFhKiC/PVm5+NVoYRAuR8AKCkMpTJpp0687PAW++wtLwlnyDXSgCeIJgN
TnZki0G87/DUynW+Vljs3YQ=
=gOEC
-----END PGP SIGNATURE-----
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Jfs-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfs-discussion