Georgios Koloventzos wrote (Thursday, July 05, 2012 6:25 PM): > On Thursday, July 5, 2012 6:13:04 PM UTC+2, berny wrote: > > Georgios Koloventzos wrote (Thursday, July 05, 2012 5:20 PM):
> > > We have since some years a Trac installation, but recently we > > > encountered a problem with the installation. > > > We are using 0.11.7 version. > > > We are hosting a large amount of trac instances (more than 1000). > > > > > > The problem is that the apache is opening the log file of every > > > instance (environment) and it does not close them. This leads to > > > reach the maximum open files limit. > > > For resolving the error we have to restart apache every now and then. > > You didn't tell any numbers and on what operating system you are > > working with. Are you sure it's the trac.log? Did you check with > > lsof? How many files are open? Doesn't raising the limit help? > > E.g. doubling with > > $ ulimit -n $(( $(ulimit -n) * 2 )) > We are using red hat 5/6 with an apache 2.2.3 . > The trac.log files that are open are around 13000 per > backend. > > We have raised the limit but this will eventually come back when > more trac instances are created. > > More over having some much open files loads apache and eventually is killed > bu the oom deamon. Ouch, that sounds like a bug. Did you try 0.12.x? Have a nice day, Berny -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
