Subject: Re: lfs_cleanerd
To: None <current-users@netbsd.org>
From: Mihai Chelaru <mihai@romtelenet.org>
List: current-users
Date: 01/15/2002 11:26:01
This works, but

bash-2.05# /usr/libexec/lfs_cleanerd -bd -n 4 /usr
lfs_cleanerd[27777]: Cleaner starting on filesystem /usr
lfs_cleanerd[27777]: Cleaner Running  at Tue Jan 15 11:23:39 2002
 (13 of 27 segments available, avail = 13630644, bfree = 26653107)
lfs_cleanerd[27777]: Current usage: maxrss=0, idrss=0, isrss=0
lfs_cleanerd[27777]: Cleaner Running  at Tue Jan 15 11:23:40 2002
 (13 of 27 segments available, avail = 13630644, bfree = 26653107)
lfs_cleanerd[27777]: Current usage: maxrss=0, idrss=0, isrss=0
lfs_cleanerd[27777]: Cleaner Running  at Tue Jan 15 11:23:40 2002
 (13 of 27 segments available, avail = 13630644, bfree = 26653107)
lfs_cleanerd[27777]: Current usage: maxrss=0, idrss=0, isrss=0
lfs_cleanerd[27777]: Cleaner Running  at Tue Jan 15 11:23:40 2002
 (13 of 27 segments available, avail = 13630644, bfree = 26653107)
lfs_cleanerd[27777]: Current usage: maxrss=0, idrss=0, isrss=0
lfs_cleanerd[27777]: Cleaner Running  at Tue Jan 15 11:23:40 2002
 (13 of 27 segments available, avail = 13630644, bfree = 26653107)
lfs_cleanerd[27777]: Current usage: maxrss=0, idrss=0, isrss=0
lfs_cleanerd[27777]: Cleaner Running  at Tue Jan 15 11:23:40 2002
 (13 of 27 segments available, avail = 13630644, bfree = 26653107)
lfs_cleanerd[27777]: Current usage: maxrss=0, idrss=0, isrss=0
lfs_cleanerd[27777]: Cleaner Running  at Tue Jan 15 11:23:40 2002
 (13 of 27 segments available, avail = 13630644, bfree = 26653107)
lfs_cleanerd[27777]: Current usage: maxrss=0, idrss=0, isrss=0
lfs_cleanerd[27777]: Cleaner Running  at Tue Jan 15 11:23:40 2002
 (13 of 27 segments available, avail = 13630644, bfree = 26653107)
lfs_cleanerd[27777]: Current usage: maxrss=0, idrss=0, isrss=0
lfs_cleanerd[27777]: Cleaner Running  at Tue Jan 15 11:23:40 2002
 (13 of 27 segments available, avail = 13630644, bfree = 26653107)
lfs_cleanerd[27777]: Current usage: maxrss=0, idrss=0, isrss=0
lfs_cleanerd[27777]: Cleaner Running  at Tue Jan 15 11:23:40 2002
 (13 of 27 segments available, avail = 13630644, bfree = 26653107)
lfs_cleanerd[27777]: Current usage: maxrss=0, idrss=0, isrss=0
lfs_cleanerd[27777]: Cleaner Running  at Tue Jan 15 11:23:40 2002
 (13 of 27 segments available, avail = 13630644, bfree = 26653107)
lfs_cleanerd[27777]: Current usage: maxrss=0, idrss=0, isrss=0
^Clfs_cleanerd[27777]: lfs_cleanerd:    blocks_read    0
                blocks_written 0
                segs_cleaned   0
                segs_empty     0
                seg_error      0
lfs_cleanerd[27777]:            util_tot        0.00
                util_sos        0.00
lfs_cleanerd[27777]:            avg util: 0.00 std dev:  0.000000
-----------------------------------------------
The statistics remain the same even after running for 30 minutes.

Cheers,
Mihai

Mihai Chelaru wrote:

> Check this out:
>
> bash-2.05# /usr/libexec/lfs_cleanerd -d /usr
> lfs_cleanerd[27744]: Cleaner starting on filesystem /usr
> lfs_cleanerd[27744]: Cleaner Running  at Tue Jan 15 10:55:38 2002
>  (13 of 27 segments available, avail = 13630644, bfree = 26653107)
> lfs_cleanerd[27744]: Cleaning segment 0 (of 1 choices)
> lfs_cleanerd[27744]: adding segment 0: contains 207101952 bytes
> lfs_cleanerd[27744]: mmap_segment: malloc failed: Cannot allocate memory
>
> Segmentation fault (core dumped)
>
> Cheers,
> Mihai