Re: Perl Run and Load Average

2003-06-05 Thread Batara Kesuma
Hi Dale, > Assuming your CGI scripts aren't doing strange things, liking hanging > around after the session has closed and doing clean-up work, you might > check your httpd.conf settings on the number of threads and requests per > threads. Its possible that your httpd threads are short-lived and

Re: [mp2] How do I find Documentation on . . .

2003-06-05 Thread Jack Nerad
Thanks for your reply. I really appreciate your time, so I'll keep it brief. Stas Bekman wrote: Jack Nerad wrote: From December 2002. I saw no response to this message. Have things stabilized enough yet that there is documentation for these things? There is a dynamic tool helping to figure

Re: Perl Run and Load Average

2003-06-05 Thread Dale Lancaster
Assuming your CGI scripts aren't doing strange things, liking hanging around after the session has closed and doing clean-up work, you might check your httpd.conf settings on the number of threads and requests per threads. Its possible that your httpd threads are short-lived and restarting more of

Re: DirectoryIndex doesn't see SetHandler path

2003-06-05 Thread Stas Bekman
Michael Kropinack wrote: Mark, I think that I may be able to clarify this. I ran into the same type of problem a few weeks ago. I had always defined my handlers inside a "Location" block and couldn't get the DirectoryIndex to work properly. I solved my problem by calling my handler from with

RE: DirectoryIndex doesn't see SetHandler path

2003-06-05 Thread Michael Kropinack
Mark, I think that I may be able to clarify this. I ran into the same type of problem a few weeks ago. I had always defined my handlers inside a "Location" block and couldn't get the DirectoryIndex to work properly. I solved my problem by calling my handler from within a "Directory" block in

Re: [mp2] How do I find Documentation on . . .

2003-06-05 Thread Stas Bekman
Jack Nerad wrote: Thanks for your reply. I really appreciate your time, so I'll keep it brief. Stas Bekman wrote: Jack Nerad wrote: From December 2002. I saw no response to this message. Have things stabilized enough yet that there is documentation for these things? There is a dynamic tool

Re: Perl Run and Load Average

2003-06-05 Thread Batara Kesuma
Hi Stas, > Based on your previous questions, my guess is that you are using > mod_perl 1.99_09. Please be more verbose about your setup when asking > questions. Sorry, here is my setup. mod_perl-1.99_09 httpd-2.0.40 > Do you preload the modules that you use at the server startup? Your > PerlRun

DirectoryIndex doesn't see SetHandler path

2003-06-05 Thread Marc M. Adkins
This is going to seem odd...obscure...dumb... I've been using code like this to set up handlers: SetHandler perl-script PerlResponseHandler Some::Handler Now I'm using this code to set up handlers for individual pages. The directive above is in a sense telling Apache "the

Re: Perl Run and Load Average

2003-06-05 Thread Stas Bekman
Batara Kesuma wrote: Hi, I have changed all my CGI scripts to run under Perl Run, and now I notice that the load average of my server (it is a dual CPUs) is very high. It stays around 2.5 all the time. Before, when I was running plain CGI, it was around 0.6 - 1.2. I checked the log file and I foun

Perl Run and Load Average

2003-06-05 Thread Batara Kesuma
Hi, I have changed all my CGI scripts to run under Perl Run, and now I notice that the load average of my server (it is a dual CPUs) is very high. It stays around 2.5 all the time. Before, when I was running plain CGI, it was around 0.6 - 1.2. I checked the log file and I found that I only have ar

Re: How tell what version of mod_perl is installed?

2003-06-05 Thread Stas Bekman
Thomas Klausner wrote: Hi! On Don, Jun 05, 2003 at 12:35:37 -0700, Dennis G. Allard wrote: I am running Red Hat 8.0, Apache/2.0.40. AFAIK, mod_perl 1.x won't run with Apache 2.0, so I'm quite sure you're running mod_perl 2 (which comes shipped with Red Hat 8) But Dennis, you don't want the ver

Re: How tell what version of mod_perl is installed?

2003-06-05 Thread Thomas Klausner
Hi! On Don, Jun 05, 2003 at 12:35:37 -0700, Dennis G. Allard wrote: > I am running Red Hat 8.0, Apache/2.0.40. AFAIK, mod_perl 1.x won't run with Apache 2.0, so I'm quite sure you're running mod_perl 2 (which comes shipped with Red Hat 8) -- #!/usr/bin/perl http:/

How tell what version of mod_perl is installed?

2003-06-05 Thread Dennis G. Allard
I ran into some problems trying to get a Perl CGI script to make use of IPC::Sharelite, so I want to understand the Apache and mod_perl threading model in order to be able to use shared memory across multiple Apache threads. For starters, I better make sure I learn more about mod_perl 2.0, as in,

Re: [mp2] make test fails to start httpd

2003-06-05 Thread Stas Bekman
Dave wrote: Stas Bekman wrote: You don't tell which version of OpenBSD you are on. sorry, openbsd 3.3 with perl 5.8.0 FWIW, Philippe reported having no problems running mod_perl 2.0 on OpenBSD 3.3 (though I think you need to use current cvs for that). thats good, I guess I'll try the code fr

Re: [mp2] make test fails to start httpd

2003-06-05 Thread Dave
Stas Bekman wrote: > You don't tell which version of OpenBSD you are on. sorry, openbsd 3.3 with perl 5.8.0 > FWIW, Philippe reported having no problems running mod_perl 2.0 on OpenBSD 3.3 > (though I think you need to use current cvs for that). thats good, I guess I'll try the code from cvs. D

