Re: TIPool

2007-06-15 Thread Jonathan Vanasco
how about some case-specific information about your request: why exactly do you want a pool of db handles, vs additional db connections ? what db are you using ? depending on your design and platform, a dbpool might not be a good idea -- or you could be best-off with a middleware

Re: SQLite and multiple process behavior

2007-06-15 Thread Perrin Harkins
On 6/15/07, Jeff Nokes <[EMAIL PROTECTED]> wrote: (Q1) First, why would what seems to be identical multi-process interaction with the DB file achieve different results when attempting to view the updated record? I see two possibilities. One is that you have a SELECT running in one process wh

Access apache log variables, eg %h in PerlLogHandler

2007-06-15 Thread Brad
Is there any way I can read variables from apache's log system back into a PerlLogHandler? %h %l etc

SQLite and multiple process behavior

2007-06-15 Thread Jeff Nokes
I sent this to the SQLite mailing list on June 4th, but never received any replies. I figure either I'm making a totally rookie mistake somewhere, or folks really don't know how to help me with this. I'm hoping someone may have some insight to offer on this forum. As always, I appreciate any a

RE: TIPool

2007-06-15 Thread Thomas
But you read this one anyway. Does this say anything about the subject? - Thomas > Onderwerp: Re: TIPool > > Not wanting to nitpick, but I'm going to a bit anyway... > > When people post to this newsgroup can they please try and come up with > subject lines that are a bit more detailed an

RE: TIPool

2007-06-15 Thread Thomas
> It wasn't intended to be. It was going to be a pool of DBI handles, > assuming that those could be made shareable between threads. If your > goal is to use apr_dbd from Perl, you should probably look at writing > a DBD:: module that uses apr_dbd as a backend. > > - Perrin I just bought 'the A

Re: TIPool

2007-06-15 Thread Dodger
Not wanting to nitpick, but I'm going to a bit anyway... When people post to this newsgroup can they please try and come up with subject lines that are a bit more detailed and don't just seem on first glance to be randomly generated single words? Normally, I see a single word with an attachme

Re: open2 does not work in mod perl

2007-06-15 Thread Perrin Harkins
On 6/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I am able to execute the below program in perl but NOT in mod_perl I don't use Open2, but I recall people using IPC::Run with mod_perl 1. Maybe you should try that. Or it looks like IPC::Cmd provides a wrapper over multiple IPC:: module

Re: warn or $r->server->warn ?

2007-06-15 Thread Perrin Harkins
On 6/15/07, Cyril SCETBON <[EMAIL PROTECTED]> wrote: Is there any difference in using each syntax to signal a warning in the error log of Apache ? Performance impact ? Theoretically, the longer version is probably faster, but I doubt you'll ever be able to measure a significant difference. - P

Re: TIPool

2007-06-15 Thread Perrin Harkins
On 6/15/07, Thomas <[EMAIL PROTECTED]> wrote: Is this project still alive ? I don't think anyone is currently working on it. The excitement about using threads kind of died down after we discovered they use more memory and are slower than the prefork model. Will this be an Perl interface to

Re: configuring perl module - makefile

2007-06-15 Thread Perrin Harkins
On 6/15/07, _spitFIRE <[EMAIL PROTECTED]> wrote: I made a new perl module using h2xs, and would now like to how to configure the makefile for the module. In particular, I'm interested to know how ti configure the property -'PREREQ_PM'. http://perl.apache.org/docs/general/cpan_mod_dev/cpan_mod_d

configuring perl module - makefile

2007-06-15 Thread _spitFIRE
I made a new perl module using h2xs, and would now like to how to configure the makefile for the module. In particular, I'm interested to know how ti configure the property -'PREREQ_PM'. The problem is that I've written a module in such a way that it works fine both under Apache 1.3.37/mod_per

warn or $r->server->warn ?

2007-06-15 Thread Cyril SCETBON
Hi people, Is there any difference in using each syntax to signal a warning in the error log of Apache ? Performance impact ? Thanks

Re: modperl2 + apache2.2 unable to restart

2007-06-15 Thread Thomas den Braber
I also have that sometimes. It happens (I think) if a Perl interpreter in Apache is restarted because of perlInterpMaxRequests is reached or because one crashed. If I immediately restart Apache after I do a fresh start, it always restarts fine. I do also a 'stop' and then after the service stop

Re: modperl2 + apache2.2 unable to restart

2007-06-15 Thread Octavian Rasnita
Hi, I am also using modperl 2.03 with Apache 2.2 under Windows XP, and I have very often problems when trying to restart the web server. I use the following command: net stop apache2.2 It tries to stop and after a few tens of seconds it reports that the server cannot be stopped. If I try t

Re: modperl2 + apache2.2 unable to restart

2007-06-15 Thread Raymond Wan
Hi, Foo JH wrote: What's the actual error from the error_log? Below shows apache shutting and and restarting...and failed. [Thu Jun 14 17:30:19 2007] [notice] Parent: Received restart signal -- Restarting the server. [Thu Jun 14 17:30:19 2007] [notice] Child 5780: Exit event signaled. Child

RE: modperl2 + apache2.2 unable to restart

2007-06-15 Thread Thomas
I see you are using an old libapreq2. Have you tried using 2.08 from http://theoryx5.uwinnipeg.ca/ What Perl distribution are you using ? The combination Active state 820, libapreg2.08 (from uwinnipeg) and modperl2.03 (also from uwinnipeg) with windows 2003sp1 and XPsp2 works fine. I have a sm

Re: modperl2 + apache2.2 unable to restart

2007-06-15 Thread Foo JH
Perrin Harkins wrote: On 6/14/07, Foo JH <[EMAIL PROTECTED]> wrote: I was hoping to migrate my apps to the apache2.2 platform. The apps are fine, except that I notice now it's not possible to restart the app - the message 'The requested operation has failed!' pops up. What's the actual error f

TIPool

2007-06-15 Thread Thomas
In the Modperl documentation I read about the great idea of DBI pool in Apache: ‘The interpreter pool is implemented in terms of a "TIPool" (Thread Item Pool), a generic api which can be reused for other data such as database connections. A Perl interface will be provided for the TIPool mechani