<div dir="ltr">Hi,<div><br></div><div>We have a pgpool cluster in streaming replication mode, under the latest 3.3.4 version.</div><div>One of the pgpool child processes has a memory load which is rising about 1GB per 12 hours.</div><div>I noticed that it is always the same application / query that brings about a such behavior.</div><div>As a result, a &quot;ps&quot; command render something like:</div><div>...</div><div><div>postgres  5861    0.0  0.0  91496     1260 ?        S    14:18   0:00 pgpool: postgres mydb 192.168.1.2(57029) idle                            </div><div>postgres  5862    0.0  0.0  91496     1260 ?        S    14:18   0:00 pgpool: postgres mydb  192.168.1.2(57020) idle                            </div><div>postgres  20640  0.2  0.0  91496     1436 ?        S    Sep11  15:32 pgpool: postgres mydb  192.168.1.2(56340) idle                            </div><div><b>postgres  27435 0.5 39.9 1874960 1618096 ?    </b>S    Sep14   7:53 pgpool: postgres mydb  192.168.1.2(50879) idle</div></div><div>...</div><div><br></div><div>And &quot;psql -U postgres -x -c &#39;select backend_start, query_start, state_change, waiting, state, query from pg_stat_activity where pid =2824&#39;&quot; gives:</div><div><div>-[ RECORD 1 ]-+------------------------------</div><div>backend_start | 2014-09-14 15:11:34.13042+01</div><div>query_start   | 2014-09-15 <b>14:28:34</b>.207835+01</div><div>state_change  | 2014-09-15 <b>14:28:34</b>.208433+01</div><div>waiting       | f</div><div>state         | idle</div><div>query         | select 1</div></div><div><br></div><div>The same, but one minute later gives:</div><div><div>-[ RECORD 1 ]-+------------------------------</div><div>backend_start | 2014-09-14 15:11:34.13042+01</div><div>query_start   | 2014-09-15 <b>14:29:34</b>.292283+01</div><div>state_change  | 2014-09-15 <b>14:29:34</b>.292839+01</div><div>waiting       | f</div><div>state         | idle</div><div>query         | select 1</div></div><div><br></div><div>and so on...</div><div><br></div><div>You&#39;ll find as attachments, the pgpool configuration file and the log part about the suspected pgpool child process.<br></div><div><br></div><div>Hope you could help me,</div><div><br></div><div>Anselme</div><div><br></div></div>