Re: [RFC] Do Not Run Everything on One mod_perl Server

2000-04-19 Thread Stas Bekman
On Wed, 19 Apr 2000, Matt Carothers wrote: > On Tue, 18 Apr 2000, Stas Bekman wrote: > > > Let's assume that you have two different sets of scripts/code which > > have a little or nothing in common at all (different modules, no base > > code sharing), the basic mod

Re: PerlAddVar ?

2000-05-01 Thread Stas Bekman
quot;Value 2") in @values. > > Any thoughts on this? (I'm not set on the name PerlAddVar, if that's > anyone's concern - but what about the idea of it?) That [the name] would be confusing. How about: PerlSetScalar Foo Bar PerlSetArray Foo A B C PerlPushArray Foo D

Re: PerlAddVar ?

2000-05-01 Thread Stas Bekman
it's placed in. What you can do is to set FQDN variables from within section: $MyEnv::FOO = "bar" @MyEnv::FOO = qw(bar foo); %MyEnv::FOO{bar} = "barfoo"; It doesn't matter whether you define the package MyEnv or not, since it's autovivified when

Re: Is there are secret way to unsubscribe from this mailing list?

2000-05-01 Thread Stas Bekman
or($t=0;($n%$d)==0; > $t++){$n=int($n/$d);}while($t-->0){push(@r,$d);}}if($n>1){push(@r,$n);} > $x=0;map{$x+=(($_>0)?(1< __ Stas Bekman | JAm_pH--Just Another mod_perl Hacker http://stason.org/ | mod_perl Guide http://per

Re: Strange mod_perl output problem - Followup

2000-05-01 Thread Stas Bekman
334-260-3200 > Anteon Corp.DSN 596-5631 > Montgomery, AL > > > __ Stas Bekman | JAm_pH--Just Another mod_perl Hacker http://stason.org/ | mod_perl Guide http://

[request] live server updates + ideas for guide/control.html

2000-05-02 Thread Stas Bekman
the Server Environment Log Rotation Preventing mod_perl Processes From Going Wild Thanks a million! ______ Stas Bekman | JAm_pH--Just Another mod_perl Hacker http://stason.org/ | mod_perl Guide

Re: Apache::DBI

2000-05-03 Thread Stas Bekman
me question > last year with no helpful answer) and the Apache:DBI man > page doesn't touch on this. Are you sure it's not: Opening connections with different parameters http://perl.apache.org/guide/databases.html#Opening_connections_with_differe _

Re: Why does $r->print() dereference its arguments?

2000-05-03 Thread Stas Bekman
pose of this behavior, or is it a misfeature? In my case, > this is not the desired behavior. That's a performance improvement, see: http://perl.apache.org/guide/porting.html#Apache_print_and_CORE_print_ ______ Stas Bekman

RE: Why does $r->print() dereference its arguments?

2000-05-03 Thread Stas Bekman
ar"; > > $r->print(\$foo); > > > > prints "bar" instead of the expected SCALAR(0xDEADBEEF). Can anyone > > explain the purpose of this behavior, or is it a misfeature? > > In my case, > > this is not the desired behavior. > > > > -jwb

RE: Why does $r->print() dereference its arguments?

2000-05-03 Thread Stas Bekman
> > -Original Message- > > From: Stas Bekman [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, May 03, 2000 2:07 PM > > To: Geoffrey Young > > Cc: mod_perl list > > Subject: RE: Why does $r->print() dereference its arguments? > > >

search engine for the Guide (was Re: Why does $r->print()...)

2000-05-03 Thread Stas Bekman
> > > Stas Bekman wrote: > > > the guide is getting so big these days, it's hard to keep up with all the > > > new developments. Or maybe that entered a few versions ago :) It's along > > > way from the mini-guide that got me started... > ___c

Re: search engine for the Guide (was Re: Why does $r->print()...)

2000-05-04 Thread Stas Bekman
On Wed, 3 May 2000, Matt Sergeant wrote: > On Wed, 3 May 2000, Stas Bekman wrote: > > > Yeah, I've been thinking about it. There was one site that has offered me > > to provide a good search engine and they did, but the problem is that they > > didn't keep up

Re: search engine for the Guide

2000-05-04 Thread Stas Bekman
> On Thu, 4 May 2000, Stas Bekman wrote: > > > On Wed, 3 May 2000, Matt Sergeant wrote: > > > > > On Wed, 3 May 2000, Stas Bekman wrote: > > > > > > > Yeah, I've been thinking about it. There was one site that has offered me > > > &

Re: search engine for the Guide

2000-05-04 Thread Stas Bekman
On Thu, 4 May 2000, Matt Sergeant wrote: > On Thu, 4 May 2000, Stas Bekman wrote: > > > > Yes. On some of the search engines (AltaVista springs to mind) you can > > > search for things on particular web sites, or even links to particular web > > > sites. So as l

RE: Help - Install mod_perl-1.23

2000-05-04 Thread Stas Bekman
tl(18, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = > 0 > 4145 accept(16, {sin_family=AF_INET, sin_port=htons(1122), > sin_addr=inet_addr("127.0.0.1")}, [16]) = 4 > 4145 fcntl(18, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = > 0 > 4145 rt_sigac

RE: Help - Install mod_perl-1.23

2000-05-05 Thread Stas Bekman
25 1999 test.ep > -rw-r--r-- 1 root users 566 Dec 6 1997 test.html > -rw-rw-r-- 1 root users 566 Apr 27 17:00 test.shtml > > -Original Message- > From: Stas Bekman [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 04, 2000 2:58 PM > To: Ja

Re: search engine for the Guide

2000-05-05 Thread Stas Bekman
perl.apache.org site. > > That's another thing that makes the full print out version (PDF) so nice is > that you can do a Find > > At 01:28 PM 5/4/00 +0300, Stas Bekman wrote: > >On Thu, 4 May 2000, Matt Sergeant wrote: > > > > > On Thu, 4 May 200

Re: search engine for the Guide

2000-05-05 Thread Stas Bekman
On Fri, 5 May 2000, Jeremy Howard wrote: > At 01:28 PM 5/4/00 +0300, Stas Bekman wrote: > >Two things: > > > >1) I'd better concentrate on improving the content and structure of the > >Guide and will leave this search engine task to someone who needs to use &

Re: PerlAddVar ?

2000-05-05 Thread Stas Bekman
On Wed, 3 May 2000, Doug MacEachern wrote: > On Mon, 1 May 2000, Stas Bekman wrote: > > > That [the name] would be confusing. How about: > > not if you think of it in terms of an apache table: > > PerlSetVar => ap_table_set > PerlAddVar => ap_table_add OK, i

Re: apxs and first class configuration

2000-05-05 Thread Stas Bekman
rected in the CVS version. -- check out the archives and the Changes file. It's harmless. ______ Stas Bekman | JAm_pH--Just Another mod_perl Hacker http://stason.org/ | mod_perl Guide http://perl.apache.org/gu

Re: sections and custom configuration directives

2000-05-05 Thread Stas Bekman
et Software Ltd. High Performance Web Specialists > Providing mod_perl, XML, Sybase and Oracle solutions > Email for training and consultancy availability. > http://sergeant.org http://xml.sergeant.org > > __ Stas

Re: PerlAddVar ?

2000-05-05 Thread Stas Bekman
On Fri, 5 May 2000, Doug MacEachern wrote: > On Fri, 5 May 2000, Stas Bekman wrote: > > > OK, if this is the case, I'd prefer to have only one variable type -- an > > array - so $r->dir_config will always return a list. So if it's a sigular > > value, it&#x

Re: PerlAddVar ?

2000-05-05 Thread Stas Bekman
> > Cool! I guess it's a non-documented feature :) > > it's documented in ch9 of the eagle book :) If it is, consider it documented in the next version of the Guide :) ______ Stas Bekman | JAm_pH

Re: One cgi test fails w/ "CGI open of tmpfile: Permission denied"

2000-05-06 Thread Stas Bekman
your server under strace/truss to reveal the problem. See the "Help - Install mod_perl-1.23" thread from the last few days and learn how to do it. It's all there. __ Stas Bekman | JAm_pH--Just Another mod_perl Hacker http://stason.org/ | mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] | http://perl.orghttp://stason.org/TULARC/ http://singlesheaven.com| http://perlmonth.com http://sourcegarden.org --

Re: Compiling mod_perl

2000-05-06 Thread Stas Bekman
appreciated! The system I'm using is a Sun Ultra 2 running > Solaris 2.6. http://perl.apache.org/guide/install.html#Installation_Scenarios_for_mod_p __ Stas Bekman | JAm_pH--Just Another mod_perl Hacke

Re: CGI to mod_perl

2000-05-07 Thread Stas Bekman
l.apache.org/guide/troubleshooting.html#Undefined_subroutine_Apache_RO ______ Stas Bekman | JAm_pH--Just Another mod_perl Hacker http://stason.org/ | mod_perl Guide http://perl.apache.org/guide mailto:

[excitement :)] mod_perl rocks!

2000-05-08 Thread Stas Bekman
Take a look at the updated graph of the mod_perl growth: http://perl.apache.org/netcraft/ Pay attention to the ramp! BTW, Apache holds 61.53% of the server market share!!! http://www.netcraft.co.uk/survey/ __ Stas Bekman

[OT] Re: [excitement :)] mod_perl rocks!

2000-05-08 Thread Stas Bekman
On Mon, 8 May 2000, G.W. Haywood wrote: > Hi Stas, > > On Mon, 8 May 2000, Stas Bekman wrote: > > > Take a look at the updated graph of the mod_perl growth: > > > > http://perl.apache.org/netcraft/ > > > > Pay attention to the ramp! > > &

Re: "make test" fails, httpd fails to start

2000-05-08 Thread Stas Bekman
body have any ideas of where to look or how to fix this?? > > Steve Bauer > Cyber Database Solutions. > __ Stas Bekman | JAm_pH--Just Another mod_perl Hacker http://stason.org/ | mod_perl Guide http://perl.ap

Re: "make test" fails, httpd fails to start

2000-05-08 Thread Stas Bekman
to determine why the creation is not happening?? May be file permissions? Or the user/group selection for the child to run under. > Steve Bauer > > Stas Bekman wrote: > > > > On Mon, 8 May 2000, Steve Bauer wrote: > > > > > I have apache 1.3.12, and mod_perl 1.23.

Re: [OT] Re: 100% sessions?

2000-05-10 Thread Stas Bekman
> Stas, this thread is very interesting. Guide material? Yeah, sure. Someone would like to summarize things in a verbose form? Thanks a lot! __ Stas Bekman | JAm_pH--Just Another mod_perl Hacker h

Re: Using -w in a package

2000-05-10 Thread Stas Bekman
nittelija > [EMAIL PROTECTED] > gsm: +358 (0)40 7505640 > ______ Stas Bekman | JAm_pH--Just Another mod_perl Hacker http://stason.org/ | mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] | http://perl.orghttp://stason

[OT] Re: speed up/load balancing of session-based sites

2000-05-11 Thread Stas Bekman
> of some popular lists so I can control how often they are rebuilt. Sorry, Les, but [OT] is Ok when it's somehow related to mod_perl, but for your benefit please take this question to [EMAIL PROTECTED] . __ Stas Bekman | JAm_pH

Re: Best approach for loading several modules

2000-05-11 Thread Stas Bekman
lease read the sections posted by Geoff and others. The *already* posted link: http://perl.apache.org/guide/config.html#The_Confusion_with_use_at_the_ answers your question. Please invest some time into reading before crying "help". Thank you. _______

RE: Virtual servers mixing up "require"d scripts

2000-05-11 Thread Stas Bekman
> as an alternative, I think this crept into the latest guide: > > http://perl.apache.org/guide/control.html#Starting_a_Personal_Server_for_E It's crept there 1.5 years ago :) > > HTH > > --Geoff > > > > > Yeah, it's a pain. And I'd u

[OT] Re: Best approach for loading several modules

2000-05-11 Thread Stas Bekman
hose infamous purple and cyan pages on screen all I didn't want to spoil you the surprise, but it's going to be the plain B&W starting from the next release. Blame Eric for that :) ______ Stas Bekman

