On Tue, Aug 25, 2009 at 7:20 PM, Igor Chudov wrote:
> My new perlbal.conf is included:
>
> REATE POOL dynamic
> pool dynamic add 127.0.0.1:10080
>
> CREATE SERVICE balancer
> SET listen = 0.0.0.0:80
> SET role = reverse_proxy
> SET pool = dynamic
> SET pe
I have an update on this story.
I set up a shell script that would notice this condition (empty pages
returned) and alert me immediately via "wall" within 10 seconds.
So I caught this in progress, before my 5 minute restarter would intervene,
and experimented quickly.
As I mentioned before, I ha
On Tue, Aug 25, 2009 at 8:50 PM, Fred Moyer wrote:
>
> > My plan is to:
> >
> > 1) Remove ubuntu mod_perl package
> > 2) Do make install
> > 3) test
> >
> > If test succeeds, I will stop. If test fails, I would reinstall the
> system
> > mod_perl.
> >
> > Is that a safe plan?
>
> I'd try this on
On Tue, Aug 25, 2009 at 1:07 PM, Igor Chudov wrote:
>> > The risks involved are kind of big here. So I want to be safe and have a
>> > good plan.
>>
>> Suggest building this side by side with your existing installation.
>> Suggest testing this out first on your test environment.
>
> OK, I did build
On Tue, Aug 25, 2009 at 2:24 PM, Fred Moyer wrote:
> Igor,
>
> Please cc the mod_perl list on all replies. I'm available for
> professional mod_perl consulting offlist, but I don't come cheap :)
>
Sorry, I pressed a wrong button in GMail. :)
>
> On Tue, Aug 25, 2009 at 12:14 PM, Igor Chudov w
Igor,
Please cc the mod_perl list on all replies. I'm available for
professional mod_perl consulting offlist, but I don't come cheap :)
On Tue, Aug 25, 2009 at 12:14 PM, Igor Chudov wrote:
>
>
> On Tue, Aug 25, 2009 at 2:07 PM, Fred Moyer wrote:
>>
>> > *** mod_perl version 2.03
>>
>> Sugge
On Tue, Aug 25, 2009 at 12:05 PM, Igor Chudov wrote:
>
>
> On Tue, Aug 25, 2009 at 12:16 PM, Fred Moyer wrote:
>>
>> One great tool that would help with the diagnosis is the very useful
>> mp2bug, found in mod_perl-2.0/bin/mp2bug
>>
>> Can you run that from your mod_perl install and post the outpu
On Tue, Aug 25, 2009 at 12:16 PM, Fred Moyer wrote:
> One great tool that would help with the diagnosis is the very useful
> mp2bug, found in mod_perl-2.0/bin/mp2bug
>
> Can you run that from your mod_perl install and post the output?
> Version details are a huge clue in solving mysteries like th
Perrin, the pages are zero length. In my script that checks for this
condition, if I find trouble I save a few webpages to files.
(/, some other page and apache-status). The first two are zero length.
Igor
On Tue, Aug 25, 2009 at 12:14 PM, Perrin Harkins wrote:
> On Tue, Aug 25, 2009 at 1:07 P
Hi Gurus,
I recently started exploring mod_perl, and am really impressed with the
flexibility this can provide for Apache.
This may sound far fetched, but has anyone tried porting mod_perl for web
servers other than Apache. I understand this is developed as a module for
Apache, and integrates
Jean-Damien Durand a écrit :
Here is how I installed StrawberryPerl + mod_perl + apache2 on Windows
(tested onVista):
Ah yes of course you will need to add lines like
LoadFile "C:\strawberry\perl\bin\perl510.dll"
LoadModule perl_module modules/mod_perl.so
LoadFile "C:\Program Files\Apache Soft
Michiel Beijen a écrit :
I'd like to know if it's possible to build mod_perl on Win32; I'd like
to use mod_perl with StrawberryPerl. It seems to be that the only way
that could be done is to compile Apache also with MinGW, and that's not
possible because of limited support for Windows Shared Memo
Malloy - thanks for responding.
Unfortunately using restart_count does not address my issue.
In the http.conf I have the following:
...
PerlConfigRequire conf/startup.pl
...
My test startup.pl has this:
our $INPUT;
print STDERR "Input:";
$INPUT = ;
print STDERR "you entered
One great tool that would help with the diagnosis is the very useful
mp2bug, found in mod_perl-2.0/bin/mp2bug
Can you run that from your mod_perl install and post the output?
Version details are a huge clue in solving mysteries like this.
On Tue, Aug 25, 2009 at 10:10 AM, Igor Chudov wrote:
>
>
>
On Tue, Aug 25, 2009 at 1:07 PM, Igor Chudov wrote:
> Nothing much is in error_log, I do print some of my outputs, but nothing of
> interest.
>
> What I know is that I can retrieve www.algebra.com/apache-status, it works
> fine.
>
> However, retrieving mod_perl pages returns empty pages.
If you me
On Tue, Aug 25, 2009 at 10:50 AM, Frank Wiles wrote:
>
>
> > I am afraid that it is hard to reproduce. Since I run ads and such, I
> cannot
> > really afford to pause for very long to debug the issue, plus it happens
> > randomly. My 5 minute restarter saves me from a very big trouble
>
> No of c
Nothing much is in error_log, I do print some of my outputs, but nothing of
interest.
What I know is that I can retrieve www.algebra.com/apache-status, it works
fine.
However, retrieving mod_perl pages returns empty pages.
Igor
On Tue, Aug 25, 2009 at 11:14 AM, Perrin Harkins wrote:
> On Tue,
William A. Rowe, Jr. wrote on 2009-08-25:
> Michiel Beijen wrote:
>> I'd like to know if it's possible to build mod_perl on Win32; I'd like
>> to use mod_perl with StrawberryPerl. It seems to be that the only way
>> that could be done is to compile Apache also with MinGW, and that's not
>> possibl
Michiel Beijen wrote:
>
> I'd like to know if it's possible to build mod_perl on Win32; I'd like
> to use mod_perl with StrawberryPerl. It seems to be that the only way
> that could be done is to compile Apache also with MinGW, and that's not
> possible because of limited support for Windows Share
On Tue, Aug 25, 2009 at 11:09 AM, Igor Chudov wrote:
> The issue is that at random moments, usually once or twice a day, my
> webserver starts returning completely empty pages instead of actual content.
What's in the error_log?
- Perrin
Fred Moyer wrote:
The issue is that at random moments, usually once or twice a day, my
webserver starts returning completely empty pages instead of actual content.
The pages are mod_perl based.
I've seen this happen sometimes when something segfaults. And segfaults are
usually the result of h
On Tue, Aug 25, 2009 at 10:32 AM, Frank Wiles wrote:
>
> Hmmm, that's a difficult situation to debug. Are you running anything
> in front of apache/mod_perl like perlbal or nginx? If so, those might
> be the cause.
>
I am running perlbal in front of apache, yes. perlbal is a complete
lifesaver
On Tue, Aug 25, 2009 at 8:09 AM, Igor Chudov wrote:
> My website algebra.com has been moved to a new server running Ubuntu Hardy.
>
> While everything seems to be working well, esp. the kernel and solid state
> disk, I have one issue.
>
> The issue is that at random moments, usually once or twice a
Hi all,
I'd like to know if it's possible to build mod_perl on Win32; I'd like
to use mod_perl with StrawberryPerl. It seems to be that the only way
that could be done is to compile Apache also with MinGW, and that's not
possible because of limited support for Windows Shared Memory in MinGW.
Also
There are all kinds of problems that you'll encounter and have to solve if
you fork. I found it's better to call at(1) to start another seperate
process immediatly. If you need to pass data JSON worked really well for
me.
-wjt
On Aug 25, 2009 5:12 AM, "Victor Danilchenko" wrote:
Hi all
My website algebra.com has been moved to a new server running Ubuntu Hardy.
While everything seems to be working well, esp. the kernel and solid state
disk, I have one issue.
The issue is that at random moments, usually once or twice a day, my
webserver starts returning completely empty pages ins
my solution is here:
sub fork_temporary_child {
my $result = fork();
unless( $result ) {
# Do not use SQL in child
dbh->{InactiveDestroy} = 1;
disconnect_dbh;
}
return $result;
}
On Tue, Aug 25, 2009 at 7:11 AM, Victor Danilchenko wrote:
>Hi all,
>
>I need t
On Tue, Aug 25, 2009 at 8:11 AM, Victor Danilchenko wrote:
> I need to be able to fork an Apache process in daemon form, to do
> some housekeeping which might potentially take a few seconds. However, when
> I do that, I start getting SQL errors (of the "connection lost" type) in the
> browse
Hi all,
I need to be able to fork an Apache process in daemon form, to do some
housekeeping which might potentially take a few seconds. However, when I
do that, I start getting SQL errors (of the "connection lost" type) in
the browser. I do the fairly standard cleanup to daemonize the
29 matches
Mail list logo