9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Broken my venti
@ 2007-10-22  1:11 Adrian Tritschler
  2007-10-22 21:11 ` Russ Cox
  0 siblings, 1 reply; 8+ messages in thread
From: Adrian Tritschler @ 2007-10-22  1:11 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Owing to clumsiness I killed an xterminal while a p9p venti was running
in it and being written to, now when I attempt to start the venti I get
the following errors:

% venti/venti -d -h tcp!localhost!1090 -a tcp!localhost!17036
2007/1022 10:22:15 venti: conf...httpd
tcp!localhost!1090...init...icache 0 bytes = 1,000 entries; 4 scache
sync...arena arenas60: start=3217408000 fix=1 flush=0
267860100->268330241 222469->222753 189738->190021 936320221->937469311

It never starts listening.

Is this recoverable, if so, how would I go about it?

	Adrian


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] Broken my venti
  2007-10-22  1:11 [9fans] Broken my venti Adrian Tritschler
@ 2007-10-22 21:11 ` Russ Cox
  2007-10-23  6:33   ` Adrian Tritschler
  0 siblings, 1 reply; 8+ messages in thread
From: Russ Cox @ 2007-10-22 21:11 UTC (permalink / raw)
  To: 9fans

> Owing to clumsiness I killed an xterminal while a p9p venti was running
> in it and being written to, now when I attempt to start the venti I get
> the following errors:
> 
> % venti/venti -d -h tcp!localhost!1090 -a tcp!localhost!17036
> 2007/1022 10:22:15 venti: conf...httpd
> tcp!localhost!1090...init...icache 0 bytes = 1,000 entries; 4 scache
> sync...arena arenas60: start=3217408000 fix=1 flush=0
> 267860100->268330241 222469->222753 189738->190021 936320221->937469311
> 
> It never starts listening.
> 
> Is this recoverable, if so, how would I go about it?

If you are not running the latest venti code, do so.
(The binary from /n/sources/plan9/386/bin/venti
is the latest code, dated October 3.)

If you are running the latest venti, please send me
the output of 

	http://backup.pdos.csail.mit.edu/proc/all

when venti has hung.

I suspect you are running an old venti that is suffering
from an already-fixed bug.

Russ


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] Broken my venti
  2007-10-22 21:11 ` Russ Cox
@ 2007-10-23  6:33   ` Adrian Tritschler
  2007-10-25 16:11     ` Russ Cox
  0 siblings, 1 reply; 8+ messages in thread
From: Adrian Tritschler @ 2007-10-23  6:33 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Russ Cox wrote:
>> Owing to clumsiness I killed an xterminal while a p9p venti was running
>> in it and being written to, now when I attempt to start the venti I get
>> the following errors:
>>
>> % venti/venti -d -h tcp!localhost!1090 -a tcp!localhost!17036
>> 2007/1022 10:22:15 venti: conf...httpd
>> tcp!localhost!1090...init...icache 0 bytes = 1,000 entries; 4 scache
>> sync...arena arenas60: start=3217408000 fix=1 flush=0
>> 267860100->268330241 222469->222753 189738->190021 936320221->937469311
>>
>> It never starts listening.
>>
>> Is this recoverable, if so, how would I go about it?
> 
> If you are not running the latest venti code, do so.
> (The binary from /n/sources/plan9/386/bin/venti
> is the latest code, dated October 3.)

The venti is hosted on plan9ports on ubuntu linux, not plan9.

My p9p installation does a cvs update every night, followed by mk
install from $PLAN9/src, just to be sure I've re-ran the ./INSTALL to
rebuild it all from scratch -- still hangs.

> If you are running the latest venti, please send me
> the output of 
> 
> 	http://backup.pdos.csail.mit.edu/proc/all

I'll try again later, but for the last eight hours I've been unable to
get to http://backup.pdos.csail.mit.edu

  "Connection Failed
  The system returned: (110) Connection timed out"

> when venti has hung.
> 
> I suspect you are running an old venti that is suffering
> from an already-fixed bug.
> 
> Russ

thanks for your help,

	Adrian


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] Broken my venti
  2007-10-23  6:33   ` Adrian Tritschler
@ 2007-10-25 16:11     ` Russ Cox
  2007-10-26  0:40       ` Adrian Tritschler
  0 siblings, 1 reply; 8+ messages in thread
From: Russ Cox @ 2007-10-25 16:11 UTC (permalink / raw)
  To: 9fans

>> If you are running the latest venti, please send me
>> the output of 
>> 
>> 	http://backup.pdos.csail.mit.edu/proc/all
> 
> I'll try again later, but for the last eight hours I've been unable to
> get to http://backup.pdos.csail.mit.edu

doh!  i cut and paste badly.

that should have been http://localhost:1090/proc/all

i.e., your venti server, not mine.  ;-)

but if you're running the p9p version then 
it doesn't have /proc/all anyway.

russ


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] Broken my venti
  2007-10-25 16:11     ` Russ Cox