talking about cookies (was: session something...)

2000-05-11 Thread Stas Bekman
th cookies turned off. M$ doesn't only prevent technologies from emerging, it also renders the existing ones useless. This sucks! ______ Stas Bekman | JAm_pH--Just Another mod_perl Hacker http://stason.or

Re: What´s better?program with CGI or use handler without CGI?

2000-05-12 Thread Stas Bekman
print b("Hello"); cgi_oo.pl - use CGI (); my $q = CGI->new; print $q->header; print $q->b("Hello"); The numbers were taken by using B::Terse. __ Stas Bekman

Re: PerlSetVar revisited

2000-05-12 Thread Stas Bekman
onfig->get('arrkey'); my %hash = $r->dir_config->get('hashkey'); returns a stringified: values: ARRAY(0x82ee120) hash: HASH(0x82ee090) which cannot be dereferenced. Do I miss something? __ Stas

Re: talking about cookies (was: session something...)

2000-05-12 Thread Stas Bekman
quot;. > Though they're still pretty quiet on the latest IE hole. Heh, you probably have never didn't do support :) it's enough for them to see the two words: "cookies" and "evil" in the same sentence, you know how most of them will conceive it, you shouldn

Re: talking about cookies (was: session something...)

2000-05-12 Thread Stas Bekman
ks: > > > > http://www.cert.org/advisories/CA-2000-02.html > > http://www.microsoft.com/technet/security/crsstQS.asp > > > > So maybe some will get the message. > > Though making ridiculous recommendations like avoiding "promiscuous > > browsing"

