Hi Jim,
The documentation is neither unclear nor confusing. However, the
implication was not obvious (well... not obvious enough) when I first read
this section three years ago. If you're sincere about wanting
suggestions, here's mine:
of course :)
In addition to understanding the
Perrin Harkins wrote:
Elizabeth Mattijsen wrote:
Hmm... but you won't be able to fetch the $dbh from the thread. It
can only live in _that_ thread. You cannot pass objects between
threads. But you _can_ send queries to that thread, fetch a jobid for
that job and then obtain whatever
French, Shawn wrote:
Stas Bekman wrote:
It seems that you are after the same functionality as Apache::DBI, you
want a pool of items that you want to be able to choose from.
Look for threads::shared (perl 5.8.0), just create a shared hash with
keys that you use for the map and the values for
At 09:24 PM 7/13/2002, Stas Bekman wrote:
Gunther Birznieks wrote:
I agree! It is great work. It looks really slick.
:)
Unfortunately, the mod_perl guide documentation area has lost
functionality. I wanted to download the latest guide before my 23 hour
flight to the USA (to read on the
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
Gunther Birznieks wrote:
At 09:24 PM 7/13/2002, Stas Bekman wrote:
Gunther Birznieks wrote:
I agree! It is great work. It looks really slick.
:)
Unfortunately, the mod_perl guide documentation area has lost
functionality. I wanted to download the latest guide before my 23
hour
Liz, should we move this thread to the perl-ithreads list so we can get
some answers from the threads gurus? or p5p?
I doubt Arthur is listening on this list.
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
What problem is that? I don't think there's much you can do beyond
re-connecting, which Apache::DBI does.
Well, the thing about SQLRelay is that it pools database connections,
which is good when you want to have plenty of persistent connections to
different databases.
My only problem with
Matt Sergeant wrote:
On Fri, 12 Jul 2002, Stas Bekman wrote:
Josh Bernstein wrote:
After just upgrading to mod_perl2 with Apache2. My current @INC path
includes a . on the end, which should reference the current working
directory, and therefore correctly locate include locate in the
How to restart SSL Apache in -X mode?
Thanks in advance for your help
Mark
[EMAIL PROTECTED] wrote:
How to restart SSL Apache in -X mode?
This is a wrong forum. See:
http://httpd.apache.org/lists.html#http-users
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/
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
Elizabeth Mattijsen wrote:
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
At 10:41 AM 07/16/2002 +0100, Jean-Michel Hiver wrote:
Hi list,
I am glad to announce the first release of Petal, the Perl Template
Attribute Language module. You will find a rather copious
documentation here:
http://search.cpan.org/doc/JHIVER/Petal-0.1/lib/Petal.pm
It should be
We are trying to use:
1) Apache 2.0.39 compiled with the option --with-mpm=worker
2) with modperl 2.0
under Sun Solaris 2.8 with Perl 5.8 RC2.
Although everything seems to work fine, the creation of a custom worker
thread takes more or less 2 minutes.
Here below a section of the code
Hi,
It happens with the printenv script also. Again, I did this to myself
before, but I can't remember how I fixed it. It was something very simple.
Thanks,
Eric
My http.conf perl stuff
=
# mod_perl config
PerlRequire
--On Tuesday, July 16, 2002 06:44:10 -0400 Eric Frazier [EMAIL PROTECTED]
wrote:
Hi,
It happens with the printenv script also. Again, I did this to myself
before, but I can't remember how I fixed it. It was something very
simple.
Thanks,
Seems like Location /perl will happily match
I just upgraded to apache2 and mod_perl1.99 and the first big
difference I noticed is that I can include my libraries using relative
pathes any more.
Until now I had my mainprogram and its library/ies in the same path.
like
# ls edit.*
edit.lib.pl edit.pl
and in edit.pl I had the line
Hi,
I will try that out. It was something like that, it even rings a bell a bit.
Thanks! I will let you know.
Eric
At 03:51 PM 7/16/02 +0200, Eric Cholet wrote:
--On Tuesday, July 16, 2002 06:44:10 -0400 Eric Frazier [EMAIL PROTECTED]
wrote:
Hi,
It happens with the printenv script
Pasquale Pagano wrote:
We are trying to use:
1)Apache 2.0.39 compiled with the option --with-mpm=worker
2)with modperl 2.0
under Sun Solaris 2.8 with Perl 5.8 RC2.
Although everything seems to work fine, the creation of a custom worker
thread takes more or less 2 minutes.
Here
just found out the deeper reason - mod_perl now always has path=/
which is unexpected behaviour. While I can filter out the actual path
from the cgi-environment I dont understand this ..
thnx,
peter
On Tue, Jul 16, 2002 at 04:12:02PM +0200, [EMAIL PROTECTED] wrote:
I just upgraded to
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 which prepares, and sends a request to another
I've looked at Rational's Purify:
http://www.rational.com/products/purify_unix/index.jsp,
and although their web page says only works for C, C++, Java and a few
others, I've seen this page:
http://www.perlpod.com/stable/perlhack.html
on getting Perl work with with Purify.
question,
can i have both Registry and PerlRun running in the same environment? i
have my cgi scripts running under Apache::Registry in one directory, and
want to run a legacy cgi script under PerlRun in another directory. is this
possible?
matt
On Tue, 16 Jul 2002 16:30:16 +0200, [EMAIL PROTECTED] said:
P just found out the deeper reason - mod_perl now always has path=/
P which is unexpected behaviour. While I can filter out the actual path
P from the cgi-environment I dont understand this ..
See
[EMAIL
Boex,Matthew W. wrote:
can i have both Registry and PerlRun running in the same environment? i
have my cgi scripts running under Apache::Registry in one directory, and
want to run a legacy cgi script under PerlRun in another directory. is this
possible?
Yes, no problem at all.
- Perrin
[EMAIL PROTECTED] wrote:
just found out the deeper reason - mod_perl now always has path=/
which is unexpected behaviour. While I can filter out the actual path
from the cgi-environment I dont understand this ..
See the parallel thread on the same topic.
Boex,Matthew W. wrote:
question,
can i have both Registry and PerlRun running in the same environment? i
have my cgi scripts running under Apache::Registry in one directory, and
want to run a legacy cgi script under PerlRun in another directory. is this
possible?
matt
of course.
Carwheel, Dan wrote:
although their web page says only works for C, C++, Java and a few
others, I've seen this page:
http://www.perlpod.com/stable/perlhack.html
on getting Perl work with with Purify.
That page is about getting Perl's C executable to work with Purify, not
using
Pasquale Pagano 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 which prepares,
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
Perrin Harkins wrote:
[...]
My question is this...can I run my application using this purified perl
under mod_perl to track down potential memory leaks and other problems?
You probably don't have any memory leaks. Most things that people refer
to as leaks are just normal growth. A leak
I understand. But, given a new 'purified' perl binary I could build using
Purify, would it allow me to diagnose or trace memory leaks back to my Perl
code? I'm asking from a theoretical basis here, since I agree with you, I
doubt I have any memory leaks.
Thanks.
--Dan
-Original
Ok, as you have seen in my first e-mail, I have installed Perl 5.8.0 RC2.
Now, I'm moving to RC3 and and tomorrow I will tell you what happens.
Thanks for the moment,
Lino
-Messaggio originale-
Da: Elizabeth Mattijsen [mailto:[EMAIL PROTECTED]]
Inviato: martedi 16 luglio 2002 17.32
A:
I am trying to create a test environment for modperl2.0/apache2/perl5.8
under RedHat7.3.
As root, I did the first step, download using the cvs to get the
modperl-2.0, httpd-2.0 and apr, apr-util (placed in httpd-2.0/srclib).
make make install is fine.
I using rsync to get the Perl, and the
Harry Zhu wrote:
I am trying to create a test environment for modperl2.0/apache2/perl5.8
under RedHat7.3.
As root, I did the first step, download using the cvs to get the
modperl-2.0, httpd-2.0 and apr, apr-util (placed in httpd-2.0/srclib).
make make install is fine.
I using rsync to get
Pete Rothermel wrote:
I've got the example echo() handler working for a non-HTTP protocol as
outlined on the new web site:
http://perl.apache.org/docs/2.0/user/handlers/handlers.html#Command__Protocol__Phases
Anybody have a similar example for the same protocol handler over SSL?
the
hi
sorry my english
i have one problem
when i open 2 browsers intance and access my perl script
instance 1 run script OK
instance 2 waiting instance 1 finalize to run :/
i need run simultane 2 instance
(modperl 2.0 dev 5 / perl 8 rc 3 / apache 2.0 prefork or worker )
example:
#!/usr/bin/perl
Udlei Nattis wrote:
hi
sorry my english
i have one problem
when i open 2 browsers intance and access my perl script
instance 1 run script OK
instance 2 waiting instance 1 finalize to run :/
i need run simultane 2 instance
(modperl 2.0 dev 5 / perl 8 rc 3 / apache 2.0 prefork or worker
Sounds great? Does he have anything that I could play with? I'm really
dying for that chdir(), my programmer says he depends on that
functionality. I'd even volunteer to do some benchmarks and what not
associated with the extra overhead of making the function thread safe.
If its not really
Josh Bernstein wrote:
Sounds great? Does he have anything that I could play with? I'm really
dying for that chdir(), my programmer says he depends on that
functionality. I'd even volunteer to do some benchmarks and what not
associated with the extra overhead of making the function thread
Udlei Nattis wrote:
how many servers do you run?
worker:
IfModule worker.c
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
/IfModule
prefork:
IfModule prefork.c
StartServers 5
MinSpareServers
Just 8 lines of glue code to use YAML as a Apache::Session
serialization handler. Any suuggestions welcome, Thanks.
The URL
http://bulknews.net/lib/archives/Apache-Session-Serialize-YAML-0.01.tar.gz
has entered CPAN as
file:
Has anyone else had problems with this particular page under IE
(6.0.2600 under XP) being extremly slow to update when paging up/down?
It works fine under Mozilla, and it's not a memory or cpu issue (checked
with task manager already). And when I say slow, I mean a simple down
cursor causes the
Not just you. I have the same problem under MSIE.
Issac
- Original Message -
From: Jim Helm [EMAIL PROTECTED]
To: 'Perrin Harkins' [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, July 17, 2002 8:23 AM
Subject: New mod_perl site and oddness with IE
Has anyone else had
IE 5.5 on win2k as well.
-Original Message-
From: Issac Goldstand [mailto:[EMAIL PROTECTED]]
Not just you. I have the same problem under MSIE.
Has anyone else had problems with this particular page under IE
(6.0.2600 under XP) being extremly slow to update when paging up/down?
Jim Helm wrote:
Has anyone else had problems with this particular page under IE
(6.0.2600 under XP) being extremly slow to update when paging up/down?
It works fine under Mozilla, and it's not a memory or cpu issue (checked
with task manager already). And when I say slow, I mean a simple down
47 matches
Mail list logo