Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^2: How we use Perl.

by osunderdog (Deacon)
on Nov 08, 2004 at 15:24 UTC ( #406079=note: print w/ replies, xml ) Need Help??

in reply to Re: How we use Perl.
in thread How we use Perl.

Not at all! DBI is a great package and DBD::Sybase works well. It's safe to say we wouldn't have been able to get this far without DBD::Sybase.

Also, I know that the connect/disconnect leak is a bugger. I tried to find it myself. I'm pretty sure that it is in on the sybase api side. But Sybase isn't interested in fixing it -- probably because they are fighting to stay in business.

I'm just trying to point out some of the pitfalls of running Perl for a long time. Test packages you intend to use over a long time and benchmark Memory consumption.

"Look, Shiny Things!" is not a better business strategy than compatibility and reuse.

Comment on Re^2: How we use Perl.
Replies are listed 'Best First'.
Re^3: How we use Perl.
by mpeppler (Vicar) on Nov 08, 2004 at 15:32 UTC
    Actually from my testing the leak is in allocating/deallocating the CS_LOCALE structure. If you run a connect/disconnect loop written in C that doesn't allocate a CS_LOCALE struct then the memory usage is dead even for thousands of iterations. If you add the CS_LOCALE alloc/dealloc the memory grows.

    I may decide to open a tech support case on this issue to see if I can get this escalated.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://406079]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2016-04-30 00:23 GMT
Find Nodes?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW

    Results (441 votes). Check out past polls.