[FYI] ApacheCon Europe 2000: Call for Participation (fwd)

2000-05-12 Thread Stas Bekman
-- Forwarded message -- Date: Fri, 12 May 2000 12:47:23 -0400 From: Rodent of Unusual Size <[EMAIL PROTECTED]> Reply-To: ApacheCon Planning Ctte <[EMAIL PROTECTED]> To: ApacheCon Announcements <[EMAIL PROTECTED]>, Apache Announcements <[EMAIL PROTECTED]>, [EMAIL PROTECTED],

Re: Newbie Question -

2000-05-12 Thread Stas Bekman
-8859-1] Whats better?program with C" for a complete showcase. If you don't precompile them, only the minumum set of functions will be inherited, so it's possible to exclude the html generation functions.

Re: PerlSetVar revisited

2000-05-12 Thread Stas Bekman
On Fri, 12 May 2000, Doug MacEachern wrote: > On Fri, 12 May 2000, Stas Bekman wrote: > > > > > Doug MacEachern wrote: > > > > > > OK, if this is the case, I'd prefer to have only one variable type -- an > > > > array - so $r->dir_config

ANNOUNCE: mod_perl version 1.23

2000-05-12 Thread Stas Bekman
Haywood was very kind to review and correct the config, perl, dbm, snippets, advocacy, browserbugs, download, help, modules, troubleshooting, multiuser, obvious, correct_headers, status and hardware chapters. * modules: new: "Apache::RequestNotes" (Geoffrey Young) See http://perl.apache.org/guide Enjoy! __ Stas Bekman | JAm_pH--Just Another mod_perl Hacker http://stason.org/ | mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] | http://perl.orghttp://stason.org/TULARC/ http://singlesheaven.com| http://perlmonth.com http://sourcegarden.org --

