Date: Tue, 16 Apr 1996 10:55:56 -0400 (EDT) From: Charles Owens <owensc@enc.edu> To: Guy Helmer <ghelmer@alpha.dsu.edu> Cc: questions list FreeBSD <freebsd-questions@freebsd.org> Subject: Re: HELP!: page fault (revisited) Message-ID: <Pine.FBS.3.92.960416105342.18062C-100000@dingo.enc.edu> In-Reply-To: <Pine.OSF.3.92.960416085311.24505A-100000@alpha.dsu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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 -------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.FBS.3.92.960416105342.18062C-100000>