[pkg-firebird-general] Lock Manager out of Room

Damyan Ivanov dam at modsoftsys.com
Tue Feb 27 08:31:06 CET 2007


-=| Aldo Caruso, 26.02.2007 15:23 |=-
>    I have increased LockMemSize only two days ago and, as the error
> randomly appears in a period between two and seven days, it is still
> premature to make any conclusion.

We wait then :) Three weeks should be enough, I think.

>    Neither I am familiar with the NTPL threading model, but I'm gess
> that the version that run in Fedora Core 2 was old model ( not NTPL ).
> By the way, the version that gets installed in the Debian package is
> NTPL or not ?
> My architecture is i386 and libc6-i686 was installed.

I am not sure :(

The fbserver binary is linked against:
$ ldd fbserver
        linux-gate.so.1 =>  (0xffffe000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7e28000)
        libncurses.so.5 => /lib/libncurses.so.5 (0xb7de7000)
        libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb7db8000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7db4000)
        libeditline.so.0 => /usr/lib/libeditline.so.0 (0xb7dae000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7d9c000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7d77000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7c46000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7c3a000)
        /lib/ld-linux.so.2 (0xb7f2e000)

/lib/tls/i686 is present only when libc6-686 is installed.

Firebird includes pthread.h for thread support and there is nothing
NPTL-related in the patches applied to the debian packages. As far as
I understand, nptl/pthread.h is used for NPTL build.

Comparing pthread.h with nptl/pthread.h, the former says "Linuxthreads
- a simple clone()-based implementation of Posix threads for Linux",
which leads me to the conclusion that Debian packages do not use NPTL.
I guess that the APIs of linuxthreads and NPTL are compatible so
adding -I/usr/include/nptl to the compiler command line would make it
use NPTL. This is not the case with Debian, though.

It would be interesting to know the output of "ldd
/usr/lib/firebird2/bin/fbserver" on a RedHat system


Thinking more, I doubt that NPTL has anything to do with the observed
difference. The reason may well be in slightly heavier load (more
data, longer running transactions etc) that happen to occur at the
time you moved to Debian. This is a guess, of course.


	dam
-- 
Damyan Ivanov                           Modular Software Systems
phone +359(2)928-2611, 929-3993              fax +359(2)920-0994
mobile +359(88)856-6067              JID dam at jabber.minus273.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-firebird-general/attachments/20070227/83e17f6e/signature.pgp


More information about the pkg-firebird-general mailing list