Oops Re: ANNOUNCE: mod_perl guide version 1.23

2000-05-12 Thread Stas Bekman
Oops sorry for the typo... something is wrong with me... really It's the guide... not mod_perl... luckily mod_perl 1.23 was already announced :) Enjoy! __ Stas Bekman | JAm_pH--Just Another mod_perl H

Re: Zombie processes under mod_perl

2000-05-15 Thread Stas Bekman
that just installing sfio? Hmm, will this help you? http://perl.apache.org/guide/performance.html#Forking_and_Executing_Subprocess > Or is there a way to use the $r request record outside from mod_perl? > ,i really like the $r but i dont know how to use it outsite mod_perl. > > Thank you very much. >

Re: multiple copies of a module

2000-05-17 Thread Stas Bekman
I > >cannot get it to work, or if there is another way of > >achieving this. > > > > > >Kees > > __ > Gunther Birznieks ([EMAIL PROTECTED]) > Extropia - The Web Technology Company > http://www.extropia.com/ >

Re: multiple copies of a module

2000-05-17 Thread Stas Bekman
On Wed, 17 May 2000, Gunther Birznieks wrote: > At 11:18 AM 5/17/00 +0300, Stas Bekman wrote: > >On Wed, 17 May 2000, Gunther Birznieks wrote: > > > > > I am curious as to why you don't care for 20 different apaches? If you use > > > a mod_proxy front-end,

