Re: Thread::Pool problem

2002-12-01 Thread Elizabeth Mattijsen
At 19:45 +0100 11/29/02, Pasquale Pagano wrote: A lot of time ago some of you help us and your contribution to our work has been very important. We use the Thread::Pool version 0.22 module in our system and it works very well (under solaris SunOS 5.8 sun4u sparc SUNW,UltraAX-i2). Now we have

Re: AutoLoader bypass?

2002-08-20 Thread Elizabeth Mattijsen
At 06:24 PM 8/19/02 -0700, Randy J. Ray wrote: Well, my Cuse AutoLoader would be _outside_ any of the loaded modules in the mod_perl startup.pl script after all the modules necessary for proper execution of _your_ mod_perl environment, are loaded. I see... you mean to have a line like this:

AutoLoader bypass?

2002-08-19 Thread Elizabeth Mattijsen
It wasn't until recently that I realized that the functionality of AutoLoader might actually be counter-productive for mod_perl, at least in a prefork MPM. Because routines are loaded when they are requested, they may be loaded in child processes, causing duplication in memory because they are

Re: AutoLoader bypass?

2002-08-19 Thread Elizabeth Mattijsen
At 02:05 PM 8/19/02 -0700, Randy J. Ray wrote: Because routines are loaded when they are requested, they may be loaded in child processes, causing duplication in memory because they are not shared. They would be shared if they would be loaded in the initialization phase before the child processes

Re: AutoLoader bypass?

2002-08-19 Thread Elizabeth Mattijsen
At 02:37 PM 8/19/02 -0700, Randy J. Ray wrote: use AutoLoader 'preload'; # preload anything you can find in %INC use AutoLoader preload = { module = '' }; # all from specific module use AutoLoader preload = { module = [qw(suba subb)] }; # only specific Would that make sense? Problem

Re: TIPool / multiple database connections

2002-07-16 Thread Elizabeth Mattijsen
At 02:57 PM 7/16/02 +, Stas Bekman wrote: Perrin Harkins wrote: Hmmm... That could really throw a wrench in things. If you have an object based on a hash, and you share that hash, and you re-bless the object in each thread, does that work? What if the hash contains references to other

Re: Working Directory

2002-07-16 Thread Elizabeth Mattijsen
At 06:10 PM 7/16/02 +, Stas Bekman wrote: Arthur told me he either had, or was going to fix this (on IRC). Yup, Arthur is working on an external package (ex::threads::safecwd?) which should solve this problem. Viva Arthur! I'll keep you updated once it gets released. Check out Arthur's

Re: R: worker thread

2002-07-16 Thread Elizabeth Mattijsen
At 11:19 PM 7/16/02 +, Stas Bekman wrote: From the command line, it works very well. We are impleminting a very complex digital library system. In same cases, we want to start parallel threads in order to minimize the wait. Let me try to explain with an example. 'A' start 4 threads, each of

Re: TIPool / multiple database connections

2002-07-15 Thread Elizabeth Mattijsen
At 12:18 AM 7/16/02 +, Stas Bekman wrote: ...A few folks at p5p are creating a bunch of new modules around threads:: and threads::shared::, just yesterday a new module: Thread::Pool was released by Elizabeth Mattijsen. Which seems to be what's needed for Apache::DBITPool. Hmmm... I guess

Re: TIPool / multiple database connections

2002-07-15 Thread Elizabeth Mattijsen
At 01:14 AM 7/16/02 +, Stas Bekman wrote: Hmmm... I guess you're right. I hadn't thought of applying Thread::Pool in this situation, but it sure makes sense. This would however imply that jobs would be submitted from different threads. That _should_ work, but I just realised that I

Re: www.modperl.com .. ?

2002-04-05 Thread Elizabeth Mattijsen
At 11:24 AM 4/5/02 -0600, [EMAIL PROTECTED] wrote: According to the subscription notice ... www.modperl.com is a resource site but I've tried many times ... is this site still valid? Works fine from here... Elizabeth Mattijsen

