On Wednesday, June 29, 2016 at 4:13:36 AM UTC-7, Jun Omae wrote: > > Hi, Ryan. > > <[email protected]> wrote on 2016-Jun-29 at 11:22 AM: > > This is a Trac with Nginx and fcgi configuration on Debian 8.5, which > has always been problematic but has become very unstable over the past few > days. I searched existing issues (1), but am currently out of ideas. > Excerpt from log below, along with configuration. > > > > Unfortunately I don't know Nginx or fcgi very well. I'm considering > moving to Apache with mod_wsgi. Any hints about what the problem might be > would be appreciated. > > > > - Ryan > > After [14419], we use PIPEs for stdin/stdout/stderr of Popen. I guess > those pipes leak and EMFILE is raised due to rendering many git revisions > in tickets' description in custom query. However, the pipes are closed by > gc.collect() each request. > > Therefore, I think this issue wouldn't be solved by moving to mod_wsgi. > > I attach patch which closes the pipes. Could you please try it? > > -- > Jun Omae <[email protected]> (大前 潤) >
Thanks for the patch! I'll apply it today and report back in a few days. - Ryan -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
