Re: [Koha-devel] mod_perl

2009-09-16 Thread Rick Welykochy
Joe Atzberger wrote: > mod_perl is not currently supported. I'm sure more detailed > documentation of the problems like this one that you encounter trying to > use it would be appreciated, but my sense is that some of Koha's > dependencies are in themselves not safe for mod_perl. Caching stra

Re: [Koha-devel] mod_perl

2009-09-16 Thread Joe Atzberger
2009/9/16 Miguel Angel Calvo Lázaro > I'm experimenting with mod_perl, accurately, with perl:: run and searches, > to recharge I get this error: > > Attempt to reload C4/Auth.pm aborted.\nCompilation failed in require at > /var/www/kohaorg/errors/500.pl line 21.\nBEGIN failed--compilation aborted

[Koha-devel] mod_perl

2009-09-16 Thread Miguel Angel Calvo Lázaro
Hello. I'm experimenting with mod_perl, accurately, with perl:: run and searches, to recharge I get this error: Attempt to reload C4/Auth.pm aborted.\nCompilation failed in require at /var/www/kohaorg/errors/500.pl line 21.\nBEGIN failed--compilation aborted at /var/www/kohaorg/errors/500.pl line

Re: [Koha-devel] mod_perl

2008-11-26 Thread Wojciech Zatorski
Hello Joe, Wednesday, November 26, 2008, 4:48:56 PM, you wrote: JA> Wojciech -- JA> Obviously 3 years ago would have been with a 2.2 (or perhaps JA> earlier?) version of Koha.  Have you upgraded to 3.x under the JA> same environment? yes.. version 2.2.x and no we still using 2.2.x as framework.

Re: [Koha-devel] mod_perl

2008-11-26 Thread Joe Atzberger
Wojciech -- Obviously 3 years ago would have been with a 2.2 (or perhaps earlier?) version of Koha. Have you upgraded to 3.x under the same environment? Can you also confirm that you have multiple Koha databases running concurrently on the same server? --Joe On Wed, Nov 26, 2008 at 1:58 AM, Wo

Re: [Koha-devel] mod_perl