@ 2007-10-26  0:40       ` Adrian Tritschler
  2007-10-29 18:50         ` Russ Cox
  0 siblings, 1 reply; 8+ messages in thread
From: Adrian Tritschler @ 2007-10-26  0:40 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Russ Cox wrote:
>>> If you are running the latest venti, please send me
>>> the output of 
>>>
>>> 	http://backup.pdos.csail.mit.edu/proc/all
>> I'll try again later, but for the last eight hours I've been unable to
>> get to http://backup.pdos.csail.mit.edu
> 
> doh!  i cut and paste badly.
> 
> that should have been http://localhost:1090/proc/all
> 
> i.e., your venti server, not mine.  ;-)

Ah, yes of course now it makes sense. Um oops.  Not surprising I
couldn't see what was going on in there.  I thought you'd made a script
available for me to download that would dig into the running venti.

> but if you're running the p9p version then 
> it doesn't have /proc/all anyway.

venti is responding on the http port, but not on the venti port (17036
in this case)

% hget http://127.1:1090/storage
index=main
total arenas=16 active=7
total space=8,576,958,464 used=3,490,155,341
clumps=1,373,162 compressed clumps=1,031,454 data=7,555,433,680
compressed data=3,403,646,135

I've copied all the data out of the arenas into another venti with
wrarena[1] and can then run venti serving that data, so there is no real
urgency in fixing it on *this* system, am happy to dig further if you wish.

[1] No errors came from venti/wrarena, and the plan9 host that was
booting from the old p9p venti is now running from the new p9p one.

> russ
	Adrian


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] Broken my venti
  2007-10-26  0:40       ` Adrian Tritschler
@ 2007-10-29 18:50         ` Russ Cox
  2007-10-29 22:26           ` Adrian Tritschler
  2007-10-30  9:12           ` johnny
  0 siblings, 2 replies; 8+ messages in thread
From: Russ Cox @ 2007-10-29 18:50 UTC (permalink / raw)
  To: 9fans

> I've copied all the data out of the arenas into another venti with
> wrarena[1] and can then run venti serving that data, so there is no real
> urgency in fixing it on *this* system, am happy to dig further if you wish.
> 
> [1] No errors came from venti/wrarena, and the plan9 host that was
> booting from the old p9p venti is now running from the new p9p one.

I've pushed the sync change from Plan 9 venti into plan9ports.
If you build a new venti binary it should start up just fine on
your system that was wedging before.

Russ


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] Broken my venti
  2007-10-29 18:50         ` Russ Cox
@ 2007-10-29 22:26           ` Adrian Tritschler
  2007-10-30  9:12           ` johnny
  1 sibling, 0 replies; 8+ messages in thread
From: Adrian Tritschler @ 2007-10-29 22:26 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 988 bytes --]

Russ Cox wrote:
>> I've copied all the data out of the arenas into another venti with
>> wrarena[1] and can then run venti serving that data, so there is no real
>> urgency in fixing it on *this* system, am happy to dig further if you wish.
>>
>> [1] No errors came from venti/wrarena, and the plan9 host that was
>> booting from the old p9p venti is now running from the new p9p one.
> 
> I've pushed the sync change from Plan 9 venti into plan9ports.
> If you build a new venti binary it should start up just fine on
> your system that was wedging before.

And indeed it does.

2007/1030 09:22:45 venti: conf...httpd
tcp!localhost!1090...init...icache 0 bytes = 1,000 entries; 4 scache
sync...arena arenas60: fix=1 flush=0 267860100->268330241 222469->222753
189738->190021 936320221->937469311
arena arenas60: header is out-of-date
2007/1030 09:22:46 arenas60: indexing 1811 clumps...
announce tcp!localhost!17036...serving.

> Russ

Many thanks,
	Adrian



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] Broken my venti
  2007-10-29 18:50         ` Russ Cox
  2007-10-29 22:26           ` Adrian Tritschler
@ 2007-10-30  9:12           ` johnny
  1 sibling, 0 replies; 8+ messages in thread
From: johnny @ 2007-10-30  9:12 UTC (permalink / raw)
  To: 9fans

Thanks!
I know this works, as I had sync problem with venti on p9p, did a cvs up and now it works well.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-10-30  9:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-22  1:11 [9fans] Broken my venti Adrian Tritschler
2007-10-22 21:11 ` Russ Cox
2007-10-23  6:33   ` Adrian Tritschler
2007-10-25 16:11     ` Russ Cox
2007-10-26  0:40       ` Adrian Tritschler
2007-10-29 18:50         ` Russ Cox
2007-10-29 22:26           ` Adrian Tritschler
2007-10-30  9:12           ` johnny

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).