Re: multiple copies of a module

2000-05-17 Thread Stas Bekman
> Stas Bekman wrote: > > > > Both questions are already answered in the guide: > > > > Kees' original: > > http://perl.apache.org/guide/modules.html#Apache_PerlVINC_set_a_differe > > > > Gunter's suggestion: > > http://perl.a

Re: converting CGI scripts to mod_perl and memory use...

2000-05-18 Thread Stas Bekman
to measure the syntax tree can burn lots of cpu. And as usual the link: http://perl.apache.org/guide/performance.html#Measuring_the_Memory_Usage_of_Su _ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http

Re: passing Apache::File to XS code that expects FILE *?

2000-05-18 Thread Stas Bekman
time myself. guide... guide... guide... :) (I'll keep you updated with the search really soon now) http://perl.apache.org/guide/porting.html#Filehandlers_and_locks_leakages perl < 5.6 use Symbol; { my $fh = gensym; open $fh, } perl5.6 { open my $fh, ... } __

[preview] Search engine for the Guide

2000-05-18 Thread Stas Bekman
s should go his way :) So: The search is at: http://theoryx5.uwinnipeg.ca/cgi-bin/guide-search and the split guide is at: http://theoryx5.uwinnipeg.ca/guide/ Enjoy! _________ Stas Bekman JAm_pH -- Just Another mod_p

Re: Want to work at a Game company?

2000-05-18 Thread Stas Bekman
t; > >> possibly be. At our facility, you will find an on-site fitness-center, > > >> café, free video games, pets and more. For immediate consideration, > > please > > >> send resume and salary requirements to: Origin Systems-Human Resources, > > 5918

Re: [preview] Search engine for the Guide

2000-05-18 Thread Stas Bekman
ant'... The :: are stripped on the fly, since these cannot be used in index, so when you look for Foo::Bar you are actually looking for 'Foo && Bar'. _ Stas Bekman JAm_pH -- Just Anot

Re: [preview] Search engine for the Guide

2000-05-19 Thread Stas Bekman
On Thu, 18 May 2000, Randy Kobes wrote: > On Fri, 19 May 2000, Stas Bekman wrote: > > > On Thu, 18 May 2000, Vivek Khera wrote: > > > > > looks good... one minor issue with the stickyness of the next search > > > feature: > > > > > > typ

Re: [preview] Search engine for the Guide

2000-05-19 Thread Stas Bekman
. Note that '&' is here so > // acronyms like "AT&T" are treated as one word. Unlike SWISH-E, > // ';' does not need to be here to recognize and convert character > // entity references. Interesting, Randy what version did you use? Thanks Ged! __

Re: [preview] Search engine for the Guide

2000-05-19 Thread Stas Bekman
he/she might like to contribute something back to community ;) Ideally, when we complete the tuning of the search engine, we will be able to have the whole site, apache::asp and embperl pages searchable as well. (with Perl style documentation in mind). __

RE: [preview] Search engine for the Guide

2000-05-19 Thread Stas Bekman
-- the search box from http://www.apache.org/search.html is there since the day the guide is online. But as you said -- it's useless, as it's not good for the kind of documentation we have. I've posted a request for comments about the apache.org search engine to the asf members li

Re: [preview] Search engine for the Guide

2000-05-19 Thread Stas Bekman
t the client -- it's a bug. This happened after Randy has made non-stemming as a default. When you turn the stemming on you get it right. Randy, ideas? _________ Stas Bekman JAm_pH -- Just Another mod_perl Hacker

Re: [preview] Search engine for the Guide

2000-05-19 Thread Stas Bekman
On Fri, 19 May 2000, Randy Kobes wrote: > On Fri, 19 May 2000, Stas Bekman wrote: > > > On Fri, 19 May 2000, raptor wrote: > > > > > hi, > > > > > > very interesting. Search for : "statinc" returns nothing and the box get filled > >

RE: PerlFreshRestart Question/Problem

2000-05-19 Thread Stas Bekman
h to one of the servers with 'strace' and see how many stat calls it does with StatINC turned on. _ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PR

RE: PerlFreshRestart Question/Problem

