Matt Riechers wrote: > > Patrick Goldbronn - SFME/LGLS wrote: > > > > When I do a script that ask for a list of cvs file to do an action like > > this : > > > > for f in "$files_list" > > do > > cvs log $f > > done > > > When I see in log file, I find : > > inetd[13407]: cvspserver/tcp server failing (looping or being flooded), > > Each time you run a cvs command, it opens a connection to the server, and the > number of times you're calling cvs is over the server's connection limit. Some > solutions/workarounds:
Right, but this connections are not in parallel, so there is one connection at one time (I suppose ! Perhaps shell run in parallel ?). What is this server's connection limit ? Could we increase it ? > > 1. Avoid putting cvs calls in loops. Instead, do something like 'cvs log > $files_list' or 'find files |xargs cvs log' no because I want information for one file and I make something if it has some information > 2. run the script on the cvs server machine (local mode) I can do that :-), but I prefer not if possible. > > > I suppose cvs server can support many clients requests at same time but > > I'm not sure ! > > It can, but it depends on inetd to manage those requests, so it also depends on > its limitations. Well I have found an option in inetd man page : nowait."max" where max is the max numbre of connection in one minutes (default 40) I have put in my inetd.conf "nowait.120" and all work fine !!!! Thank you very much -- ##################################### # Patrick GOLDBRONN # # CEA - DEN/DM2S/SFME/LGLS # # CE-Saclay, B�timent 460 # # 91191 GIF/YVETTE CEDEX (FRANCE) # # # # T�l : 01 69 08 73 55 # # Fax : 01 69 08 96 96 # ##################################### _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
