View Issue Details

IDProjectCategoryView StatusLast Update
0000077Pgpool-IIGeneralpublic2015-09-17 15:31
Reporterdaniel.oliveira Assigned Tot-ishii  
PriorityurgentSeveritycrashReproducibilityalways
Status closedResolutionopen 
PlatformOracle Linux 64 bitsOS2.6.39-400.209.1.el6uek.x86_64OS Version6.4
Summary0000077: Hibernate lost connection with pgpool without persistence
DescriptionWhen hibernate does a search on the postgres database by using pgpool the system will always show this error menssage:

ERROR [STDERR] org.hibernate.exception.GenericJDBCException: could not execute query

Caused by: org.postgresql.util.PSQLException: ERROR: connection terminated due to client idle limit reached


The pgpool.conf is configurated with these parameters:
 - num_init_children = 50
 - max_pool = 4
 - child_life_time = 300
 - connection_life_time = 0

But the error still happenning before the 300 seconds timeout
TagsNo tags attached.

Activities

daniel.oliveira

2013-10-14 23:48

reporter  

logs.rar (13,825 bytes)

t-ishii

2013-10-15 12:18

developer   ~0000338

"connection terminated due to client idle limit reached" is not related to child_life_time nor connection_life_time. You need to tweak client_idle_limit. See the manual for more details.

daniel.oliveira

2013-10-15 21:09

reporter   ~0000340

Last edited: 2013-10-15 21:38

logs.rar was attached pgpool.conf and it the parameter client_idle_limit is 300

I'm using jboss-4.2.2

t-ishii

2013-10-15 23:36

developer   ~0000341

Why don't you set client_idle_limit to 0 then?

daniel.oliveira

2013-10-15 23:46

reporter   ~0000342

Last edited: 2013-10-15 23:47

I can't, because I have other applications using same db, but just it I have this problem

t-ishii

2013-10-16 09:26

developer   ~0000344

You could install separate pgpool for the dumb hibernate and set client_idle_limit to 0.

t-ishii

2015-09-17 15:31

developer   ~0000565

No feedback over 1 year.

Issue History

Date Modified Username Field Change
2013-10-14 23:48 daniel.oliveira New Issue
2013-10-14 23:48 daniel.oliveira File Added: logs.rar
2013-10-15 12:17 t-ishii Assigned To => t-ishii
2013-10-15 12:17 t-ishii Status new => assigned
2013-10-15 12:17 t-ishii Additional Information Updated
2013-10-15 12:18 t-ishii Note Added: 0000338
2013-10-15 12:18 t-ishii Additional Information Updated
2013-10-15 12:18 t-ishii Status assigned => feedback
2013-10-15 21:09 daniel.oliveira Note Added: 0000340
2013-10-15 21:09 daniel.oliveira Status feedback => assigned
2013-10-15 21:37 daniel.oliveira Note Edited: 0000340
2013-10-15 21:38 daniel.oliveira Note Edited: 0000340
2013-10-15 23:36 t-ishii Note Added: 0000341
2013-10-15 23:37 t-ishii Status assigned => feedback
2013-10-15 23:46 daniel.oliveira Note Added: 0000342
2013-10-15 23:46 daniel.oliveira Status feedback => assigned
2013-10-15 23:47 daniel.oliveira Note Edited: 0000342
2013-10-16 09:26 t-ishii Note Added: 0000344
2013-10-16 09:34 t-ishii Status assigned => feedback
2015-09-17 15:31 t-ishii Note Added: 0000565
2015-09-17 15:31 t-ishii Status feedback => closed