Re: [Brahms-dev-l] connection to the database

From: Hironori Ito <hito@rcf.rhic.bnl.gov>
Date: Thu Apr 07 2005 - 15:26:39 EDT
It is fixed. 

By the way, why our BRAT keeps connection to our database (BrahmsMain) 
for entire duration of a job.  It should only connect when it is needed 
and disconnect from the database.  (say after init method, it should 
disconnect???) 

Hiro


Hongyan Yang wrote:

> Hi,
>    anyone can explain what's happening here?
>   I used condor to submit some jobs, but I got the following database 
> connection error:
> ---------------------------------------------------------------------------------------------------------------------------------------------- 
>
> Error in <TMySQLServer::TMySQLServer>: connection to database 
> BrahmsGeom on brahms-db0.rcf.bnl.gov failed (error: Too many connections)
> Error in <BrRdbmDb::Connect>: User query couldn't connect to database 
> BrahmsGeom @ brahms-db0.rcf.bnl.gov
> Error in <BrRdbmMainDb::ConnectToDb>: couldn't connect to database 
> BrahmsGeom
> ---------------------------------------------------------------------------------------------------------------------------------------------- 
>
> It was said "Too many connections", but I can access the databases by 
> MySQL. By the way, it was working before the shutdown of RCF yesterday.
>
> Anyone has clue about this error?
>
> Thanks a lot for your attention.
>
> Hongyan
>
>
>
>
> _______________________________________________
> Brahms-dev-l mailing list
> Brahms-dev-l@lists.bnl.gov
> http://lists.bnl.gov/mailman/listinfo/brahms-dev-l



_______________________________________________
Brahms-dev-l mailing list
Brahms-dev-l@lists.bnl.gov
http://lists.bnl.gov/mailman/listinfo/brahms-dev-l
Received on Thu Apr 7 15:26:59 2005

This archive was generated by hypermail 2.1.8 : Thu Apr 07 2005 - 15:27:04 EDT