<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 7: Postgres-XC crashes with failed to find proc 0x7fb0cb34f7c0 in ProcArray and sorry, too many clients already</title><link>https://sourceforge.net/p/postgres-xc/support-requests/7/</link><description>Recent changes to 7: Postgres-XC crashes with failed to find proc 0x7fb0cb34f7c0 in ProcArray and sorry, too many clients already</description><atom:link href="https://sourceforge.net/p/postgres-xc/support-requests/7/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 15 Apr 2015 06:44:45 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/postgres-xc/support-requests/7/feed.rss" rel="self" type="application/rss+xml"/><item><title>#7 Postgres-XC crashes with failed to find proc 0x7fb0cb34f7c0 in ProcArray and sorry, too many clients already</title><link>https://sourceforge.net/p/postgres-xc/support-requests/7/?limit=25#158b</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;attachment patch should fix this bug.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Diancheng Wang</dc:creator><pubDate>Wed, 15 Apr 2015 06:44:45 -0000</pubDate><guid>https://sourceforge.net302a4747942b613a8da8a1f606e348579d2a276f</guid></item><item><title>#7 Postgres-XC crashes with failed to find proc 0x7fb0cb34f7c0 in ProcArray and sorry, too many clients already</title><link>https://sourceforge.net/p/postgres-xc/support-requests/7/?limit=25#17e2</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Dear Koichi, &lt;/p&gt;
&lt;p&gt;I was hit by this bug too. Do you plan to apply the patch anytime soon?&lt;/p&gt;
&lt;p&gt;According to wikipedia, the licensing should not be an issue here as XL uses MPL version 2.0:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://en.wikipedia.org/wiki/Mozilla_Public_License" rel="nofollow"&gt;http://en.wikipedia.org/wiki/Mozilla_Public_License&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;"In the absence of patents, MPL-licensed code can be freely used, altered, and redistributed. Versions with patented code can still be used, transferred, and even sold, but cannot be altered without special permission."&lt;/p&gt;
&lt;p&gt;happily, it's not patented and I would take word 'use' as permission to apply it as a patch elsewhere as it is constrained to the 'component'.&lt;/p&gt;
&lt;p&gt;But as usual with licensing it is confusing. Is there any chance to get a clear statement from XC and XL teams whether patches to already existing code in XC are moot if it comes to re-applying from MPL to BSD or there is chance for a mutual agreement to speed up development of both projects? &lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;
Chris.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">yazun</dc:creator><pubDate>Wed, 05 Nov 2014 16:45:15 -0000</pubDate><guid>https://sourceforge.net8a8b080ab3d534302640266014c370050bac1b26</guid></item><item><title>Postgres-XC crashes with failed to find proc 0x7fb0cb34f7c0 in ProcArray and sorry, too many clients already</title><link>https://sourceforge.net/p/postgres-xc/support-requests/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am really devastated. For the last week, week and half, I was trying to ran successfully almost all postgres-xc versions 1.1, 1.1.1, 1.2, 1.2.1...etc and the only one which runs without any problems was 1.0.4.&lt;br /&gt;
My setup is based on 4 AWS instances with Ubuntu 14.04 LTS on them.&lt;br /&gt;
2xData-Nodes 1xCordinator 1xGTM server. While I was strugling with it I tried many approaches like DL the code and compile it, install ubuntu package and so on.&lt;/p&gt;
&lt;p&gt;Here is my problem and steps I do.&lt;br /&gt;
1. DL the code from sourceforge.net&lt;br /&gt;
2. unpak and do ./configure, make and make install&lt;br /&gt;
3. Initdb on all related hosts:&lt;/p&gt;
&lt;p&gt;Cordinator&lt;br /&gt;
/usr/local/pgsql/bin/initdb -D /var/lib/postgres-xc/data --nodename cn1&lt;br /&gt;
DataNode1&lt;br /&gt;
/usr/local/pgsql/bin/initdb -D /var/lib/postgres-xc/data --nodename dn1&lt;br /&gt;
DataNode2&lt;br /&gt;
/usr/local/pgsql/bin/initdb -D /var/lib/postgres-xc/data --nodename dn2&lt;br /&gt;
GTM server&lt;br /&gt;
/usr/local/pgsql/bin/initgtm -Z gtm -D /var/lib/postgres-xc/data&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Setting up the IP address of the GTM server on all nodes and start them with:&lt;br /&gt;
/usr/local/pgsql/bin/pg_ctl start -D /var/lib/postgres-xc/data -Z datanode -l /var/lib/postgres-xc/data/logfile&lt;br /&gt;
/usr/local/pgsql/bin/pg_ctl start -D /var/lib/postgres-xc/data -Z coordinator -l /var/lib/postgres-xc/data/logfile&lt;br /&gt;
/usr/local/pgsql/bin/gtm_ctl -Z gtm -D /var/lib/postgres-xc/data start&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Adding nodes into cordinator:&lt;br /&gt;
postgres=# CREATE NODE dn1 WITH (HOST = '172.30.0.14', type = 'datanode', PORT = 5432);&lt;br /&gt;
postgres=# CREATE NODE dn2 WITH (HOST = '172.30.0.15', type = 'datanode', PORT = 5432);&lt;br /&gt;
postgres=# SELECT pgxc_pool_reload();&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;When I issue "createdb -h 172.30.0.11(cordinatorIP) -Upostgres-xc pgbench" from 5th node, it creates the DB on all nodes. Then I populate the DB with "pgbench -h 172.30.0.11 -i -s 10 -Upostgres-xc pgbench" and when i try to run any tests the whole setup crashes with:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;starting vacuum...end.&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;starting vacuum pgbench_accounts...end.&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Client 0 aborted in state 13: ERROR:  failed to find GlobalTransaction for xid 10135&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;WARNING:  unexpected EOF on datanode connection&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Client 1 aborted in state 13: ERROR:  sorry, too many clients already&lt;br /&gt;
transaction type: TPC-B (sort of)&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;scaling factor: 10&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;query mode: simple&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;number of clients: 2&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;number of threads: 2&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;duration: 3600 s&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;number of transactions actually processed: 126&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;tps = 42.505160 (including connections establishing)&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;tps = 42.612909 (excluding connections establishing)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;On the coordinator node I am observing the folloging errors into log file:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt; LOG:  failed to find proc 0x7fb0cb3f2480 in ProcArray&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;STATEMENT:  drop table if exists pgbench_history&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;LOG:  failed to find proc 0x7fb0cb3f2480 in ProcArray&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;STATEMENT:  create table pgbench_history(tid int,bid int,aid    int,delta int,mtime timestamp,filler char(22))&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;LOG:  failed to find proc 0x7fb0cb3f2480 in ProcArray&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;STATEMENT:  drop table if exists pgbench_tellers&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;LOG:  failed to find proc 0x7fb0cb3f2480 in ProcArray&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;STATEMENT:  create table pgbench_tellers(tid int not null,bid int,tbalance int,filler char(84)) with (fillfactor=100)&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;LOG:  failed to find proc 0x7fb0cb3f2480 in ProcArray&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;STATEMENT:  drop table if exists pgbench_accounts&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;LOG:  failed to find proc 0x7fb0cb3f2480 in ProcArray&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;STATEMENT:  create table pgbench_accounts(aid    int not null,bid int,abalance int,filler char(84)) with (fillfactor=100)&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;LOG:  failed to find proc 0x7fb0cb3f2480 in ProcArray&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;STATEMENT:  drop table if exists pgbench_branches&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;LOG:  failed to find proc 0x7fb0cb3f2480 in ProcArray&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;STATEMENT:  create table pgbench_branches(bid int not null,bbalance int,filler char(88)) with (fillfactor=100)&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;LOG:  failed to find proc 0x7fb0cb3f2480 in ProcArray&lt;br /&gt;
STATEMENT:  commit&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;LOG:  failed to find proc 0x7fb0cb3f2480 in ProcArray&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;STATEMENT:  alter table pgbench_branches add primary key (bid)&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;LOG:  failed to find proc 0x7fb0cb3f2480 in ProcArray&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;STATEMENT:  alter table pgbench_tellers add primary key (tid)&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;LOG:  failed to find proc 0x7fb0cb3f2480 in ProcArray&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;STATEMENT:  alter table pgbench_accounts add primary key (aid)&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;LOG:  failed to find proc 0x7fb0cb3f2480 in ProcArray&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;STATEMENT:  truncate pgbench_history&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;ERROR:  failed to find GlobalTransaction for xid 11378&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;STATEMENT:  END;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;WARNING:  unexpected EOF on datanode connection&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;ERROR:  sorry, too many clients already&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;STATEMENT:  END;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;WARNING:  unexpected EOF on datanode connection&lt;br /&gt;
&lt;/strong&gt;LOG:  Failed to ABORT at node 16384&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;        Detail: unexpected EOF on datanode connection&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;LOG:  Failed to ABORT an implicitly PREPARED transaction status - 7&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;LOG:  could not send data to client: Broken pipe&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;FATAL:  connection to client lost&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;LOG:  failed to find proc 0x7fb0cb34f7c0 in ProcArray&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;LOG:  failed to find proc 0x7fb0cb34f7c0 in ProcArray&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;LOG:  failed to find proc 0x7fb0cb34f7c0 in ProcArray&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;LOG:  failed to find proc 0x7fb0cb34f7c0 in ProcArray&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;LOG:  failed to find proc 0x7fb0cb34f7c0 in ProcArray**&lt;/p&gt;
&lt;p&gt;On the data-nodes:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;LOG:  failed to find proc 0x7f379dee4a00 in ProcArray&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;LOG:  failed to find proc 0x7f379dee4a00 in ProcArray&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;LOG:  failed to find proc 0x7f379dee4a00 in ProcArray&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;and some of the transactons are still uncommited on some of the nodes and if I want to connect to other node ot throws the error &lt;strong&gt;"psql: FATAL:  sorry, too many clients already"&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Please any ideas, clue help....etc.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mladen Stefanov</dc:creator><pubDate>Tue, 21 Oct 2014 11:05:52 -0000</pubDate><guid>https://sourceforge.net353abd7a01cce41b1e376d3f958c4112531b2ebe</guid></item></channel></rss>