Subject Re: multi-threaded application under linux connecting to FB
Author Fabrice Aeschbacher
Hi,

Is someone using Firebird Super Server under linux in production?

Best regards,
Fabrice

--- In firebird-support@yahoogroups.com, "Fabrice Aeschbacher"
<fabrice.aeschbacher@s...> wrote:
> Hi,
>
> [Firebird 1.5 CS/linux build 4290]
>
> We are working on a multi-threaded application under linux (embedded).
> Different threads do open a connection to the database (one connection
> per thread).
> The database is on the same linux computer (localhost:db_alias).
>
> The application allways crashes after some hours. The stack trace
> indicates that the
> crash occurs in libgds.so (that is, libfbembed.so).
>
> I read in the release notes that libfbembed.so is not thread-safe.
>
> 1. Do you confirm that libfbembed.so cannot be safely used by a
> multi-threaded application?
>
> 2. Does a thread-safe version of libfbembed.so exist?
>
> 3. Is it possible and enough to replace libfbembed.so with
> libfbclient.so to connect to the Classic Server?
>
> 4. Is it mandatory to replace the CS with SS, in order to be able to
> use a thread-safe client library?
>
> 5. CS under linux is known to be very stable. What about SS?
>
> Best regards,
>
> Fabrice Aeschbacher