On Fri, 2002-09-27 at 10:09, Marten Feldtmann wrote:
> 
> 
> Mark Wong schrieb:
> 
> >Hi Thomas,
> >
> >I repeated this test with a program that forks processes instead of
> >creating pthreads.  I'll attach this version of the program.
> >
> >I find that I can establish more than 8 connections without any ODBC
> >errors being thrown.  I've only tried up to 10 so far.  Would this also
> >hint at thread handling problems in Linux?
> > 
> >  
> >
> I'm also surprised. I did some tests with IBM VA-Smalltalk and was able 
> to get
> around 50 connections against a local database and the database manager 
> shows
> all my connections.
> 
> Where're exactly the limits within the ODBC driver ?
> 
> 
> Marten

Marten, 

Is IBM VA-Smalltalk thread or processed based?  One thing I forgot to
mention is gdb is telling me chunk_alloc appears to be causing the seg
fault.  I'll provide a sample of a backtrace I gathered.  It doesn't
always seg fault on this path though.  Something it goes through
SQLConnect(), but that also ends at chunk_alloc.

#0  chunk_alloc (ar_ptr=0x40349c80, nb=121) at malloc.c:2990
#1  0x40297444 in __libc_malloc (bytes=116) at malloc.c:2811
#2  0x40126516 in sql57k_pmalloc ()
   from /opt/sapdb/interfaces/odbc/lib/libsqlod.so
#3  0x40126667 in sqlallocat () from
/opt/sapdb/interfaces/odbc/lib/libsqlod.so
#4  0x400f46b7 in pr03mAllocatF ()
   from /opt/sapdb/interfaces/odbc/lib/libsqlod.so
#5  0x400f5f74 in pr09malloc () from
/opt/sapdb/interfaces/odbc/lib/libsqlod.so
#6  0x400f5cb6 in pr09AddItem ()
   from /opt/sapdb/interfaces/odbc/lib/libsqlod.so
#7  0x400c5498 in pa30PutError ()
   from /opt/sapdb/interfaces/odbc/lib/libsqlod.so
#8  0x400cea69 in pa60PutError ()
   from /opt/sapdb/interfaces/odbc/lib/libsqlod.so
#9  0x400b0f53 in paSQLPrepare ()
   from /opt/sapdb/interfaces/odbc/lib/libsqlod.so
#10 0x400b10ec in SQLPrepare () from
/opt/sapdb/interfaces/odbc/lib/libsqlod.so


-- 
Mark Wong - - [EMAIL PROTECTED]
Open Source Development Lab Inc - A non-profit corporation
15275 SW Koll Parkway - Suite H - Beaverton OR, 97006
(503)-626-2455 x 32 (office)
(503)-626-2436      (fax)
http://www.osdl.org/archive/markw/

_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to