On Aug 26, 2009, at 7:39 AM, Adam Prime wrote:
A non-code comment, but there seems to be some consternation about
the "same terms as perl itself" license. See the link below:
http://perlbuzz.com/2009/07/help-end-licensing-under-same-terms-as-
perl-itself.html
Inside many programmers, nasc
Thanks for your comments. They lead to lots to think about and try.
I looked up "sprite sheets" and they seem to be graphics that
include lots of little tiled figures used in video games.
How does a browser know to split them up into separate images that
pages can then call out individually
On page http://perl.apache.org/docs/2.0/user/config/
config.html#mod_perl_Directives_Argument_Types_and_Allowed_Location
you can see the following line in the table that defines the scope of
the various directives:
PerlInterpStart TAKE1 SRV
SRV means "server scope" which t
The man you want at the FreeBSD lists is Philip M. Gollucci.
He maintains libapreq2 in the ports collection, and was very
helpful to me when I was trying to get the module to build,
earlier this year.
Good Luck and please report your results to this list when this is
settled,
cmac
On Oct 30,
Have you been through these threads already?
The first one seems quite like what you're doing.
http://mail-archives.apache.org/mod_mbox/perl-modperl/200908.mbox/%
3c59a07310908250820m1f789901g22eece5b2897c...@mail.gmail.com%3e
http://www.gossamer-threads.com/lists/modperl/modperl/100099
Is the
You made no comment on the links I sent you earlier today.
They had lots of good advice. Particularly the first one
suggested not forking the Apache process, but using an
ap(1) call to start a process to do the additional processing.
OK, the ap(1) alternative was a bit light on details.
How abo
at(1) is a Unix command to start a process.
Assuming you're on a Unix/Linux box, type "man at" to get the story.
A cleanup handler is more pleasant than a prostate exam.
You can spend your life waiting for others. Just write a
routine called "cleanup" and have it do something like
make a log en
The warning from William T. made me think to ask:
Does your site have "KeepAlive On" in httpd.conf?
(If not I can't think of anything to suggest...)
If so, try adding this as part of the redirect:
use Apache2::Connection();
use Apache2::RequestRec();
...
my $c = $r->connection();
$c->ke
Jan 27, 2010, at 5:08 AM, Tosh Cooey wrote:
The good news is that Mr. Mackenna got it! If I set "KeepAlive
Off" in apache2.conf then it all works fine. Below is a
functioning long process thingy which works with "KeepAlive On" and
Firefox. I just hope it works with
I rewrote IPC::MMA from an earlier CPAN module so that I could
use shared memory among Apache children. You can read about it at
http://search.cpan.org/~mackenna/IPC-MMA-0.6/MMA.pod
On Feb 2, 2010, at 9:45 PM, m...@normalperson.e4ward.com wrote:
Hello,
Is there a method to setup a global
On Feb 20, 2010, at 7:01 AM, Tosh Cooey wrote:
Anyway, the solution, at least so far until I run into other
problems, seems to be to just make a system() call and the called
program uses Proc::Daemon and things *seem* to work fine in
testing, we'll see when it hits production...
Tosh
Do
My Q today may be affected by Apache and/or Perl, so it seems
appropriate for this mailing list.
I've written a mod-perl module that needs mutual exclusion among
Apache child processes using the prefork MPM, so I decided to use a
file as a semaphore using Perl's 'flock'.
1. The mutual exc
One of the fun aspects of this is that the dark-blue-going-
on-purple book (which I have) describes how global variables
are sometimes shared between threads if they're not declared
shared, while your linked page says "only data that is
explicitly requested to be shared will be shared between
thre
This is not a mod_perl problem, but I received no response to it on the
httpd-users mailing list. I send it in the hope that there are many
smart
people subscribed to this list who may be able to answer it. If you
know
of another forum or person that might answer it, please tell me where.
Apache is forgiving/robust about specifying nonexistent phase
handlers in httpd.conf and inserts thereto.
I was using event, and had to let each thread open its own DBs
based on an undefined global. Then I found that the identical
traffic-test exerciser could get 66 files/second back in event
an
I started with 'worker', and it had similar performance to
what I saw thereafter with 'event'. Actually slightly better,
perhaps because 'event' gained no advantage from KeepAlive
because each test process stayed locked to one connection.
'worker' and 'event' were experiments that I decided to
t
What I did to get worker and event working under FreeBSD 6.3,
was to eliminate the child_init handler, and at the start of
the response handler do something like
my $env;
sub handler { # this is the response handler
my ($r) = @_;
if (!$env) {
$env = DbEnv->new;
IMO the profile below does not indicate that the sky
is falling.
A survey of "how long have you been using computers?"
might show a similar distribution.
craig
www.animalhead.com
On Jan 26, 2009, at 10:29 AM, Adam Prime wrote:
How long have you been using mod_perl?
Just started
IMO, the perl threads sharing mechanism is flawed because
(in my short experience with it) it does not allow certain
interesting items (e.g. tied) to be shared. I hope that
if Perl 6 is ever released it will have a better threading
component.
w/r/t "figuring out itself", in looking at the code i
On Dec 24 00:57, "Philip M. Gollucci" wrote:
>
> Subject: Re: [mp2] undefined symbol in make test with threaded Apache 2.2.11
>
> cr...@animalhead.com wrote:
> > Neither mod_perl 2.0.4 nor the current build modperl-2.0_20081223052020
> If you're going to do that 'current build', I'd use revision n
ed to do, to make Apache hand off the output
from the script to mod_gzip properly, and (far less important) show the
proper length in the log?
Thanks to anyone who can help,
Craig MacKenna
Los Gatos, CA
408-353-5037
21 matches
Mail list logo