CGI::Session or CGI::Application

2005-01-14 Thread Octavian Rasnita
Hi, If I want to use CGI::Session or CGI::Application, can I do it if I use mod_perl or there are better modules for using with MP? Thanks. Teddy

Re: Apache::Request

2005-01-14 Thread Geoffrey Young
> There are a few critical fixes related to cookie handling which haven't > made > it into an official "release" yet. I've also found a bug where > Apache::Request used to let you set ->status(), but doesn't anymore. off the absolute top of my head I think you want $apr->env->status HTH --Ge

Re: Apache::Request

2005-01-14 Thread Dan Sully
* John D Groenveld shaped the electrons to say... I've had no problems so far with libapreq2-2.04-dev, but with light usage. http://httpd.apache.org/apreq/> $ /opt/apache2/perl-5.8.6/bin/perl -MApache::Request -le 'print $Apache::Request::VERSION' 2.04-dev There are a few critical fixes related to

Re: [BENCHMARK] Server Resources

2005-01-14 Thread Rob Bloodgood
Skylos wrote: My first suggestion based on a migration the company I work for did not too long ago would be to use apache2 in thread mode. There was a staggering drop in system memory resources consumed when we made the shift - from most of a gigabyte to only a few hundred megs! The site's respo

Re: [BENCHMARK] Server Resources

2005-01-14 Thread Stas Bekman
Larry Leszczynski wrote: [...] Probably the biggest bang for the buck with the least effort or code changes is to set up a lightweight (i.e. non-mod_perl) reverse proxy httpd in front of the httpd that is running mod_perl: http://perl.apache.org/docs/1.0/guide/strategy.html#Adding_a_Proxy_Server_in

Re: [BENCHMARK] Server Resources

2005-01-14 Thread Skylos
Way not enough information. Like, you can host 30 websites on a 386sx-25 with 64 megs of ram - if they're low demand enough. It really has no relevancy to the number of sites. Its all about how many file presentations you're handling, and more importantly, how many dynamic script presentations y

Re: [BENCHMARK] Server Resources

2005-01-14 Thread Kyle Dawkins
Hey there It strikes me that your problem is directly related to memory usage. Linux machines have a bad problem in that if your apache children get swapped out ->for any reason at all<-, they will lose any shared memory that they may have had before being swapped out. When they are swapped b

Re: Apache::Request

2005-01-14 Thread John D Groenveld
In message <[EMAIL PROTECTED]>, "B. Duffee" writes: >Can anybody make a good guess on when the mod_perl 2 port of Apache::Request >will be finished? I came a little unstuck installing from CPAN when I found t >he >versions weren't compatible and I'm wondering if I should back off to mod_perl > 1

Re: [BENCHMARK] Server Resources

2005-01-14 Thread Larry Leszczynski
On Fri, 14 Jan 2005 [EMAIL PROTECTED] wrote: > We have recently added a site to our server which hosts 30 other sites. > The new site uses modperl & MySQL. After adding the new site, the server > we were on (shared server at a national server farm) had major resource > problems (too many connecti

Re: [BENCHMARK] Server Resources

2005-01-14 Thread sofadmin
Thanks for the suggestions. We are planning on migrating to Apache 2.0, but I need to read up on the implications to the various sites first. Do you think this server has enough resources to handle our sites without trouble? Sys >> >> But before I go any further with testing & modifying configur

Re: [BENCHMARK] Server Resources

2005-01-14 Thread Skylos
No, i didn't preload the scripts - I'm not familiar with the technique, and it seems like there's enough dynamic fvariable-writing and storage of html values done in the scripts that large chunks would be unfairly 'written' and cause duplication. Its a bad system design for this volume, it should

Re: [BENCHMARK] Server Resources

2005-01-14 Thread Michael Peters
Skylos wrote: Also, to compare, I work with an apache 1.3 site that has alot of cgi perl script on it. With the idea that shifting to mod_perl registry mode would cause this site to go faster, I modified the configuration. And watched the system load average rapidly climb into the multiple-hundre

Re: [BENCHMARK] Server Resources

2005-01-14 Thread Skylos
My first suggestion based on a migration the company I work for did not too long ago would be to use apache2 in thread mode. There was a staggering drop in system memory resources consumed when we made the shift - from most of a gigabyte to only a few hundred megs! The site's response speed pick

Re: Apache::TEST: t/TEST question

2005-01-14 Thread Stas Bekman
Patrick LeBoutillier wrote: Hi all, Should I include the generated t/TEST file in my module distribution or should I let the users system generate it? The latter. You should always generate it during 'perl Makefile.PL' because you want to set the perl path right. also because filter_args() insert

Apache::Request

2005-01-14 Thread B. Duffee
Hi there, Can anybody make a good guess on when the mod_perl 2 port of Apache::Request will be finished? I came a little unstuck installing from CPAN when I found the versions weren't compatible and I'm wondering if I should back off to mod_perl 1 or wait for the port. thanks, --- Boyd Duff

[BENCHMARK] Server Resources

2005-01-14 Thread sofadmin
First let me apologize if this is not the appropriate forum for my question. I thought it would be because the issue has to do with apache/modperl/mysql performance. We have recently added a site to our server which hosts 30 other sites. The new site uses modperl & MySQL. After adding the new site

Re: Mac::Glue and mod_perl

2005-01-14 Thread Leo Lapworth
> I'm trying to write a mod_perl script (for PerlRun) that will present an > online interface to my Mac OS X Address Book. I've litterally just started to do something like this: http://svn.cuckoo.org/CPAN/Mac-AddressBook2Web/ It would work very differently though. 1) Script (to put in cron)

Apache::TEST: t/TEST question

2005-01-14 Thread Patrick LeBoutillier
Hi all, Should I include the generated t/TEST file in my module distribution or should I let the users system generate it? Thanks, Patrick -- = Patrick LeBoutllier Laval, Québec, Canada

Re: Mac::Glue and mod_perl

2005-01-14 Thread Brian Dimeler
Well, if you mean restarting the whole computer, no; but I had shut down and restarted the webserver a few times, and always gotten the same results. Martin Moss wrote: please forgive the really daft question, but have done a complete server shutdown and restart? I've come across bus errors befor

Re: Mac::Glue and mod_perl

2005-01-14 Thread Martin Moss
please forgive the really daft question, but have done a complete server shutdown and restart? I've come across bus errors before where a complete server restart made the problem go away and never come back... Marty --- Brian Dimeler <[EMAIL PROTECTED]> wrote: > Sorry for cross-posting this,

Mac::Glue and mod_perl

2005-01-14 Thread Brian Dimeler
Sorry for cross-posting this, but i think it applies to both groups. I'm trying to write a mod_perl script (for PerlRun) that will present an online interface to my Mac OS X Address Book. Using the standard method of connecting to the glue (new Mac::Glue 'Address Book') doesn't work; the webserv