From: wupost!darwin.sura.net!jvnc.net!yale.edu!think.com!sdd.hp.com!apollo.hp.com!netnews@gumby.wisc.edu  (Joe Pato)
Subject: Re: Registry Woes -- Registry is full !?
Organization: Hewlett-Packard Company, Chelmsford, MA
Distribution: fj
Date: Tue, 29 Sep 1992 21:40:21 GMT
Return-Path: <apollo-list-errors@srvr1.engin.umich.edu>

In article <1aahgaINN58g@agate.berkeley.edu>, kmorgan@ocf.berkeley.edu (Keir Morgan) writes:
|> Hi all!
|> 
|>    The OCF has seem to run into an interesting problem -- our registry won't
|> accept any more person or account entries! Currently we are at 4742 account
|> entries and if I try to add any person or account entries I get the following
|> error:
|> 
  . . .

|>    Also, as you might expect, after the store fails all the glb registry
|> objects disappear (checked by /etc/ncs/lb_admin and /etc/ncs/drm_admin).
|> This problem happens regardless of whether on not I run a slave registry.
|> I've tried reinitializing the glbd data base (/etc/ncs/glbd -create -first)
|> , but this still results in the same problem when I try to add an entry. I
|> even tried changing the family to dds to see if that might do something, but
|> no dice. I've also recreated the registry from a backup, but again this was
|> no help. Is this a known problem? Oh, BTW typhoon is a DN4500 with 24MB ram,
|> so I'm fairly sure this is not the source of my problems. 
|> 
|> Oh, a few other things:
|> 
|>    1) Why does renice say that rgyd is niced -10, while ps says it is niced
|>       +11 ? What does ps know that renice does not or vice versa?
|> 
|>    2) What does the "-init_buf" option on rgyd do?
|> 
|> Cheers All!
|> 
|> Keir Morgan                 |  U.C. Berkeley's Open Computing Facility
|> kmorgan@ocf.berkeley.edu    | Unix accounts for UCB students -- if the
|> kmorgan@UCBOCF.BITNET       |  registry would add accounts, that is!
|> 
|>       

No, the registry is not full.  There exist registries with more than
10,000 entries (and there is no hard upper bound on the number of entries
in the database).

It appears that the registry server is failing in a subsequent or 
simultaneous invocation of getpwent().  Do all of your registry servers
die (or is the master the only instance?)  When you talk about replication
you mention the glbd - but that is the location broker not the registry.
Are you running other instances of the registry?

I would suspect a data corruption problem in the master registry site.  It
would be very useful to know if a slave registry suffers from the same problem.
Of course if the replica were created from an already damaged master it too
would have the same data corruption.

The -init_buf option to the registry is not documented, but it controls
the buffer size used for initializing slave replicas.

You should contact customer service with your problem.  You may need to
run a salvager over your database to fix the problem (to date we have only
needed to salvage databases at two sites - where the databases had been
damaged by faulty hardware)

-- 
                    -- Joe Pato
                       Distributed Object Computing Program / East
                       Hewlett-Packard Company
                       pato@apollo.hp.com
Newsgroups: fj.mail-lists.apollo