Re: Open3

2002-04-03 Thread Elizabeth Mattijsen
... Elizabeth Mattijsen

Re: loss of shared memory in parent httpd

2002-03-12 Thread Elizabeth Mattijsen
this problem a lot more than newer kernels. I wish you strength in fixing this problem... Elizabeth Mattijsen

Re: loss of shared memory in parent httpd (2)

2002-03-12 Thread Elizabeth Mattijsen
kernels. Again, I wish you strength in fixing this problem... Elizabeth Mattijsen

Re: loss of shared memory in parent httpd

2002-03-12 Thread Elizabeth Mattijsen
;-( But man, was it fast when it ran... ;-) Elizabeth Mattijsen

Re: loss of shared memory in parent httpd

2002-03-12 Thread Elizabeth Mattijsen
materials which you may find helpful for understanding the shared memory concepts. Ah... ok... can't wait for that either... ;-) Don't you love mod_perl for what it makes you learn :) Well, yes and no... ;-) Elizabeth Mattijsen

Re: [request] modperl mailing lists searchable archives wanted

2001-10-09 Thread Elizabeth Mattijsen
/category/Programming_Languages http://news.search.nl/style/search.en/read/category/Programming_Languages/Pe rl/list/page1.html Currently refreshed 4 times a day, with searching being refreshed once a day. The site actually runs ModPerl with Matt Sergeant's LibXML and LibXSLT modules. Elizabeth

Re: Again, Modperl running scripts slower than non-modperl!?

2001-08-05 Thread Elizabeth Mattijsen
into Apache? Elizabeth Mattijsen

Re: Redirect with anchors.

2001-04-08 Thread Elizabeth Mattijsen
ot too recent MSIE's). If you really want to reliably do this, you should hide your parameter in the URL and use a RewriteRule or a mod_perl handler to extract the parameter, e.g. instead of "intranet.html?action=show#anchor_name" use a URL in the form "/show/intranet.html#anchor

Long KeepAlives sensible?

2001-04-06 Thread Elizabeth Mattijsen
oned above? Are there any pitfalls that I didn't realise yet? Any feedback would be greatly appreciated. Elizabeth Mattijsen

Re: Long KeepAlives sensible?

2001-04-06 Thread Elizabeth Mattijsen
At 02:36 PM 4/6/01 +0200, Elizabeth Mattijsen wrote: 1. To facilitate memory management, I would like to have the apache child terminate whenever the keep-alive connection is broken or has timed out. There does not seem to be a handler that will handle the end of a keep-alive connection yet

Re: Long KeepAlives sensible?

2001-04-06 Thread Elizabeth Mattijsen
... but that's not now so if anyone else wants to have a go at it... ;-) Elizabeth Mattijsen

Re: Very[OT]:Technical query re: scratchpad lookups for my() vars

2001-03-14 Thread Elizabeth Mattijsen
of the same name is also visible: package main; local $x = 10; my$x = 20; print "$x and $::x\n"; That will print out 20 and 10. There is _no_ stash of lexicals during execution, only during compilation. I guess one of the reasons lexicals are faster. Elizabeth Mattijsen

Re: Deep recursion on subroutine Apache::Constants::AUTOLOAD

2000-04-25 Thread Elizabeth Mattijsen
on of Perl/mod_perl that incorrectly assumes that "MyPackage::SubModule" is a subroutine reference, where in fact it is a class reference. By putting the class reference between single quotes, the optimization is apparently by-passed and the problem disappeared. Hope this helps. Elizabe

Re: Using network appliance Filer with modperl

2000-02-03 Thread Elizabeth Mattijsen
NetApp bandwidth... Elizabeth Mattijsen Tel: 020-6005700Nieuwezijds Voorburgwal 68-70 Fax: 020-60018251012 SE AMSTERDAM Voor ernstige technische storingen zijn we buiten kantooruren bereikbaar: 06-29500176 of zie onze website