Re: DBI & threads
[email protected] (John Scoles)
| Newsgroups | perl.dbi.users |
|---|---|
| Message-ID | <[email protected]> |
Martin Gainty wrote: > Hi Jeff- > > the short answer is yes as Multi-threaded libraries are not same as SingleThreaded library which usually spawn n number processes to achieve the same goal for handling execution units > so if your perl script (assuming you'r running apache) is pegging the processor its probably a single-threaded program spawning off too many processes.NB: prefork spawns 150 at a time.. > > speaking of DBI.. > > i d'led Perls DBI from CPAN and perl makefile.pl to a makefile > my makefile is currently looking for Oracle.c but I can't seem to locate Oracle.c anywhere.. > any clues as to where I can locate Oracle.c? > Oracle.c would be the automatically generated output from ExtUtils::ParseXS of the Oracle.xs file so I would expect it is missing Looks like you would have to do the following 1) perl Makefile.pl and make install DBI 2) do the same with the version of DBD::Oracle you wish to use. > Takk! > Martin Gainty > ______________________________________________ > Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité > > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. > Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Ãtant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > > > > > >> Subject: DBI & threads >> From: [email protected] >> To: [email protected] >> Date: Wed, 7 Apr 2010 09:52:52 -0400 >> >> When building DBI with threads enabled there is a warning against using >> threads. Is this really true - does anyone have any experience using >> DBI with threads ? >> >> >> >> > > _________________________________________________________________ > Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. > http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1 >