* [9fans] fossil
@ 2009-06-04 9:29 Charles Forsyth
2009-06-04 19:25 ` erik quanstrom
0 siblings, 1 reply; 11+ messages in thread
From: Charles Forsyth @ 2009-06-04 9:29 UTC (permalink / raw)
To: 9fans
anyone else ever seen things like this from fossil? it seems a bit wayward...
# on the fossil console, after `disk full' returned in errors:
main: df
main: 10,046,783,488 used + 35,180,756,598,784 free = 6,431,293,440 (156% used)
main: snapclean 3600
main: df
main: 3,000,909,824 used + 3,430,383,616 free = 6,431,293,440 (46% used)
the server goes into `disk full' state. i think one underlying problem
is that i haven't applied the change to remove floating-point calculations
from fossil's timer routine, and thus at least sometimes it can never quite
get to the right time to do the snapclean itself. even so, i've only seen
this effect since i updated fossil in january after several years.
i've had periodic `disk full' problems since then.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [9fans] fossil
2009-06-04 9:29 [9fans] fossil Charles Forsyth
@ 2009-06-04 19:25 ` erik quanstrom
0 siblings, 0 replies; 11+ messages in thread
From: erik quanstrom @ 2009-06-04 19:25 UTC (permalink / raw)
To: 9fans
On Thu Jun 4 05:11:02 EDT 2009, forsyth@terzarima.net wrote:
> anyone else ever seen things like this from fossil? it seems a bit wayward...
>
> # on the fossil console, after `disk full' returned in errors:
>
> main: df
> main: 10,046,783,488 used + 35,180,756,598,784 free = 6,431,293,440 (156% used)
> main: snapclean 3600
> main: df
> main: 3,000,909,824 used + 3,430,383,616 free = 6,431,293,440 (46% used)
i suspect the free should be printed as a signed quanity. ☺
the management of fl->nused seems to permit a hole
(which isn't new) that could prevent fl->nused from being
decremented while still removing stuff from the fl in doRemoveLink.
perhaps i've misread the code.
it would be interesting to see what the difference between
the output of df would be if cacheCountUsed could be
asked to return both the cached fl->nused and also compute
it as it does if the epochs don't match.
it would be even more interesting if they differ, if resetting
fl->nused with the newly computed value just does the right
thing.
- erik
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [9fans] fossil
2024-05-17 16:16 [9fans] Interoperating between 9legacy and 9front Noam Preil
@ 2024-05-18 19:08 ` Richard Miller
0 siblings, 0 replies; 11+ messages in thread
From: Richard Miller @ 2024-05-18 19:08 UTC (permalink / raw)
To: 9fans
Noam Preil:
> I have a
> branch at https://git.sr.ht/~pixelherodev/plan9 which has fossil
> integrated.
I took the liberty of having a look at the fossil source in that repo.
It seems to be missing the fossil-time-backward patch. That's on the
current 9legacy distribution ISO (built 14 April 2023), and probably
on several previous ones as it went into the 9legacy git in April 2022.
It's a two-line patch which fixes a bug where the periodic sync process
can stop working if the system clock goes backwards. The consequences
of that are failure to update on-disk file data, and exhaustion of the
in-memory cache buffers which results in deadlock. From memory, I think
it could also make the sync process go into a 100% cpu loop which might
look like deadlock.
If you apply that patch, I hope that you will find some of the problems
you've been observing will be cleared up.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tbbcec90e3dd997e1-M2a3d10ef36b09cf392eda1c2
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [9fans] fossil
2005-01-03 18:37 Bruce Ellis
2005-01-03 18:51 ` Russ Cox
@ 2005-01-04 17:42 ` Russ Cox
1 sibling, 0 replies; 11+ messages in thread
From: Russ Cox @ 2005-01-04 17:42 UTC (permalink / raw)
To: Bruce Ellis, Fans of the OS Plan 9 from Bell Labs
> ok. it's happened again. i have a buggered fossil on a machine
> that uses fossil as its root. (corrupted superblock). i have no idea
> how it happened. i guess the obvious is to rebuild the machine
> with an extra disk and cd-rom and boot from that and poke around.
> any chances of retrieving the significant work i've done since the
> last venti snap?
brucee and i figured this out. there was a bug in the epoch
command. if you ran epoch 0 or even epoch foo (or epoch
help!) then epoch would set the low epoch to 0, resulting in
an invalid super block.
the bug is fixed on sources. until you rebuild fossil and your
kernels, be careful what you say to "epoch".
russ
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [9fans] fossil
2005-01-03 18:37 Bruce Ellis
@ 2005-01-03 18:51 ` Russ Cox
2005-01-04 17:42 ` Russ Cox
1 sibling, 0 replies; 11+ messages in thread
From: Russ Cox @ 2005-01-03 18:51 UTC (permalink / raw)
To: Bruce Ellis, Fans of the OS Plan 9 from Bell Labs
if you've been doing regular non-venti snaps,
the super-block actually has very little important data.
the really important part is the root blocks. every new
file system snapshot has a new root block, and a root
block is enough to get the rest of the system.
On Tue, 4 Jan 2005 05:37:45 +1100, Bruce Ellis <bruce.ellis@gmail.com> wrote:
> ok. it's happened again. i have a buggered fossil on a machine
> that uses fossil as its root. (corrupted superblock). i have no idea
> how it happened. i guess the obvious is to rebuild the machine
> with an extra disk and cd-rom and boot from that and poke around.
> any chances of retrieving the significant work i've done since the
> last venti snap?
>
> brucee
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* [9fans] fossil
@ 2005-01-03 18:37 Bruce Ellis
2005-01-03 18:51 ` Russ Cox
2005-01-04 17:42 ` Russ Cox
0 siblings, 2 replies; 11+ messages in thread
From: Bruce Ellis @ 2005-01-03 18:37 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
ok. it's happened again. i have a buggered fossil on a machine
that uses fossil as its root. (corrupted superblock). i have no idea
how it happened. i guess the obvious is to rebuild the machine
with an extra disk and cd-rom and boot from that and poke around.
any chances of retrieving the significant work i've done since the
last venti snap?
brucee
^ permalink raw reply [flat|nested] 11+ messages in thread
* [9fans] fossil
@ 2004-06-12 3:12 Russ Cox
0 siblings, 0 replies; 11+ messages in thread
From: Russ Cox @ 2004-06-12 3:12 UTC (permalink / raw)
To: 9fans
there's a new fossil on sources that should
fix the leaks people have been encountering.
as i mentioned in the other thread, the
console "check" command should be used
in place of flchk. in particular, to fix your leaks
you can do
fsys main
check fix pdir
(of course, snap -a and wait for the vac first,
just in case.) the pdir is optional, but it is good
for seeing that something is going on.
russ
^ permalink raw reply [flat|nested] 11+ messages in thread
* [9fans] fossil
@ 2004-03-20 2:27 David Presotto
0 siblings, 0 replies; 11+ messages in thread
From: David Presotto @ 2004-03-20 2:27 UTC (permalink / raw)
To: 9fans
We fixed a pretty major security whole on Mar 11th.
Make sure you're up to date.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [9fans] fossil
2003-04-15 15:12 ` Russ Cox
@ 2003-04-15 21:00 ` Andrew
0 siblings, 0 replies; 11+ messages in thread
From: Andrew @ 2003-04-15 21:00 UTC (permalink / raw)
To: 9fans
I had read that, it seemed a little forbidding so i wanted to check if
there was an easier or better way around it first. Thanks.
Andrew
On Tue, Apr 15, 2003 at 11:12:45AM -0400, Russ Cox wrote:
> The wiki has instructions about making a standalone fossil boot kernel.
> It's not quite as simple as the current fs, but it's not too hard.
> I put a link to the "Setting up Fossil" page on the front page. Not sure
> why it wasn't there already.
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [9fans] fossil
2003-04-15 5:26 Andrew
@ 2003-04-15 15:12 ` Russ Cox
2003-04-15 21:00 ` Andrew
0 siblings, 1 reply; 11+ messages in thread
From: Russ Cox @ 2003-04-15 15:12 UTC (permalink / raw)
To: 9fans
The wiki has instructions about making a standalone fossil boot kernel.
It's not quite as simple as the current fs, but it's not too hard.
I put a link to the "Setting up Fossil" page on the front page. Not sure
why it wasn't there already.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [9fans] fossil
@ 2003-04-15 5:26 Andrew
2003-04-15 15:12 ` Russ Cox
0 siblings, 1 reply; 11+ messages in thread
From: Andrew @ 2003-04-15 5:26 UTC (permalink / raw)
To: 9fans
This has been nagging at me for a while. Currently my plan9 system has
the standard old fs server, and auth server and some terms. Everything
boots from floppies or small hard drives, then mounts its root from the
file server. I want to update to fossil, and do away with the old file
server. Is there an [easy] way to make the fossil server boot up on its
own in the same way fs does? Im just not really clear on how it all
fits together.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2024-05-18 19:08 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-04 9:29 [9fans] fossil Charles Forsyth
2009-06-04 19:25 ` erik quanstrom
-- strict thread matches above, loose matches on Subject: below --
2024-05-17 16:16 [9fans] Interoperating between 9legacy and 9front Noam Preil
2024-05-18 19:08 ` [9fans] fossil Richard Miller
2005-01-03 18:37 Bruce Ellis
2005-01-03 18:51 ` Russ Cox
2005-01-04 17:42 ` Russ Cox
2004-06-12 3:12 Russ Cox
2004-03-20 2:27 David Presotto
2003-04-15 5:26 Andrew
2003-04-15 15:12 ` Russ Cox
2003-04-15 21:00 ` Andrew
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).