[Clas_offline] caldb connection errors

Paul Mattione pmatt at jlab.org
Wed Sep 2 11:49:48 EDT 2009


Has anyone figured out what is causing the connection errors to the  
database?  I keep getting errors saying it can't create new threads.   
Is it possible that there is a leak somewhere?  Perhaps someone is  
creating connections to the server and isn't closing/deleting them  
when they're finished.  Looking at the auger graphs, there are a ton  
of a1c and gsim jobs running; is it possible that there is a leak in  
either of those?

calib_connect: RunIndex_table = "calib_user.RunIndexg13"
calib_connect: using server=clasdb.jlab.org (from CLAS_CALDB_HOST  
environment variable)
calib_connect: using latest constants
calib_connect: connecting as user=clasuser
calib_connect: connection error. Can't create a new thread (errno 11).  
If you are not out of available memory, you can consult the manual for  
a possible OS-dependent bug
calib_get_float SQL_ERR: MySQL server has gone away
calib_get_float SQL_ERR: query error SELECT systemId FROM System WHERE  
System.systemName='GEOMETRY'

  - Paul


More information about the Clas_offline mailing list