Greetings.
So mod_perl has a slight speed edge over fastcgi (which is overthrottled
a
little with four servers).
Really? Maybe this is because multi-process handling isn't as fast on NT.
Does it change much if you vary the number of servers?
Well, I am getting a little wary of the numbers I
Greetings.
This
documentationpatchaddressesthe single thread snafu
on Win32.
Comments, corrections and additions
(even subtractions) welcome. (Also on the hot topic of the day: where in the doc
does this fit?)
Cheers,
alf
modperl_multithread_NT.pod
Description: Binary data
Greetings.
[following Stas' suggestion I have subscribed to the list and
posted the patch there, so I am crossposting]
Do you know if FastCGI is multi-threaded or multi-process on
Windows?
Multi process. Each process speaks tomod_fastcgi over a
named pipe. As you mention, this (being
Greetings.
[...]
This documentation patch addresses the single thread snafu on Win32.
Comments, corrections and additions (even subtractions)
welcome. (Also on the hot topic of the day: where in the doc does this
fit?)
Nice, but please repost it inlined. Otherwise people won't be able to
Greetings.
Randy That's great that you thought this out and put it together;
Randy a few comments below appear below ...
Thanks for playing editor - and I am accepting all of your suggestions,
with the possible exception of what follows.
Randy I got confused about which is the first and which
Greetings.
Stas so if Alessandro or Randy volunteers (please say so), please
Stas ask winXX
Stas users to send you more winXX specific notes/scenarios and you (the
Stas volunteer) will be the official maintainer of the doc and send me the
Stas new doc and then the future patches. For 2.0 you
Greetings.
You may be in need of
AddModule mod_perl.c
After the ClearModuleList somewhere around line 207 of httpd.conf as
distributed.
(What's ClearModuleList's used for anyway? I never really understood it -
but then again, I never really read its documentation...)
As for mod_perl on win32,
Greetings.
I realize this is an Off-Topic with serious flamage potential, so I'll keep
it very short.
Is anybody aware of any module capable of doing for the ASP environment what
Apache::Registry does for mod_perl? (i.e. making an asp request look and
feel as if it were an old plain cgi-bin)
Greetings.
Thanks to all the respondednts - as it looks my original message was too
terse, I'll try to clarify a bit.
I have an app that already works on Apache CGI.pm, Apache::Registry and
FastCGI.
It also works under PWS/IIS as CGI - and I'll be testing it under AS's
perlex shortly.
At
Greetings.
I found that building with MP_AP_PREFIX=D:\Program Files\Apache2
is problematic.
The build process chokes first in TestConfigParse:
D:\Program Files\Apache2/bin/Apache.exe -l failed:
Bad file descriptor at Apache-Test/lib/Apache/TestConfig.pm line 777,
DATA chunk 1.
If this is
Greetings.
This is relative to several problems on Win32/NTSP6/AP build 630.
Short executive report: nothing seems to work :-)
-8-- Start Bug Report 8--
1. Problem Description:
I have tried these with both the released mod_perl *AND* the latest CVS
Greetings.
Compiling and running the snapshots for BOTH apache and modperl (May 6th
snapshots)
on windowsNT sp6, I observe the following:
i) the tests punt on conftree.t (it goes on forever)
ii) installing and testing in a registry situation the request succeeds on
the first
invocation, but
Greetings.
[...]
Apache builds and installs fine, mod_perl2 builds fine but running
`nmake test` crashes the instance of apache2 created by the
TEST script.
[...]
I have exactly the same behavior with May 6 snapshots (Visual Studio 6SP3,
WinNT SP6) - quoting myself from a different thread:
Greetings,
[...]
Hi
about combinatorial I think not only compat2 is involved here
in test suites I have ran
[...]
Wow. this is great detective work you have done Pascal.
I have tried to go deeper and actually debug the thing. However, while I can
get a debug version of apache I am stumped
Greetings
Doug McEachern wrote:
[...]
avoiding use of PL_sv_no has cured all segfaults on win32.
the fixes have
been checked into cvs.
there are still a few tests that fail, but none that trigger
a segfault.
With the latest nodperl CVS snapshot the tally of the tests is much
improved.
Greetings.
Well now...
There is a residual crash at dir_config.t (WinNT SP6 - MS Visual
Studio 6 SP3).
all tests pass for me with both 5.6.1 and bleedperl,
httpd-2.0 from cvs on
xp with msdev 6.0. i also tried 5.6.1 with no debug symbols,
still all
pass. would help to know which
Greetings.
A few updates...
i) modperl-2.0_20020514042137.tar.gz
Now tests cleanly on:
WinNT SP6/MSDEV 6 SP3/AS perl 5.6.1 b630/httpd-2.0_20020506161223.tar.gz
ii) It does however crash on my testbed app (which runs as standard CGI,
FastCGI and
moperl1). The crash itself appears to
Greetings.
[...]
do you have a simple test case to reproduce the problem?
No, I do not. I hope I will be able get/build/test the latest CVS this week,
and perhaps I'll be able to work on making the problem
reproducible/debuggable which may well mean
I'll have to build a debugperl.
Some
reetings.
ok to try with perl 5.8.0 but i have many modules installed
with ppm from
http://theoryx5.uwinnipeg.ca/ppmpackages
and those of activestate perl.
I am able to install ppm package to a perl 5.8.0 i compile
myself , without
activestate ppm ?
for instance modules that
[ Recipients of this message are either subscribers to the modperl or
perlporters lists,
or listed as authors of theinvolved modules]
-Original Message-
From: [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 03, 2002 9:38 PM
To: Alessandro Forghieri
Cc: [EMAIL PROTECTED]
Subject
Greetings.
I am hitting a complex Registry application with a number of almost
simultaneous, long running requests
(WinNT SP6 - VC++6 SP3 - perl5.8.0 RC1 - latest dev snapshot for modperl -
httpd-2.0_20020530041218.tar.gz for apache - everything built debug - a few
date.t tests fail on nmake
Greetings.
Running NT4SP6, 5.8RC1 compiled debug.
The following session:
D:\Apache2perl -d -e 42
Loading DB routines from perl5db.pl version 1.19
Editor support available.
Enter h or `h h' for help, or `perldoc perldebug' for more help.
main::(-e:1): 42
DB1 ;{use threads;my
Greetings.
On Fri, Jun 14, 2002 at 12:44:50PM +0200, Alessandro Forghieri wrote:
Running NT4SP6, 5.8RC1 compiled debug.
The following session:
D:\Apache2perl -d -e 42
DB1 ;{use threads;my $var=1;threads-create(sub{$var++})-join();}
Crashes the intepreter, in perl.c:
[...]
Sorry
Greetings.
Randy Kobes wrote:
[...]
There is still some demand for the
all-inclusive apache/perl/mod_perl perl-win32-bin-x.x.exe binary
packages we have,
Uhm, yes I would be in that audience :)
but I wasn't planning on making a new one of
those until perl-5.8 is officially released.
Greetings.
Nigel Peck wrote:
Thanks for the help. When did I reply to you privately?
This was just to reiterate for everybody to keep the threads on the
list. Since many times those who respond to the questions, suffer
afterwards because people decide that the person answering
the
Greetings
[...]
there's a better way - if anyone's familiar with this, could you
drop me a mine, privately? Thanks.
^
Are you sure this is *really* what you want? :
(Sorry I could not resist).
Cheers,
alf
Greetings.
on my machine:
C:\ perl - e 42 -d
Default die handler restored.
Loading DB routines from perl5db.pl version 1.07
Editor support available.
Enter h or `h h' for help, or `perldoc perldebug' for more help.
main::(-e:1): 42
DB1 opendir(DIR,'//webteam/') || warn($!)
No such file
Greetings.
I have observed the same behavior (on win32).
Scripts that are invoked from the same browser through the same URL appear
to bind to the same
perl thread and are therefore serialized. Changing the URL appears to bind
the request to a different thread. (My observation regarded access
Greetings.
I just installed the great perl-5.8-win32-bin.tar.gz package that Randy
Kobes mantains on uwinnipeg.
Two folders are missing from site/lib/Win32Api :
Registry/cRegistry.pc
File/cFile.pc
This is an installation bug of libwin32 - the files are generated but not
installed, so they
Greetings.
From:
http://perl.apache.org/docs/2.0/user/config/config.html#Enabling_mod_perl
[...]
Win32 users need to make sure that the path to the Perl binary (e.g.,
C:\Perl\bin) is in the PATH environment variable.
[...]
Is it not true that the directive LoadFile C:\foo\perl58.dll makes path
Greetings.
This happens on win32.
If the following is inserted in httpd.conf:
Perl
/Perl
I get, reasonbly enough:
Syntax error on line 961 of D:/Apache2/conf/httpd.conf:
Perl sections not yet implemented in modperl-2.0
Tough, but fair. But why should the following:
IfDefine fubar
Perl
Greetings.
On Mon, 19 Aug 2002, Pierre Vaudrey wrote:
with the following starnge error (The Title is displayed but not the
vignette.gif file)
[Mon Aug 19 07:22:24 2002] [error] Missing right curly or
square bracket
at /Library/WebServer/Documents/perl/vignette.gif line 1,
at
Greetings.
People often seem to get bent out of shape about putting a
few Location directives in httpd.conf,
I suspect that it may be due to the intimidating length that httpd.conf has
reached in these times. I found that separating customizations in breakaway
'Include'd .conf files - and
Greetings.
[...]
Rob Bloodgood wrote:
I tried Apache::Session::File, but after MUCH hair-pulling
it seems that the
Lock mechanism is COMPLETELY hosed (things are either never
locked or never
unlocked, or something...)
AFAIK, Win32 has no flock.
I once ran into the same
Greetings.
[...]
[snip]
CS:The W3C's stance on refresh is the same for the header as
well as the
CS:meta tag: they did not originally intend for it to be used
to specify a
CS:*different* URL as a rudimentary method of redirection.
[...]
i was bitten by this assumption recently. case
Greetings.
Now this is OT'ish but...
print(titleTITRE DE LA PAGE\/title);
Why are you escaping all your '/'s? There is no need to do it.
Cheers,
alf
P.S: I strongly suspect that the sleep call and its position (what if you
move it above the /body tag?) are to blame for the behavior you see
Greetings.
-Original Message-
[...]
Apparently permissions on winNT is something
unexpected and new for those who are used to older win32 systems.
Moreover, error_log usually tells what the exact problem is when the
code is written properly to report errors (e.g., checking the
Greetings.
Alessandro Forghieri wrote:
[...]
use Bar qw($foo);
if($foo) {
...
Global symbol $foo requires explicit package name at
use vars qw($foo);
use Bar qw($foo);
[...]
Not sure I am following you here. $foo is in the @EXPORT_OK list of module
Bar, which is, in turn,an Exporter
Greetings.
I am afraid this is rapidly becoming less than relevant, however..
-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]]
[...]
You have to declare variables as globals before using them.
Agreed
Even the imported ones. That's a pure perl issue. Please proceed
Greetings.
[...]
The issue: The simplest script I can't think of doesn't work.
my $r = shift;
$r-send_http_header(text/plain);
$r-print(hello world);
When I try to access the script, my MSIE 6.0 prompts for
download when it
should simple print the hello world string.
40 matches
Mail list logo