[freetds] 0.64 news - logs and SSL
ZIGLIO, Frediano, VF-IT
Frediano.Ziglio at vodafone.com
Fri Apr 29 11:12:08 EDT 2005
>
> 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
More information about the FreeTDS
mailing list