ng mix of ports & packages in prod, perhaps with some pkg
> lock, on the grounds that we know it works and we can roll forward to a better
> solution when one comes out soon. I have done worse things in the past.
>
> I hope this makes sense.
>
> - Alex
>
>
> On 7/
On 7/18/25 13:35, Randolf Richardson via modperl wrote:
On Jul 17, 2025, at 1:32PM, Alex Aminoff wrote:
I have written up a description and replication code here:
http://back.nber.org/sys-admin/apache2_upload_bug.html
Is this something anyone else has seen?
Hi, Alex. Yes, this is a known
I have written up a description and replication code here:
http://back.nber.org/sys-admin/apache2_upload_bug.html
Is this something anyone else has seen?
Thanks,
- Alex Aminoff
NBER
use gdb with
threads?
I've not (yet) raised a bug since at the moment we can't make this
easily reproducible - we just know that, on our existing systems with
plenty of data, if we enable mpm_event instead of mpm_prefork we get
these errors. We're trying to narrow down the circumstances
quot;; $str =~ s{(\d+)\s(\d+)\s(\d+)}{my
$result="false";$result="true" if $3 == eval"$1*$2";$result}e;say $str'
The magic is the /e modifier.
Regards,
Alex
On 1/9/20 5:25 PM, MIchael Capone wrote:
It probably won't ever work. The problem is the * (star/a
On Sun, 2016-04-03 at 17:03 +0200, Vincent Veyron wrote:
> On Sun, 03 Apr 2016 14:11:23 +0100
> Alex Masidlover wrote:
>
> >
> >
> > This has all worked perfectly up until I upgraded to Apache 2.4 /
> > mod_perl 2.0.10 -
> After upgrading to Apache 2.4 and
-8<-- Start Bug Report 8<--
1. Problem Description:
I'm running Perl 5.20.2 on a Gentoo virtual machine. We've had some
code in place that uses a mod_perl handler to send complex hashref
based structures between two servers using nfreeze / thaw; the code
ne
On Tue, May 29, 2012 at 12:07 PM, Doug Hunt wrote:
> Hi mod_perl list!
>
> I've been using Apache and mod_perl for a long time on our web site, but I'm
> having troubles getting it to compile under the most recent Apache, mod_perl
> and perl.
>
> I'm working under CentOS 6.2 on an x86_64 system.
>
like:
PerlRequire /home/alex/modperl.pl
SetHandler modperl
PerlResponseHandler VideoTest
PerlOutputFilterHandler VideoTest::test_output_handler
and my modperl code looks like:
sub handler {
my $r = shift;
$r->sendfile('/tmp/video.mp4&
too etc.
Cheers,
Alex
On 14/07/11 11:39, Tim Watts wrote:
> On 14/07/11 11:16, André Warnier wrote:
>
> Hi Andre,
>
> Thanks for the quick reply :)
>
>> (That would probably be difficult, inefficient or both)
>>
>> Assuming that what you say about Tomcat is
On Tue, Feb 8, 2011 at 16:26, Max Pinton wrote:
> On Feb 8, 2011, at 7:36 AM, Perrin Harkins wrote:
>> That doesn't explain all of your errors though. I'm guessing that
>> you're opening a connection during startup and forking with it. You
>> need to find that. Look for things that might open a
On 06/12/10 20:39, Philippe M. Chiasson wrote:
On 10-11-30 07:51 , "Alex J. G. Burzyński" wrote:
Hi,
I've noticed that when using custom directives within nested
the result of $r->location reports the parent one only, instead of the
subdir.
However if I add PerlSetVar the
>path_info: /subdir
This has been tested on perl 5.12.2:
Apache/2.2.16 + mod_perl/2.0.4
Apache/2.2.17 + mod_perl/2.0.5-dev (2010091957)
Apache/2.2.17 + mod_perl/2.0.5-dev (20101130091946)
Cheers,
Alex
>>> On Wed, Jun 30, 2010 at 02:49, Tim Bunce wrote:
>>> > I suggest the code shift items off the main array, like perl does,
>>> > but also push those items onto a new temp array.
Find attached a patch that does the above (perhaps naively), passes a
make test and fixes the reported problems for m
On Wed, Jun 30, 2010 at 16:37, Tim Bunce wrote:
> On Wed, Jun 30, 2010 at 09:24:42AM -0600, Alex Hunsaker wrote:
>> On Wed, Jun 30, 2010 at 02:49, Tim Bunce wrote:
>> > I suggest the code shift items off the main array, like perl does,
>> > but also push those items
On Wed, Jun 30, 2010 at 02:49, Tim Bunce wrote:
> On Tue, Jun 29, 2010 at 09:50:00PM -0700, Fred Moyer wrote:
>> I think getting rid of the segfault is a good thing. But if the main
>> problem is issues with NYTProf, then it seems like this change won't
>> solve the core problem of autogenerated
Hi!
perl: 5.10.1, 5.12.1 (i686-linux, x86_64-linux)
mod_perl: 2.0.4
Basically if you have end blocks that modify/add END blocks things
might go crazy.
A simple test case for this is:
package test:
END { eval "END { }" for 1..10 }
gives:
Not a CODE reference.
END failed--call queue aborted.
if
with $/, we went from
dozens of seg faults per hour to none.
- Alex Aminoff
BaseSpace.net
National Bureau of Economic Research (nber.org)
On Tue, 12 Jan 2010, Mark Copper wrote:
Hi,
I have a server like this:
Server Version: Apache/2.2.9 (Debian) mod_ssl/2.2.9 OpenSSL/0.9.8g
On Thu, 31 Dec 2009, Philippe M. Chiasson wrote:
On 09-12-31 12:52 , Alex Aminoff wrote:
Most certainly, yes. A stack trace without debugging symbols is not
very useful in trying to pin down the source of a segfault bug.
OK, I compiled mod_perl with MP_DEBUG and MP_TRACE, and
got apache
Most certainly, yes. A stack trace without debugging symbols is not
very useful in trying to pin down the source of a segfault bug.
OK, I compiled mod_perl with MP_DEBUG and MP_TRACE, and
got apache to produce a core dump (kern.sugid_coredump=1 appears to
be needed on FreeBSD):
(gdb) bt
#0
2 : -
Apache2::Request : 2.12
CGI: 3.42
ExtUtils::MakeMaker: 6.48, undef
LWP: 5.834
mod_perl : -
mod_perl2 : 2.04
3. This is the core dump trace: (if you get a core dump):
[CORE TRACE COMES HERE]
This report was generated by /usr/local/bin/mp2bug on Wed Dec 30 20:46:25 2009
GMT.
- Alex Aminoff
BaseSpace.net
National Bureau of Economic Research (nber.org)
Hi all,
I have successfully compiled mod_perl on an AIX box using the AIX
compiler. However, it fails a number of tests
t/apr-ext/brigade.t 255 65280?? ?? % ??
t/apr-ext/bucket.t 255 65280?? ?? % ??
t/apr-ext/error.t255 65280?? ?? % ??
t/apr-e
This Patch fixes annoying log messages (notably with postgresql, but
others may apply) because Apache::DBI fails to disconnect properly at
exit time.
(it stops the buggers below from filling my logs...)
LOG: unexpected EOF on client connection
LOG: could not receive data from client: Connection
space_from =
\&ModPerl::RegistryCooker::namespace_from_uri;
This may be present in some users code though, especially if it is
migrated to mp2 from mp1 where uri-based namespaces were default, but
I do not think it is common.
-- Alex
using the non-standard uri-based
methods then you will want to examine your code.
Indeed, default mp2 setup is not affected. One cannot reproduce this
problem unless something like
*ModPerl::MyRegistry::namespace_from =
\&ModPerl::RegistryCooker::namespace_from_uri;
is done.
-- Alex
y problem because regular expression
will not execute (?{ arbitrary code here }) unless "use re 'eval'"
is in effect, but this is a problem that has to be fixed anyway.
--
Alex
ast one tied to something before the api switch ) should
work.
It's the old story -- this was a prototype thrown together that we spent a
bit of time developing. It got turned into a piece of code that we used for
'a little processing' .. and then Production. I'm slowly upgrading it and
moving it to newer platforms.
Thanks again.
--
Alex Beamish
Toronto, Ontario
aka talexb
27;s a test system so it
typically has half a dozen installations on it). Is this a mad idea, or
could it work?
I look forward to hearing from you all. Thanks!
--
Alex Beamish
Toronto, Ontario
aka talexb
keep in mind this is the after-Christmas period -- while some
people are in at work, others are lounging around at home, enjoying (or
recovering from) rich food and drink.
--
Alex Beamish
Toronto, Ontario
aka talexb
you, I am able to report that, no, IPC::Run does not
appear to work under mod_perl -- I have posted a node at
http://perlmonks.org/?node_id=590115
with more information. Next step, the more complicated solution.
--
Alex Beamish
Toronto, Ontario
aka talexb
b or something to hit them all a
> few times at the same URL.
the files are being created, with content. That isn't the problem.
I've used the -X option to run Apache without spawning any kids .. that
might make it easier for you to gather profiling information.
--
Alex Beamish
Toronto, Ontario
aka talexb
h a daemon that is
itself running interactive programs through IPC::Run), I'm going to
seriously consider looking through the mod_perl docs to see if there's a way
to make sure a reader understands that if they want to do anything with
STDOUT .. that they can't.
--
Alex Beamish
Toronto, Ontario
aka talexb
On 12/13/06, Robert Landrum <[EMAIL PROTECTED]> wrote:
Alex Beamish wrote:
> I'll deal with multiple documents with some combination of stale timers
> and LRU slots, but that's not really what I see as the most complicated
> or difficult part of this problem. For this p
On 12/12/06, Jonathan Vanasco <[EMAIL PROTECTED]> wrote:
On Dec 12, 2006, at 6:13 PM, Robert Landrum wrote:
> Alex Beamish wrote:
>> What I'm trying to do is come up with scaled page images from a
>> PDF on the fly. Thus, I want to launch Ghostscript and then a
kly produce the required page image.
Suggestions welcome.
--
Alex Beamish
Toronto, Ontario
ot;Accept-Encoding: gzip" header, I don't get compressed data back.
Any ideas?
-- Alex
1) either terminate the whole further processing by Apache -> client
would get connection aborted / access denied / server error or whatever
2) or redirect the request to some other url / file
In both cases the orignal url should not be further processed by other
filters / Apache.
Thank You
Alex
--- End Message ---
&appdata=requestlabel
Thanks,
Alex
.
However, Apache2::Status always displays 2 connection.
Am I missing something?
Apache2::Status 4.0
Perl 5.8.7
Apache 2.2.0
mod_perl 2.02
Apache::DBI 0.9901
Thanks,
Alex
worked, too
(appearance of Directory Index was partly altered, depending on the
handler).
Does this only have to do with me using an old version of
Apache::Filter(ver. 0.01) [1], which is not yet "directory-aware" or
could there be other reasons?
Any hints highly appr
targeted to WSSO, and you'd be probably
> better off starting from scratch or from HTTP::Proxy by Philippe Bruhat.
Not sure if this is of any use, but it's what LiveJournal.com use as a
reverse HTTP proxy:
http://www.danga.com/perlbal/
-- Alex
on how
fast they respond).
Just thought I should put this in for the archives.
Regards,
-- Alex
On Mon, 31 Jan 2005 17:55:27 -0500, Perrin Harkins <[EMAIL PROTECTED]> wrote:
> On Mon, 2005-01-31 at 21:23 +0000, Alex Greg wrote:
> > I'm using Apache::RegistryFilter:
> >
> > PerlHandler Apache::RegistryFilter Apache::Dynagzip
> >
> > See the attache
On Mon, 31 Jan 2005 15:34:05 -0500, Perrin Harkins <[EMAIL PROTECTED]> wrote:
> On Sun, 2005-01-30 at 21:54 +0000, Alex Greg wrote:
> > The problem I have found is that when I modify print_content_type as
> > follows:
> >
> > sub print_content_type
On Sun, 30 Jan 2005 23:02:53 -0500, Stas Bekman <[EMAIL PROTECTED]> wrote:
> Alex Greg wrote:
> > Hi,
> >
> >
> > I've been trying for some considerable time now to implement web
> > content compression for our application, but it seems impossible
> &
SH reference" error, but the solution he suggested (using
"$r = Apache->request->pnotes('filterobject')" instead of "$r =
Apache->request" produced the same error.
Regards,
-- Alex
On Thu, 06 Jan 2005 14:40:20 -0500, Perrin Harkins <[EMAIL PROTECTED]> wrote:
> On Thu, 2005-01-06 at 19:35 +0000, Alex Greg wrote:
> > Any further advice would be appreciated, before I take the next step
> > and compile my own Perl.
>
> The final variable here i
On Thu, 6 Jan 2005 12:40:01 -0600, Frank Wiles <[EMAIL PROTECTED]> wrote:
> On Thu, 6 Jan 2005 18:15:27 +0000
> Alex Greg <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> >
> > Recently I've upgraded one of our mod_perl servers to Fedora Co
od_perl 1.29 and run on
identical hardware (P4 3.06Ghz, 3GB RAM). The only reason we're using
Fedora Core 3 on the 4th one is because the SCSI firmware version is
different and doesn't work under Fedora Core 1.
Any advice on this would be much appreciated.
Regards,
-- Alex
On 24 Dec 2004 20:53:57 -0600, Slava Bizyayev <[EMAIL PROTECTED]> wrote:
> Please Alex, "reply to all" in order to keep the thread on list.
Yikes! Sorry about that - I'm still not quite used to Gmail's interface!
> I believe that Ken Williams could give you a
r On
PerlSendHeader Off
PerlSetupEnv On
AllowOverride AuthConfig
Options +ExecCGI
Any advice on this would be much appreciated, as I have been banging
my head against it all evening!
-- Alex
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apa
r application, so I'm not
sure why it's being sent by Dynagzip as well.
Can anyone shed any light on this, or suggest an alternative way to
dynamically compress the output from mod_perl?
Regards,
-- Alex
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apach
Tom Schindl wrote:
Alex Greg wrote:
Geoffrey Young wrote:
[...]
Thanks for your response. Sorry I wasn't clear; the httpd processes
don't actually kill the server, they just slow Apache right down to
the point at which it doesn't respond to requests any more. I am still
able
Geoffrey Young wrote:
Alex Greg wrote:
Hi,
[...]
[Thu Sep 30 09:44:43 2004] [error] (12)Cannot allocate memory: fork:
Unable to fork new process
there is lots of documentation around about how to tune your httpd processes
so that they don't kill your box. see, for example
nobody 29980 0.0 7.0 78476 72324 ? S 10:09 0:00 /www/bin/httpd
root 29982 0.0 0.0 5052 572 pts/0 R 10:09 0:00 grep ht
Any ideas as to what might be causing this problem would be greatly
appreciated.
Regards,
-- Alex
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://pe
I applied temporary solution
just to tame my clients. I inserted in my script
the lines 'if ($type='application/msword') {...}
just to cut out both leading and trailing \r\n's.
And it works!!
But I'm curious to find the source of the problem.
Plans: to use libapreq though
sion for this sort of files. Any suggestions?
--
Regards,
Alex mailto:[EMAIL PROTECTED]
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
tate - should I DEGRADE my system to find
out what was wrong with my perl-5.8.1-1.RC4.mdk?
Regards,
Alex
___ALL-NEW Yahoo! Messenger -
so many all-new ways to express yourself
erl tier. Is this advisable?
>>sure, take your time. but please follow up to the list.
Sorry Stas, I press automatically the Respond button and realized itwas your private account afterwards... will never repeat this.
Best regards, Alex Oboimov
ALL-NEW
Yahoo! Messenger - so many
all-new ways to express yourself
have. Suppose, without symbols compiled in there's not enough
information
SB> And if it reports that there was a segfault, show us exactly how did you
SB> invoke gdb.
Shown above.
SB> Thanks.
Sorry for this lengthy message, thanks.
Alex
--
Report problems: http:/
ache2/lib/libaprutil-0.so.0...done.
Loaded symbols for /usr/local/apache2/lib/libaprutil-0.so.0
Here follows 120 lines of Reading symbols/Loaded symbols without any
errors...
Sorry I haven't included debug options in httpd nor modperl builds...
This report was generated by t/REPORT on Thu
ad:
$SIG{USR1} = \&usr1_handler;
$SIG{TERM} = \&term_handler;
$SIG{PIPE} = \&pipe_handler;
$SIG{__WARN__} = \&warn_handler;
$SIG{__DIE__} = \&die_handler;
in it that were not local'd. Once I commented these out, things started
working again
che 1.3.31, mod_perl 1.29.
Cheers,
Alex
--
Alex Krohn <[EMAIL PROTECTED]>
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
63 matches
Mail list logo