From: Koichi S. <koi...@gm...> - 2013-07-11 14:59:37
|
Thanks for pointing out. This will be committed both in REL1_1_STABLE and master. ---------- Koichi Suzuki 2013/7/11 Himpich, Stefan <Ste...@se...> > Hi there, > > while testing 1.1-beta, I ran into a lot of gtm crashes, "too many open > files". > > I tracked it down to a missing fclose in gtm_backup.c, see diff / patch > below. > > Greetings, > Stefan Himpich > > > > ------------------------------------------------------------------------------------- > --- postgres-xc/src/gtm/main/gtm_backup.c.orig 2013-07-11 > 16:16:24.751750009 +0200 > +++ postgres-xc/src/gtm/main/gtm_backup.c 2013-07-11 > 16:11:48.707056211 +0200 > @@ -27,6 +27,7 @@ > if (!gtm_need_bkup) > { > GTM_RWLockRelease(>m_bkup_lock); > + fclose(f); > return; > } > gtm_need_bkup = FALSE; > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > Postgres-xc-developers mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers > |