<div dir="ltr">Could this error happen if  &quot;connection_cache = off&quot; ?<div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 23 February 2016 at 12:27, Muhammad Usama <span dir="ltr">&lt;<a href="mailto:m.usama@gmail.com" target="_blank">m.usama@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Feb 23, 2016 at 4:16 AM, Tatsuo Ishii &lt;<a href="mailto:ishii@postgresql.org">ishii@postgresql.org</a>&gt; wrote:<br>
&gt; Usama,<br>
&gt;<br>
&gt; Doesn&#39;t pgpool-II 3.1 have the same problem?<br>
<br>
</span>Sorry, I missed that and 3_0 aswell. I have pushed the same change to<br>
the both branches.<br>
<br>
Regards<br>
<span class="HOEnZb"><font color="#888888">Muhammad Usama<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
&gt;<br>
&gt; Best regards,<br>
&gt; --<br>
&gt; Tatsuo Ishii<br>
&gt; SRA OSS, Inc. Japan<br>
&gt; English: <a href="http://www.sraoss.co.jp/index_en.php" rel="noreferrer" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
&gt; Japanese:<a href="http://www.sraoss.co.jp" rel="noreferrer" target="_blank">http://www.sraoss.co.jp</a><br>
&gt;<br>
&gt;&gt; Hi<br>
&gt;&gt;<br>
&gt;&gt; I have pushed the above fix in all branches from pgpool-II 3.2 onwards.<br>
&gt;&gt; <a href="http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=6afacb1b19603b37e3d005963182258b9f4fca49" rel="noreferrer" target="_blank">http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=6afacb1b19603b37e3d005963182258b9f4fca49</a><br>
&gt;&gt;<br>
&gt;&gt; Thanks again for your help in verifying and testing the fix.<br>
&gt;&gt;<br>
&gt;&gt; Kind regards<br>
&gt;&gt; Muhammad Usama<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Sat, Feb 20, 2016 at 1:03 AM, Muhammad Usama &lt;<a href="mailto:m.usama@gmail.com">m.usama@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Hi<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Many thanks for the confirmation, the fix needs to go in all branches and<br>
&gt;&gt;&gt; I will push it in the morning.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Regards<br>
&gt;&gt;&gt; Muhammad Usama<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Sent from my iPhone<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt; On 19-Feb-2016, at 11:52 PM, Gerhard Wiesinger &lt;<a href="mailto:lists@wiesinger.com">lists@wiesinger.com</a>&gt;<br>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; Hello,<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; Can confirm that this patch worked for me (tested the 3.5 patch<br>
&gt;&gt;&gt; version), nearly 2 days without any problem. Can you please add it to the<br>
&gt;&gt;&gt; git repo and make a new release (3.4, 3.5).<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; Thnx.<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; Ciao,<br>
&gt;&gt;&gt; &gt; Gerhard<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;&gt; On 16.02.2016 11:44, Muhammad Usama wrote:<br>
&gt;&gt;&gt; &gt;&gt; Hi<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; Many thanks for the reply and a good news that you are not getting<br>
&gt;&gt;&gt; &gt;&gt; stuck connection issue after the patch.<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; Thanks<br>
&gt;&gt;&gt; &gt;&gt; Best regards<br>
&gt;&gt;&gt; &gt;&gt; Muhammad Usama<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt; On Fri, Feb 12, 2016 at 9:45 PM, Paweł Ufnalewski &lt;<a href="mailto:archon@foap.com">archon@foap.com</a>&gt;<br>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt; &gt;&gt;&gt; Hmm it looks like it&#39;s fine now. Right now I only see these in log:<br>
&gt;&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt; 2016-02-12 17:28:12: pid 8838: LOG:  child process with pid: 27299<br>
&gt;&gt;&gt; exits<br>
&gt;&gt;&gt; &gt;&gt;&gt; with status 256<br>
&gt;&gt;&gt; &gt;&gt;&gt; 2016-02-12 17:28:12: pid 8838: LOG:  fork a new child process with<br>
&gt;&gt;&gt; pid: 6140<br>
&gt;&gt;&gt; &gt;&gt;&gt; 2016-02-12 17:30:42: pid 8838: LOG:  child process with pid: 5571<br>
&gt;&gt;&gt; exits with<br>
&gt;&gt;&gt; &gt;&gt;&gt; status 512<br>
&gt;&gt;&gt; &gt;&gt;&gt; 2016-02-12 17:30:42: pid 8838: LOG:  fork a new child process with<br>
&gt;&gt;&gt; pid: 6720<br>
&gt;&gt;&gt; &gt;&gt;&gt; 2016-02-12 17:30:43: pid 8838: LOG:  child process with pid: 4444<br>
&gt;&gt;&gt; exits with<br>
&gt;&gt;&gt; &gt;&gt;&gt; status 512<br>
&gt;&gt;&gt; &gt;&gt;&gt; 2016-02-12 17:30:43: pid 8838: LOG:  fork a new child process with<br>
&gt;&gt;&gt; pid: 6751<br>
&gt;&gt;&gt; &gt;&gt;&gt; 2016-02-12 17:35:42: pid 8838: LOG:  child process with pid: 6140<br>
&gt;&gt;&gt; exits with<br>
&gt;&gt;&gt; &gt;&gt;&gt; status 512<br>
&gt;&gt;&gt; &gt;&gt;&gt; 2016-02-12 17:35:42: pid 8838: LOG:  fork a new child process with<br>
&gt;&gt;&gt; pid: 7868<br>
&gt;&gt;&gt; &gt;&gt;&gt; 2016-02-12 17:40:42: pid 8838: LOG:  child process with pid: 6751<br>
&gt;&gt;&gt; exits with<br>
&gt;&gt;&gt; &gt;&gt;&gt; status 512<br>
&gt;&gt;&gt; &gt;&gt;&gt; 2016-02-12 17:40:42: pid 8838: LOG:  fork a new child process with<br>
&gt;&gt;&gt; pid: 9018<br>
&gt;&gt;&gt; &gt;&gt;&gt; 2016-02-12 17:40:42: pid 8838: LOG:  child process with pid: 6720<br>
&gt;&gt;&gt; exits with<br>
&gt;&gt;&gt; &gt;&gt;&gt; status 512<br>
&gt;&gt;&gt; &gt;&gt;&gt; 2016-02-12 17:40:42: pid 8838: LOG:  fork a new child process with<br>
&gt;&gt;&gt; pid: 9019<br>
&gt;&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt; Thank you!<br>
&gt;&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt; Best regards,<br>
&gt;&gt;&gt; &gt;&gt;&gt; Paweł Ufnalewski<br>
&gt;&gt;&gt; &gt;&gt;&gt; Infrastructure Architect at Foap.com<br>
&gt;&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt; W dniu 2016-02-09 o 14:02, Muhammad Usama pisze:<br>
&gt;&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt; Hi<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt; Many thanks for sharing the pgpool.log, The log shared by you does<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt; contains some error messages &quot;ERROR: unable to to flush data to<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt; frontend&quot; that have the potential to cause the stuck connection<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt; Can you please try out the attached patch if it fix the problem. I am<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt; attaching the patches for both 3_5 and 3_4 branches, please use the<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt; respective patch as per your setup. Hopefully this should fix the<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt; stuck issue.<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt; Kind regards<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt; Muhammad Usama<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; On Mon, Feb 8, 2016 at 8:49 PM, Paweł Ufnalewski &lt;<a href="mailto:archon@foap.com">archon@foap.com</a>&gt;<br>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;      It looks like it hangs in this places (see attachment). Problem<br>
&gt;&gt;&gt; is,<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; that<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; developer responsible for app has changed something in code, so<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; connections<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; now closes properly from client side (before I got a lot of these<br>
&gt;&gt;&gt; errors:<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; 2016-02-08 09:33:39: pid 8472: ERROR:  unable to read data from<br>
&gt;&gt;&gt; frontend<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; 2016-02-08 09:33:39: pid 8472: DETAIL:  EOF encountered with<br>
&gt;&gt;&gt; frontend)<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; .<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; Best regards,<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; Paweł Ufnalewski<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; Infrastructure Architect at Foap.com<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; W dniu 2016-02-08 o 09:00, Muhammad Usama pisze:<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; Hi<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; Thanks in advance for the help. If you could share the pgpool-II log<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; when the stuck connection happens that would help us in identifiny<br>
&gt;&gt;&gt; and<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; rectifing the problem.<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; Thanks<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; Best regards<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; Muhammad Usama<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; On Mon, Feb 8, 2016 at 11:36 AM, Paweł Ufnalewski &lt;<a href="mailto:archon@foap.com">archon@foap.com</a>&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;      just to let you know - I&#39;m having the same problem with 3.4.4<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; version<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; (DISCARD ALL appears slower than in 3.4.3 I think, but it still<br>
&gt;&gt;&gt; does).<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; How<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; can I help to fix this problem?<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; Best regards,<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; Paweł Ufnalewski<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; Infrastructure Architect at Foap.com<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; W dniu 2016-02-01 o 08:44, Muhammad Usama pisze:<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; Hi Gerhard<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; Many thanks for testing and pointing this out. It&#39;s unfortunate that<br>
&gt;&gt;&gt; you<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; are<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; still getting the stuck connection issue. If it is possible can you<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; please<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; share the pgpool-II log for the time when this stuck connection issue<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; happens. I am more interested in seeing which exact error message<br>
&gt;&gt;&gt; that<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; caused the child process to jump to error handler from where the<br>
&gt;&gt;&gt; child<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; process proceeded to send the DISCARD ALL to backend and eventually<br>
&gt;&gt;&gt; got<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; stuck. Since after many tries we are not able to reproduce this<br>
&gt;&gt;&gt; issue, so<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; log would be really helpful in understanding and fixing the problem.<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; Best regards<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; Muhammad Usama<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; On Sun, Jan 31, 2016 at 9:33 PM, Gerhard Wiesinger &lt;<br>
&gt;&gt;&gt; <a href="mailto:lists@wiesinger.com">lists@wiesinger.com</a>&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; On 28.01.2016 01:10, Tatsuo Ishii wrote:<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; On 21.01.2016 20:52, Muhammad Usama wrote:<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; Hi<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; I am looking into this issue. and unfortunately like Ishii-San I am<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; also not able to reproduce it. But I found one issue in 3.4 that<br>
&gt;&gt;&gt; might<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; cause the problem. Can you please try the attached patch if it solves<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; the problem. Also, if the problem still persists, it would be really<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; helpful if you could share the pgpool-II log.<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; I looked at the patch but it includes only logging changes and no<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; functional changes. Therefore I didn&#39;t test it. Do you expect and<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; behavioral changes to fix it, and why?<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; elog() is not only a logging function, but also it plays very<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; important role including exception handling and error treatments in<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; pgpool-II. If you are familiar with PostgreSQL internals, you may<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; notice it (elog() was imported from PostgreSQL source tree).<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; Tried version 3.5.0 where the patch is included. Still not working.<br>
&gt;&gt;&gt; See<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; backtrace below.<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; Reverting to 3.3.7 which works perfectly.<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; Ciao,<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; Gerhard<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; (gdb) back<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; #0  0x00007fd87fdb6d43 in __select_nocancel () from /lib64/libc.so.6<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; #1  0x0000564471af16a1 in pool_check_fd (cp=cp@entry=0x564473dfa610)<br>
&gt;&gt;&gt; at<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; protocol/pool_process_query.c:635<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; #2  0x0000564471af1976 in pool_check_fd (cp=cp@entry=0x564473dfa610)<br>
&gt;&gt;&gt; at<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; protocol/pool_process_query.c:657<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; #3  0x0000564471b1f67b in pool_read (cp=0x564473dfa610,<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; buf=buf@entry=0x7ffc1d71bf97, len=len@entry=1) at<br>
&gt;&gt;&gt; utils/pool_stream.c:162<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; #4  0x0000564471af8e6e in read_kind_from_backend<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; (frontend=frontend@entry=0x564473df3e60,<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; backend=backend@entry=0x564473df2e00,<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;      decided_kind=decided_kind@entry=0x7ffc1d71c397 &quot;E&quot;) at<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; protocol/pool_process_query.c:3234<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; #5  0x0000564471affdc9 in ProcessBackendResponse<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; (frontend=frontend@entry=0x564473df3e60,<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; backend=backend@entry=0x564473df2e00, state=state@entry<br>
&gt;&gt;&gt; =0x7ffc1d71c41c,<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;      num_fields=num_fields@entry=0x7ffc1d71c41a) at<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; protocol/pool_proto_modules.c:2356<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; #6  0x0000564471af5b15 in pool_process_query<br>
&gt;&gt;&gt; (frontend=0x564473df3e60,<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; backend=0x564473df2e00, reset_request=reset_request@entry=1) at<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; protocol/pool_process_query.c:302<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; #7  0x0000564471aed98c in backend_cleanup (backend=&lt;optimized out&gt;,<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; frontend_invalid=frontend_invalid@entry=0 &#39;\000&#39;,<br>
&gt;&gt;&gt; frontend=0x564471e09e40<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; &lt;child_frontend&gt;)<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;      at protocol/child.c:437<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; #8  0x0000564471af0637 in do_child (fds=fds@entry=0x564473dee030) at<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; protocol/child.c:234<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; #9  0x0000564471ace107 in fork_a_child (fds=0x564473dee030, id=8) at<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; main/pgpool_main.c:678<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; #10 0x0000564471aceb6d in reaper () at main/pgpool_main.c:2254<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; #11 0x0000564471ad322b in PgpoolMain (discard_status=&lt;optimized out&gt;,<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; clear_memcache_oidmaps=&lt;optimized out&gt;) at main/pgpool_main.c:429<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; #12 0x0000564471acc7b1 in main (argc=&lt;optimized out&gt;,<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; argv=0x7ffc1d7219e8)<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; at main/main.c:310<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; #1  0x0000564471af16a1 in pool_check_fd (cp=cp@entry=0x564473dfa610)<br>
&gt;&gt;&gt; at<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; protocol/pool_process_query.c:635<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; 635                     fds = select(fd+1, &amp;readmask, NULL,<br>
&gt;&gt;&gt; &amp;exceptmask,<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; timeoutp);<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; (gdb) print fd<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; $1 = 8<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; (gdb) print readmask<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; $2 = {fds_bits = {256, 0 &lt;repeats 15 times&gt;}}<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; (gdb) print exceptmask<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; $3 = {fds_bits = {256, 0 &lt;repeats 15 times&gt;}}<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; (gdb) print timeoutp<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; $4 = (struct timeval *) 0x0<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; pgpool-general mailing list<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; <a href="mailto:pgpool-general@pgpool.net">pgpool-general@pgpool.net</a><br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; <a href="http://www.pgpool.net/mailman/listinfo/pgpool-general" rel="noreferrer" target="_blank">http://www.pgpool.net/mailman/listinfo/pgpool-general</a><br>
&gt;&gt;&gt; &gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; &gt;&gt; pgpool-general mailing list<br>
&gt;&gt;&gt; &gt;&gt; <a href="mailto:pgpool-general@pgpool.net">pgpool-general@pgpool.net</a><br>
&gt;&gt;&gt; &gt;&gt; <a href="http://www.pgpool.net/mailman/listinfo/pgpool-general" rel="noreferrer" target="_blank">http://www.pgpool.net/mailman/listinfo/pgpool-general</a><br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;<br>
_______________________________________________<br>
pgpool-general mailing list<br>
<a href="mailto:pgpool-general@pgpool.net">pgpool-general@pgpool.net</a><br>
<a href="http://www.pgpool.net/mailman/listinfo/pgpool-general" rel="noreferrer" target="_blank">http://www.pgpool.net/mailman/listinfo/pgpool-general</a><br>
</div></div></blockquote></div><br></div>