2000-05-19 Thread Stas Bekman
On Fri, 19 May 2000, Doug MacEachern wrote: > On Fri, 19 May 2000, Stas Bekman wrote: > > > Huh? Wasn't the mod_perl 1.23 supposed to fix this problem with DSO? I > > thought to remove this item from the Guide. Are there still problems with > > DSO? > > >

RE: PerlFreshRestart Question/Problem

2000-05-19 Thread Stas Bekman
On Fri, 19 May 2000, Vivek Khera wrote: > >>>>> "SB" == Stas Bekman <[EMAIL PROTECTED]> writes: > > SB> Huh? Wasn't the mod_perl 1.23 supposed to fix this problem with DSO? I > SB> thought to remove this item from the Guide. Are there still

Re: LARGE PERL footprint

2000-05-19 Thread Stas Bekman
s/modules/modules.html?issue=8 http://perlmonth.com/columns/modules/modules.html?issue=9 http://perlmonth.com/columns/modules/modules.html?issue=10 Enjoy! And encourage Steven McDougall (the author) to write more of this great stuff :)

Re: Oops Re: ANNOUNCE: mod_perl guide version 1.23

2000-05-13 Thread Stas Bekman
rab the HTML version, you do: perl -MCPAN -e shell cpan> install Apache::mod_perl_guide __ Stas Bekman | JAm_pH--Just Another mod_perl Hacker http://stason.org/ | mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] |

Re: Problem with @INC

2000-05-13 Thread Stas Bekman
a workaround (I force them all to load on the first run if under modPerl), >however I > thought I'd post, might be something for the developers to think about. > > Cheers, > > Robert Nice > Technical Director > WebsiteBilling.com Inc > ___

Re: Guide search engine (was Re: multiple copies of a module)

2000-05-22 Thread Stas Bekman
nes working. As I've mentioned above you are very welcome to beat their achievement and get an even better engine :) P.S. Asking "who is going to do that" is a bad idea on this list... I'm not bitching, Just telling the fact. If you want something to be done either ask for help or do it yourself

[new] Help With Modules Wanted

2000-05-22 Thread Stas Bekman
es to be implemented. Read the doc and follow the instructions... Enjoy. _ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[

Re: global variables and reparsing (short reproducible example)

2000-05-23 Thread Stas Bekman
es at global scope and not referencing subs before > declaration/definition is therefore recommended. You can control what's being reloaded and what's not: http://perl.apache.org/guide/config.html#Apache_Restarts_Twice_On_Start _

Re: httpd exits with apache-1.3.12 and mod_perl-1.21 on Redhat 6.2

2000-05-25 Thread Stas Bekman
and i386 rpms created. Enjoy. _____ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://perl.org http://stason.org/TULARC http://singlesheaven.com http://perlmonth.com http://sourcegarden.org

Re: Apache::PerlVINC

2000-05-25 Thread Stas Bekman
regarding the guide, even if I don't respond... So keep on those comming, your contributions is what really makes the guide invaluable! _ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_per

Your input for "Apache Rules" article

2000-05-25 Thread Stas Bekman
Folks, please help Thomas to prove the 39.5% of those who don't use Apache, that they should reconsider that. Note that Thomas has agreed to get this forwarded to the list. Please reply directly to him. We (the list) know what you are going to tell :) Thank you. -- Forwarded message ---

[preview] Guide's new design

2000-05-26 Thread Stas Bekman
them soon. It's just a preview. _________ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://perl.org http://stason.org/TULARC http://singlesheaven.com http://perlmonth.com http://sourcegarden.org

[RFC] improving memory mapping thru code exercising

2000-05-29 Thread Stas Bekman
) Any satisfactionary results on this direction or what it just a crazy idea? If my explanation wasn't good enough, the aim was to improve the sharing of the memory pages and reduce the unsharing during the child life to minimum. Thanks.

Re: PerlSetupEnv bug?

2000-05-29 Thread Stas Bekman
SetHandler perl-script PerlHandler +Env PerlSetupEnv Off I've tried the same with Apache::Registry, no matter where I put the PerlSetupEnv directive, the %ENV is ON all the time. I guess the enviroment is being enforced in Registry XS code, no matter what settings is. _

Re: Strange thing about CGI::Cookie?

