On Thursday 06 April 2006 19:01, Michael S. Zick wrote: > On Thu April 6 2006 11:20, Chuck wrote: > Ch> On Thursday 06 April 2006 11:56 am, Xavier Montagutelli wrote: > Ch> > On Thursday 06 April 2006 16:46, Chuck wrote: > Ch> > > this one is weird. could i be reaching some kind of max on a gentoo > Ch> > > platform? > Ch> > > > Ch> > > we are running approx 40 vserver guests on a 4 processor dell. our > email Ch> > > server is running on the 'host' side. > Ch> > > > Ch> > > my tip on this came from our email list server. the log stated: > Ch> > > > Ch> > > 6 10:20:19 error: Still trying to open connection Too many open > files Ch> > > > > A single, multi-thread application?
I forget my UN*X basis : could it simply be related to "ulimit -n", the maximum number of open files per process ? > > There is another limit built into the kernel for applications that use > 'select' to get notifications of connection attempts to file descriptors. > > That limit is the hardcoded size of the file descriptor select structure > (in bits). Not sure off-hand how big it is, I think either 64 or 128 bits > (open descriptors monitored). > > You might have to run multiple instances of the e-mail application if this > is the cause of the error message. > > Mike > > Ch> > > and this is in the log many times. not knowing if this is a program > or Ch> > > system error causing this i am taking the safe route while i > wait for the Ch> > > program support people to let me know... > Ch> > > > Ch> > > is there a setting somewhere in the vserver system, i assume on the > host, Ch> > > that the number of open files can be set? i dont even know > what the stock Ch> > > max is.. > Ch> > > Ch> > Perhaps /proc/sys/fs/file-max ? > Ch> > > Ch> > Ch> maybe max files is not the issue. : > Ch> > Ch> # cat /proc/sys/fs/file-max > Ch> 309847 > Ch> > Ch> i would think 309k open files would be sufficient. > Ch> > Ch> will see what the mailing list software vendor has to say.. > Ch> > Ch> > Just modify the value by echoing the new value > Ch> > > Ch> > or use sysctl -w fs.file-max= and modify /etc/sysctl.conf > Ch> > > Ch> > -- > Ch> > Xavier Montagutelli Tel : +33 (0)5 55 45 77 20 > Ch> > Service Commun Informatique Fax : +33 (0)5 55 45 77 60 > Ch> > Universite de Limoges > Ch> > 123, avenue Albert Thomas > Ch> > 87060 Limoges cedex > Ch> > _______________________________________________ > Ch> > Vserver mailing list > Ch> > [email protected] > Ch> > http://list.linux-vserver.org/mailman/listinfo/vserver > Ch> > > Ch> > _______________________________________________ > Vserver mailing list > [email protected] > http://list.linux-vserver.org/mailman/listinfo/vserver -- Xavier Montagutelli Tel : +33 (0)5 55 45 77 20 Service Commun Informatique Fax : +33 (0)5 55 45 77 60 Universite de Limoges 123, avenue Albert Thomas 87060 Limoges cedex _______________________________________________ Vserver mailing list [email protected] http://list.linux-vserver.org/mailman/listinfo/vserver
