On 2 May 1997, Christoph Lameter wrote: > Richard Zoni ([EMAIL PROTECTED]) wrote: > : Hello, > : > : we have a debian linux NIS server running on a 166Mhz Pentium with 64Mb, > : it serves a cluster of 20 debian linux boxes. > : We have very big maps (600 lines in passwd and 2 hundreds more in group) > : > : Our ypserv is consuming up to 90% CPU time, > : is it normal? > > I have experienced the same. Remove the + entry from the /etc/group files and > everything will be back to > normal. The /etc/group entries are not cached and each machine has to search > through all of them via the > NIS server to figure out to which groups a user belongs. The debian scheme > adds a group for each users > making the problem much more acute with debian. > > We have solved it by copying the /etc/group to all the machines with a cron > job at night.
Thank you for the suggestion but I think that is not very useful to rdist file like group|passwd when there is a NIS server. It seems that the only solution is to remove all single-user groups from the NIS group map. Ex: zoni:*:123:zoni The only problem is that without the nis map, users get only the numeric group... I wonder if it is correct to redifine ls as ls() { /bin/ls --color=auto --no-group $*} to have a classic ls behaviour. ciao, ricky Richard Zoni !e-mail [EMAIL PROTECTED] Via Emilia Ponente 28/3!homepage http://www.cs.unibo.it/~zoni 40133 Bologna(BO) ITALY!phone/fax ++39 51 380 327 *Public Key available in the homepage or via finger* -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .