Hi,

I am not sure if this is the right forum/mailing list to pose this question so 
apologies in advance if it is not.

We are using OpenDbx (C++) with MSSQL, on Ubuntu 12.04.
Our application is long running with many calls to the database.
Our application uses a local OpenDBX::Conn object to connect (bind), retrieve 
result, finish results, unbind and then the local OpenDBX::Conn object goes out 
of scope when function returns.

After a period of time our program crashes, with the usual error being "too 
many open files".
Our process open file limit is the default 1024.
After some debugging we found that a file descriptor to /dev/urandom is left 
open for each connection we made to the data base.
Of course after roughly 1024 connections to the database the application 
crashes with the above error as would be expected.

Has anyone experienced this?
Is there a workaround or patch?
Are we using the library correctly?


Thanks in advance.

Adam Levine

[cid:[email protected]]<http://www.globecommsystems.com/>
Globecomm Systems Inc
45 Oser Avenue
Hauppauge, NY 11788
http://www.globecommsystems.com<http://www.globecommsystems.com/>
Phone:  +1 (631) 231-9800 ext. 1318
Direct Phone:  +1 (631) 457-1318
Fax:  +1 (631) 231-1557
email: [email protected]<mailto:[email protected]>



____________________________________________________________
This e-mail (including attached documents) may contain confidential or 
proprietary
information intended only for use by the named recipient(s). Use by persons
other than the named recipient(s), further dissemination, or copying of this
email is prohibited unless authorized by the sender.

<<inline: image001.jpg>>

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
libopendbx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libopendbx-devel
http://www.linuxnetworks.de/doc/index.php/OpenDBX

Reply via email to