2000-05-29 Thread Stas Bekman
ne debug mode somehow gets triggered. In all my code that uses CGI.pm I have: use CGI; $CGI::NO_DEBUG = 1; I guess it's the same thing with CGI::Cookie _________ Stas Bekman JAm_pH -- Just Another mo

[segfault] with diagnostics and DProf

2000-05-29 Thread Stas Bekman
PERL_DEBUG=1 APACHE_SRC=../apache_1.3.12/src \ DO_HTTPD=1 USE_APACI=1 PERL_MARK_WHERE=1 EVERYTHING=1 \ APACI_ARGS=--enable-module=info mod_perl 1.24 / apache 1.3.12 Ideas? _ Stas Bekman JAm_pH -- Just Another

Re: 1.2.1 installs ok, but ENV{MOD_PERL} returns false...

2000-05-30 Thread Stas Bekman
gt; running? can I trust the ENV var? Any help offered will be > appreciated. I need to get AxKit up and running to serve xml. Thanks > http://perl.apache.org/guide/install.html#How_can_I_tell_whether_mod_perl_ _ St

Re: backticks in perl sections?

2000-05-30 Thread Stas Bekman
use a fork) or is there an all perl solution for > > Module Sys::Hostname tries to get the name by a syscall before > reverting to uname -n. You might want to give it a try. Like Honza said, but there is no problem with forking at the startup, this is not the fork during the request proc

RE: PerlSetupEnv bug?

2000-05-30 Thread Stas Bekman
On Tue, 30 May 2000, Geoffrey Young wrote: > > -Original Message- > > From: Stas Bekman [mailto:[EMAIL PROTECTED]] > > Sent: Monday, May 29, 2000 8:21 AM > > To: Geoffrey Young > > Cc: '[EMAIL PROTECTED]' > > Subject: Re: PerlSetupEnv bug? &g

Re: installation of GTop and Scoreboard

