Skip to Content.
Sympa Menu

freetds - RE: [freetds] 0.64 news - logs and SSL

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] 0.64 news - logs and SSL
  • Date: Fri, 29 Apr 2005 17:12:08 +0200

>
> Hi,
>
> I'm considering using the SSL support in a production system.
> Before I
> make the decision, I'd like to know the scope of the memory leak you
> mentioned.
>
> I am using FreeTDS through a perl web application. The
> application may
> be run several hundred times on any given night. Is this memory leak
> goiong to add up each time the application is run or will the unused
> memory be freed again after the application terminates?
>
> Thanks,
> Daniel
>

0.64 is not that fine for production...
Memory leak occur cause libgcrypt (used by GnuTLS) do not free some
resource on exit. This mean that if your program keep loading and
unloading FreeTDS (and so you load GnuTLS that loads libgcrypt) you have
a leak. If your Perl application is a cgi-bin (executable) when unloaded
it free all resources however if you use Perl inside Apache using the
same process you can have the leak. However if you configura Apache to
limit request handled by sub-process you can remove the leak. Unlikely
it seems that GnuTLS do not include still my patch to support some
(weak) ciphers required by mssql so you have to patch it manually...

freddy77




Archive powered by MHonArc 2.6.24.

Top of Page