From owner-freebsd-questions Tue Apr 16 07:52:59 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA17156 for questions-outgoing; Tue, 16 Apr 1996 07:52:59 -0700 (PDT) Received: from itsdsv1.enc.edu (itsdsv1.enc.edu [199.93.252.241]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id HAA17151 for ; Tue, 16 Apr 1996 07:52:56 -0700 (PDT) Received: from dingo.enc.edu (dingo.enc.edu [199.93.252.229]) by itsdsv1.enc.edu (8.6.12/8.6.9) with SMTP id KAA12145; Tue, 16 Apr 1996 10:51:29 -0400 Date: Tue, 16 Apr 1996 10:55:56 -0400 (EDT) From: Charles Owens To: Guy Helmer cc: questions list FreeBSD Subject: Re: HELP!: page fault (revisited) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 16 Apr 1996, Guy Helmer wrote: > On Mon, 15 Apr 1996, Charles Owens wrote: > > > Folks: > > > > I'm still having trouble with page faults, and it seems to occur when I > > create users. > > > > Some more background: > > I set up a msqld database to contain user info. User's fill in a Web form > > account application that dumps into the database. An operator can then > > pull up the application data (using a different Web interface) and process > > it if desired. The whole thing is built using Apache, mSQL and perl > > scripts. (The mSQL database engine itself is running on a separate > > FreeBSD box which doesn't ever crash.) The actual unix account creation > > is handled by a hacked version of the stock adduser perl script. > > > > The modified adduser (I call it ypadduser) works with NIS and the quota > > system. This is what it does: > > Add new user entry to /var/yp/master.passwd > > from /var/yp - make -DNOPUSH > > create new user directory, etc. > > quotaoff -a > > edquota -Pprotouser -u newuser > > quoton -a > > > > After last user is created: > > from /var/yp - make (pushing to NIS sub servers) > > quotaoff -a > > quotacheck -a > > quoton -a > > I don't understand the need to do "quotaoff -a" before the edquota and > "quotaon -a" after the edquota when adding a user, nor anything with > quotas after the NIS make. As someone else stated, the quota code is > shaky; perhaps turning quotas off and on triggers some bugs. I started doing this based on a recommendation that someone (I believe it was Terry Lambert) made a while back. Maybe I should try not turning it on and off... Thanks, --- ------------------------------------------------------------------------- Charles Owens Email: owensc@enc.edu "I read somewhere to learn is to Information Technology Services remember... and I've learned that Eastern Nazarene College we've all forgot..." - King's X -------------------------------------------------------------------------