2008-11-25 Thread Rick Welykochy
Wojciech Zatorski wrote: > Hello Clay, > > Wednesday, November 26, 2008, 12:58:45 AM, you wrote: > > CF> So does anyone know of name-space or other conflicts arising from > CF> using mod_perl with one koha instance installed per virtual host? > > hm... we have been using koha with mod perl (Regi

Re: [Koha-devel] mod_perl

2008-11-25 Thread Wojciech Zatorski
Hello Clay, Wednesday, November 26, 2008, 12:58:45 AM, you wrote: CF> So does anyone know of name-space or other conflicts arising from CF> using mod_perl with one koha instance installed per virtual host? hm... we have been using koha with mod perl (RegistryPrefork) since 3 years without proble

Re: [Koha-devel] mod_perl

2008-11-25 Thread Clay Fouts
Oh, I misunderstood what you were describing. Saying "one instance of apache for each instance of Koha" led me to think you meant a separate apache process group (running under a different UID, with a different config file set, etc.) for each koha instance. It actually never occurred to me that som

Re: [Koha-devel] mod_perl

2008-11-25 Thread Rick Welykochy
Clay Fouts wrote: > Having managed this sort of configuration with MediaWiki, I've had > thoughts about using it for hosting Koha instances. It has a number of > advantages, including being more amenable to mod_perl. The biggest > drawback to this configuration is when applications care about the

Re: [Koha-devel] mod_perl

2008-11-25 Thread Rick Welykochy
Michael Hafen wrote: > I have two installes of Koha 3 on the same instance of apache2 with no > problems. I must not be using mod_perl. Is there a writeup on what things need to be (re)configured to get two separate instances of Koha running on one single Apache server, i.e. sharing the same na

Re: [Koha-devel] mod_perl

2008-11-25 Thread Clay Fouts
Having managed this sort of configuration with MediaWiki, I've had thoughts about using it for hosting Koha instances. It has a number of advantages, including being more amenable to mod_perl. The biggest drawback to this configuration is when applications care about the port number on which the HT

Re: [Koha-devel] mod_perl (was: DBIx::Class stuff)

2008-11-25 Thread Joe Atzberger
Frederic, regarding Apache2::Reload, I think that is an interesting module, but I find their performance warningsoffputting, basically that (1) you have to use a "touch" file and (2) child memory not shared back w/ parent,

Re: [Koha-devel] mod_perl

2008-11-25 Thread Michael Hafen
I must not be running mod_perl then. I have misunderstood the purpose of the ubuntu package libapache2-mod-perl2. It seems to not include Apache2::PerlRun or Apache2::Registry which Galen pointed out. I guess it only allows for sections to the apache config files, and such. No script or environ

Re: [Koha-devel] mod_perl

2008-11-25 Thread Rick Welykochy
Paul POULAIN wrote: > Michael Hafen a écrit : >> Hmm, I hope that isn't the case. I have multiple instances of Koha >> running on a server with mod_perl installed. I haven't heard any >> complaints so far. > > wow... are you sure you're with mod_perl ? we did some test, on a small > library, a

Re: [Koha-devel] mod_perl (was: DBIx::Class stuff)

2008-11-25 Thread Paul POULAIN
Michael Hafen a écrit : > Hmm, I hope that isn't the case. I have multiple instances of Koha > running on a server with mod_perl installed. I haven't heard any > complaints so far. wow... are you sure you're with mod_perl ? we did some test, on a small library, and the result was awful (with du

Re: [Koha-devel] mod_perl (was: DBIx::Class stuff)

2008-11-24 Thread Frederic Demians
> (*) the scripts and perl modules themselves are precompiled and > cached. When a script or module is modified the web server has to be > restarted. Not necessarily: http://perl.apache.org/docs/2.0/api/Apache2/Reload.html -- Frédéric ___ Koha-devel

Re: [Koha-devel] mod_perl (was: DBIx::Class stuff)

2008-11-24 Thread Rick Welykochy
Andrew Moore wrote: > I've long suspected that Koha could benefit from using mod_perl, too. > Do you know of any work done to see if it's possible or what changes > would need to be made in order to allow it? There are unwanted caching effects, i.e. (*) data global to a script, i.e. file level v

Re: [Koha-devel] mod_perl (was: DBIx::Class stuff)

2008-11-24 Thread Nathan Gray
On Mon, Nov 24, 2008 at 07:38:38AM -0600, Andrew Moore wrote: > On Sat, Nov 22, 2008 at 7:24 PM, Rick Welykochy <[EMAIL PROTECTED]> wrote: > > The use of mod_perl would speed things up by an order (and a half) > > of magnitude, giving the software more leeway to use abstractions > > like an OR mapp

Re: [Koha-devel] mod_perl (was: DBIx::Class stuff)

2008-11-24 Thread Michael Hafen
I don't know if I have either installed. I might have misunderstood the use of the ubuntu libapache2-mod-perl2 package. How would I find out if I have either of those installed. Are they apache modules or perl modules? Thanks. On Mon, 2008-11-24 at 12:56 -0500, Galen Charlton wrote: > Hi Micha

Re: [Koha-devel] mod_perl (was: DBIx::Class stuff)

2008-11-24 Thread Galen Charlton
Hi Michael, On Mon, Nov 24, 2008 at 12:08 PM, Michael Hafen <[EMAIL PROTECTED]> wrote: > Hmm, I hope that isn't the case. I have multiple instances of Koha > running on a server with mod_perl installed. I haven't heard any > complaints so far. You're running Koha under Apache::PerlRun, not Apac

Re: [Koha-devel] mod_perl (was: DBIx::Class stuff)

2008-11-24 Thread Michael Hafen
Hmm, I hope that isn't the case. I have multiple instances of Koha running on a server with mod_perl installed. I haven't heard any complaints so far. On Mon, 2008-11-24 at 12:00 -0500, Ryan Higgins wrote: > > I assume that C4::Context's overriding of Exporter's import method > is a big problem

Re: [Koha-devel] mod_perl (was: DBIx::Class stuff)

2008-11-24 Thread Ryan Higgins
I assume that C4::Context's overriding of Exporter's import method is a big problem for anyone wishing to run more than one Koha instance on a mod_perl enabled machine. While it's convenient to be able to just call C4::Context->dbh to get the active db handle from Context's package global $contex

Re: [Koha-devel] mod_perl (was: DBIx::Class stuff)

2008-11-24 Thread Andrew Moore
On Sat, Nov 22, 2008 at 7:24 PM, Rick Welykochy <[EMAIL PROTECTED]> wrote: > Joshua Ferraro wrote: > >> Speed is definitely a major concern here ... and I believe it's one of >> the reasons that Koha originally wasn't written with an ORM. Andy, any >> thoughts about what this choice will mean w/res

[Koha-devel] mod_perl & Koha 3.0 on Solaris

2008-07-03 Thread Paul POULAIN
Hello, BibLibre has deployed Koha 3.0 at "Ecole des Mines de Nantes" on a sun server (4 or 5 years old), the DB is 10k biblios (very small then), with 3 librarians and something like 600 patrons. NoZebra set up. The response time on Koha 2.2 was OK With 3.0, it's AWFUL !!! Really. Every page n