From owner-freebsd-java@FreeBSD.ORG Tue Feb 5 08:38:22 2013 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1051C47C for ; Tue, 5 Feb 2013 08:38:22 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (adsltrust.ath.forthnet.gr [194.219.204.174]) by mx1.freebsd.org (Postfix) with ESMTP id 5A6BCEC3 for ; Tue, 5 Feb 2013 08:38:20 +0000 (UTC) X-Bogosity: No, tests=bogofilter Received: from smadev.internal.net (localhost [127.0.0.1]) by smadev.internal.net (8.14.5/8.14.5) with ESMTP id r158cI3C002021; Tue, 5 Feb 2013 10:38:18 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) Received: (from achill@localhost) by smadev.internal.net (8.14.5/8.14.5/Submit) id r158cIvt002020; Tue, 5 Feb 2013 10:38:18 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) X-Authentication-Warning: smadev.internal.net: achill set sender to achill@matrix.gatewaynet.com using -f From: Achilleas Mantzios To: Konstantin Belousov , freebsd-java@freebsd.org Subject: Re: Re: Re: Re: Re: Re: FreeBSD pl/java problem : backend hangs Date: Tue, 05 Feb 2013 10:38:18 +0200 Message-ID: <1779006.4dHUJtq5BK@smadev.internal.net> Organization: Dynacom Tankers Mgmt X-Face: "g.Z.Lx$T1ZMcQ%hC!e^E&tD,cT:"bTs45WM(,vUj@8QBz6}T'sn+EnZTzy`UVQ:&A=`_; f)V+K4z}rG5:(uu[b:WY'*`6F"ou-Or(q; u{#Gxx|MkO4E.vh@E}[#7Ytt"shtU>A&@CO` a|Wx]m_wRD,?4!'Ir1$4iis{/.WU<`#dhKI]g2w^!B[CvRJr+W|; -VS~QcL!s1"'??rct} ^=5Fa!W!{a}Jd:W%6,E[N\r-<)T'_N[~3fy9pF"b>-Yj^p}/2tPudP>I"$%w]"W4CIja6J Tajm}"8t`-hJlf2kRQ_V,eT_kN6KLG+~2mZ+cPX,p,xQN9QVR References: <5933829.WYzpjKtO0p@smadev.internal.net> <1917151.YiRb4P31Ma@smadev.internal.net> <20130204171859.GB2522@kib.kiev.ua> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="ISO-8859-1" X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Feb 2013 08:38:22 -0000 On =CE=94=CE=B5=CF=85 04 =CE=A6=CE=B5=CE=B2 2013 19:18:59 you wrote: > Try to start the postgres daemon with 'LD_PRELOAD=3D/lib/libthr.so.3'= > env variable set. Thanx, i tried with this, inside postgresql startup script with no luck= . I also saw this thread here : http://www.postgresql.org/message-id/68c4= 29ede4cde3874b37460b5b1d4aaf@cs.helsinki.fi (but could not find its continuation over the FreeBSD camp) The author claims that postgres backend executable must be linked with = -lpthread. Inside postgres's Makefile.global i can see=20 PTHREAD_CFLAGS =3D -pthread -D_REENTRANT -D_THREAD_SAFE -D_PO= SIX_PTHREAD_SEMANTICS THREAD_LIBS =3D -lpthread however when i do=20 root@smadev:/usr/local/src/postgresql-9.2.2# ldd /usr/local/pgsql/bin/p= ostgres /usr/local/pgsql/bin/postgres: libm.so.5 =3D> /lib/libm.so.5 (0x800ae5000) libldap-2.4.so.8 =3D> /usr/local/lib/libldap-2.4.so.8 (0x800c05= 000) libc.so.7 =3D> /lib/libc.so.7 (0x800d47000) liblber-2.4.so.8 =3D> /usr/local/lib/liblber-2.4.so.8 (0x800f89= 000) libssl.so.6 =3D> /usr/lib/libssl.so.6 (0x801096000) libcrypto.so.6 =3D> /lib/libcrypto.so.6 (0x8011e9000) i see nothing thread (libpthread or libtrh) related. Any help to overcome this much appreciated. >=20 > >=20 - Achilleas Mantzios IT DEV IT DEPT Dynacom Tankers Mgmt