Re: Problems with threaded perl Script in perl-5.8.7
[email protected] (Elizabeth Mattijsen)
| Newsgroups | perl.ithreads |
|---|---|
| Message-ID | <p06210203bee92c69dc12@[192.168.56.3]> |
At 11:53 AM -0700 6/29/05, Vamsi Krishna wrote: > I have perl-5.8.7 installed with ithread support. It is compile to use >malloc which comes with perl. When I try to compile to run a program it >breaks with the error > >Out of memory during request for 224 bytes, total sbrk() is 937451520 bytes! >Out of memory during request for 1064 bytes, total sbrk() is 937451520 >bytes! >SV = RV(0x819ad1c) at 0x85f3364 > REFCNT = 1 > FLAGS = (ROK) > RV = 0x1bc259f4 > (in cleanup) dbih_getcom handle DBI::db=HASH(0x1bc259f4) is not a >DBI handle (has no magic), <FHIN> >SV = RV(0x819a64c) at 0x1bc25a0c > REFCNT = 1 > FLAGS = (ROK,READONLY) > RV = 0x1bc259f4 >Callback called exit, <FHIN> >END failed--call queue aborted, <FHIN> >A thread exited while 15 threads were running, <FHIN> > > >I have searched on google but could not get any reasonable reply, > >I request help from this list as my server is down. Please let me know if >any other info is needed. Are you aware that DBI is not thread safe? http://search.cpan.org/~timb/DBI-1.48/lib/DBI/FAQ.pm#5.1_Can_I_do_multi-threading_with_DBI? Liz