Re: [mp2] make test fails to start httpd

2003-06-05 Thread Stas Bekman
Eric Schwartz wrote: On Wednesday, Jun 4, 2003, at 11:52 America/Denver, Dave wrote: I am having the exact same test failure results on openbsd, and the archives show that some people have had similar problems, with no resolution that I have seen. what happens if you manually run /usr/local/apach

Re: [mp2] make test fails to start httpd

2003-06-05 Thread Eric Schwartz
On Wednesday, Jun 4, 2003, at 11:52 America/Denver, Dave wrote: I am having the exact same test failure results on openbsd, and the archives show that some people have had similar problems, with no resolution that I have seen. what happens if you manually run /usr/local/apache2/bin/httpd -X -d ./t

Re: [mp2] make test fails to start httpd

2003-06-05 Thread Stas Bekman
Dave wrote: I am having the exact same test failure results on openbsd, and the archives show that some people have had similar problems, with no resolution that I have seen. sure, and it was the same problem with aix earlier. The problem is with DSO loading and it's a different problem on each pl

Re: [mp2] How do I find Documentation on . . .

2003-06-05 Thread Stas Bekman
Jack Nerad wrote: From December 2002. I saw no response to this message. Have things stabilized enough yet that there is documentation for these things? There is a dynamic tool helping to figure out what's available: http://perl.apache.org/docs/2.0/api/ModPerl/MethodLookup.html The real documenta

RE: font width to pixel width in perl - but also offtopic in javascript

2003-06-05 Thread Davis, Benjamin
Image::Magick with a call to QueryFontMetrics should do the job. Ben Davis -Original Message- From: Martin Moss [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 7:03 AM To: Ken Y. Clark Cc: [EMAIL PROTECTED] Subject: Re: font width to pixel width in perl - but also offtopic in j

Re: modperl 2.0: apache crashes when running modperl script

2003-06-05 Thread arunappa
Stas Bekman <[EMAIL PROTECTED]> wrote: >'make install' after you have rebuilt mod_perl with MP_DEBUG=1? try to nuke >/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/Apache >and 'make install' again. > >Actually I know why this happens and why you have the segfault > >since you have

RE: [OT] CGI::Push

2003-06-05 Thread McLean, Grant
Issac Goldstand wrote: > Does anyone have success/failure stories using Push responses? > > Please share. Thanks. I have successfully developed a couple of interesting push-based solutions, but the fact that IE didn't (doesn't?) support push meant that they weren't useful to my user base. Gra

Re: [mp2] make test fails to start httpd

2003-06-05 Thread Dave
Ged Haywood wrote: > On Wed, 4 Jun 2003, Dave wrote: > > > I am having the exact same test failure results on openbsd > > Did you build the Perl on that machine? > > If not, it might be worth a shot. yes I did, I recompiled with debugging, and which causes the segfault to occur in different func

Re: [mp2] make test fails to start httpd

2003-06-05 Thread Ged Haywood
Hi there, On Wed, 4 Jun 2003, Dave wrote: > I am having the exact same test failure results on openbsd Did you build the Perl on that machine? If not, it might be worth a shot. 73, Ged.

Re: [mp2] make test fails to start httpd

2003-06-05 Thread Dave
I am having the exact same test failure results on openbsd, and the archives show that some people have had similar problems, with no resolution that I have seen. what happens if you manually run /usr/local/apache2/bin/httpd -X -d ./t -f cont/httpd.conf from within the toplevel mod_perl-1.99_09

Re: mod_perl and CGI.pm and version 1.x and hell

2003-06-05 Thread Henrique Pantarotto
> it helps when problem reports include information that helps to debug the > problem. We can't possibly guess what setup you are using. In this case which > CGI version are you using? CGI 2.93 works just fine with mp1 and mp2. > > CGI.pm does 'require Apache' only if it detects no mod_perl 2, b

The Register Adopts Bricolage

2003-06-05 Thread David Wheeler
Hi All, In yet another success for mod_perl, _The Register_ is currently building a Bricolage-powered content management infrastructure to power their site. They announcement is here: http://www.theregister.co.uk/content/31/30959.html Regards, David PS: There have been a couple of other ar

Re: font width to pixel width in perl - but also offtopic in javascript

2003-06-05 Thread Martin Moss
Thanks, I may well have found a solution within javascript, which is then user end calculated, so more efficient and reliable, But thanks I'll remember GD for later use:-) Marty - Original Message - From: "Ken Y. Clark" <[EMAIL PROTECTED]> To: "Martin Moss" <[EMAIL PROTECTED]> Cc: <[EMA

Re: font width to pixel width in perl - but also offtopic in javascript

2003-06-05 Thread Ken Y. Clark
On Wed, 4 Jun 2003, Martin Moss wrote: > Date: Wed, 4 Jun 2003 14:46:52 +0100 > From: Martin Moss <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: font width to pixel width in perl - but also offtopic in > javascript > > Hi All, > > I'm sure this can't be an issue that hasn't been tackle

font width to pixel width in perl - but also offtopic in javascript

2003-06-05 Thread Martin Moss
Hi All, I'm sure this can't be an issue that hasn't been tackled, but I couldn't find anything in the archives so:- I'm trying to find a way in which I can calculate the pixel width of a string in a given font. I'm doing this to feed a javascript file, so I am also looking at doing this in javasc