2000-05-30 Thread Stas Bekman
n DummyScoreboard.xs, line 122 > Please specify prototyping behavior for DummyScoreboard.xs (see perlxs > manual) > make[1]: *** [DummyScoreboard.c] Error 1 > make[1]: Leaving directory `/www/Apache-Scoreboard-0.10/Dummy' > make: *** [subdirs] Error 2 > >

CGI.pm's -compile/-autoload methods

2000-05-30 Thread Stas Bekman
I don't expect to hear from him in the next 2 weeks... _____ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://perl.org

Re: test for mod_perl? for IIS?

2000-06-01 Thread Stas Bekman
#!/usr/bin/perl print "Content-type: text/plain\r\n\r\n"; print join "\n", @INC, "\n"; for (keys %ENV){ print "$_ => $ENV{$_}\n"; } Based on the results from the above script: * mod_perl test: do {} if $ENV{MOD_PERL}; * Apache test : do {} if $ENV{SE

Re: New list archive site

2000-06-01 Thread Stas Bekman
e posts (I think you can do that thru [EMAIL PROTECTED]) and than I'll gladly add your engine to the list at perl.apache.org. _____ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mo

Re: Apache children hanging

2000-06-02 Thread Stas Bekman
erl_x.xx/.gdbinit > > > % curinfo > > > > oops, that should be: > > > > % gdb httpd $pid_of_spinning_process > > (gdb) source modperl_x.xx/.gdbinit > > (gdb) curinfo don't worry, it's on the todo list already. ___

[benchmark] DBI/preload (was Re: [RFC] improving memory mapping thru code exercising)

2000-06-02 Thread Stas Bekman
On Mon, 29 May 2000, Vivek Khera wrote: > >>>>> "SB" == Stas Bekman <[EMAIL PROTECTED]> writes: > > SB> A while ago, a few people have mentioned that it's possible to improve the > SB> way Perl data structures get mapped in memory pages, b

Re: [benchmark] DBI/preload (was Re: [RFC] improving memory mapping thru code exercising)

2000-06-02 Thread Stas Bekman
On Fri, 2 Jun 2000, Perrin Harkins wrote: > On Sat, 3 Jun 2000, Stas Bekman wrote: > > * install_driver (2): > > DBI->install_driver("mysql"); > > I've never seen that before, There is always a first time :) > and it isn't in the DBI perldo

Re: [benchmark] DBI/preload (was Re: [RFC] improving memory mapping thru code exercising)

2000-06-02 Thread Stas Bekman
_driver & connect_on_init 3 3469312 2588672 880640 preload driver 4 3477504 2482176 995328 nothing added 5 3481600 2469888 1011712 connect_on_init _____ Stas Bekman JAm_pH --

[RFC: performance] Initializing DBI.pm

2000-06-02 Thread Stas Bekman
2609152 (ver 1) N = --- = 309 860160 268435456 - 2469888 (ver 5) N = --- = 262 1011712 So you can tell the difference (17% more child processes in the first version). _ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://perl.org http://stason.org/TULARC http://singlesheaven.com http://perlmonth.com http://sourcegarden.org

[RFC: performance] Initializing CGI.pm

2000-06-02 Thread Stas Bekman
that we use in the test script, we can have 50% more child processes than when we don't preload and precompile the methods that we are going to use. META: I've heard that the 3.x generation will be less bloated, so probably I'll have to rerun this using the new version.

[RFC: performance] Preloading Perl Modules at Server Startup

2000-06-02 Thread Stas Bekman
example. Also it's obvious that in your case it's possible that the process size will be bigger and the shared memory will be smaller, since you will use different modules and a different code, so you won't get this fantastic ratio, but this example is certainly helps to feel

Re: [benchmark] DBI/preload (was Re: [RFC] improving memory mapping thru code exercising)

2000-06-04 Thread Stas Bekman
On Sun, 4 Jun 2000, Tim Bunce wrote: > On Sat, Jun 03, 2000 at 02:49:47AM +0300, Stas Bekman wrote: > > On Fri, 2 Jun 2000, Perrin Harkins wrote: > > > > > On Sat, 3 Jun 2000, Stas Bekman wrote: > > > > * install_driver (2): > > > > DBI->in

Re: [RFC: performance] Initializing DBI.pm

2000-06-04 Thread Stas Bekman
On Sun, 4 Jun 2000, Tim Bunce wrote: > On Sat, Jun 03, 2000 at 03:54:37AM +0300, Stas Bekman wrote: > > Here is a complete version. comments are very welcome before it enters the > > guide: > > > > The first example is the C module. As you know C works with > &

Re: Warning about guide exceptions docs...

2000-06-04 Thread Stas Bekman
ing? Sounds good! Will you really do it? _____ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://perl.org http://stason.org/TULARC http://singlesheaven.com http://perlmonth.com http://sourcegarden.org

Re: [benchmark] DBI/preload (was Re: [RFC] improving memory mapping thru code exercising)

2000-06-05 Thread Stas Bekman
On Mon, 5 Jun 2000, Vivek Khera wrote: > >>>>> "PH" == Perrin Harkins <[EMAIL PROTECTED]> writes: > > PH> On Sat, 3 Jun 2000, Stas Bekman wrote: > >> * install_driver (2): > DBI-> install_driver("mysql"); > > PH> I&

Re: [RFC: performance] Preloading Perl Modules at Server Startup

2000-06-05 Thread Stas Bekman
On Mon, 5 Jun 2000, Vivek Khera wrote: > >>>>> "SB" == Stas Bekman <[EMAIL PROTECTED]> writes: > > SB> But an even better approach is to create a separate startup file > SB> (where you code in plain perl) and put there things like: > > SB

Re: [new module] Apache::Dispatch

2000-06-05 Thread Stas Bekman
ltion /Foo/doit results in a 404. > I'm not sure how this would interact with mod_dir, but I guess it would also > depend on how folks want to use it... > > * do we want to default to handler()? if so, what to try first: > Foo::doit->handler() or Foo->doit() >

[performance/benchmark] $| and multiprint

2000-06-05 Thread Stas Bekman
unbuffer, so the first test seems to be fair to me. What do you think? Do you think I should test it under Apache (thru ab) since it might behave differently under Apache? But I doubt I'd be able to measure this unless the text would be huge to get the real feel of the numbers. You saw that I

Re: Memory usage for libareq uploads

2000-06-06 Thread Stas Bekman
on this standard feature. A nice thing IMHO. So child_terminate() won't terminate the child right away... But regarding all these suggested workarounds, why reinvent the wheel, Apache::SizeLimit and Apache::GTopLimit do that already. ___

  1   2   3   4   5   6   7   8   9   10   >