Re: Apache, Mod_Perl Upgrade Take 2

2005-08-22 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [...] No. Your performance will be increased using a so called proxy-setup: - - Make your frontend server as light weight as possible (don't load php and mod-perl) - - Use mod-rewrite to forward requests to dynamic pages to your mod-perl enabled

Re: speed

2005-08-22 Thread Randy Kobes
On Sat, 20 Aug 2005, Octavian Rasnita wrote: Hi, I have made a site using mod_perl with ModPerl::Registry. It works much faster than using a simple cgi script, but it still works slow sometimes and I would like to change some things. There are 3 situations: 1. The page is displayed

Re: speed

2005-08-22 Thread Philip M. Gollucci
Randy Kobes wrote: At least for linux, the Apache::DB module (see especially Apache::SmallProf) may help in tracking down where the script is spending most of its time. Actually, I'm thiking you mean Apache::DProf just make sure you look it EARLY enough as Perrin has said before to other

Re: Apache, Mod_Perl Upgrade Take 2

2005-08-22 Thread Jonathan Vanasco
On Aug 22, 2005, at 3:47 AM, Tom Schindl wrote: There's enough information in the docs and mail-archives else get one of the great mod-perl books. on the off chance that you're on freebsd, my notes will walk you through it http://dev.2xlp.com/trac/wiki/

Re: Can't get SOAP to work under mod_perl

2005-08-22 Thread Steve Baker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've continued to work on this, but have been unable to progress past this point. mod_perl seems to work just fine on both systems, except when it comes to SOAP, in which case I'm getting exactly the same errors on both systems. I must be doing

Re: Can't get SOAP to work under mod_perl

2005-08-22 Thread Perrin Harkins
On Mon, 2005-08-22 at 09:37 -0700, Steve Baker wrote: I've continued to work on this, but have been unable to progress past this point. mod_perl seems to work just fine on both systems, except when it comes to SOAP, in which case I'm getting exactly the same errors on both systems. I must be

[mp2] 'make test' error--cannot start server: httpd (path) does not exist

2005-08-22 Thread Eric Martin
1. Just installed gcc-3.4.4, perl-5.8.7, apache-2.0.54 on a clean installation of Solaris 10. gcc, perl, and apache went in without a hitch. About 70 perl modules also installed without failure using the new gcc/perl. 2. I then proceed to do: 'perl Makefile.PL

Re: speed

2005-08-22 Thread Octavian Rasnita
From: Randy Kobes [EMAIL PROTECTED] Subject: Re: speed I assume, for the delay problem, you've ruled out correlations with a (momentary) high server load? No. Unfortunately not. The server has no load, because it is a test server and I am the only user. It works locally, so the internet

Re: speed

2005-08-22 Thread Philip M. Gollucci
Octavian Rasnita wrote: Yes it involves a MySQL connection, but that MySQL database and that server is not used by someone else so I don't understand why some pages show so fast while others so slow. Could be that MySQL has the queries cached in memory for some pages which would be a

Re: speed

2005-08-22 Thread Perrin Harkins
On Mon, 2005-08-22 at 20:47 +0300, Octavian Rasnita wrote: No. Unfortunately not. The server has no load, because it is a test server and I am the only user. It works locally, so the internet connection speed is not an issue either. Sounds like an HTTP browser-compatibility problem to me. IE

Re: speed

2005-08-22 Thread Octavian Rasnita
From: Philip M. Gollucci [EMAIL PROTECTED] Octavian Rasnita wrote: Yes it involves a MySQL connection, but that MySQL database and that server is not used by someone else so I don't understand why some pages show so fast while others so slow. Could be that MySQL has the queries cached in

Re: speed

2005-08-22 Thread Philip M. Gollucci
Octavian Rasnita wrote: I don't think this is the problem, because that site shows more articles, and each article has a counter that appears on the page. I am trying only articles that have the counter 0, so nobody visited that page so MySQL couldn't make a cache of that specific query. My

Re: [mp2] 'make test' error--cannot start server: httpd (path) does not exist

2005-08-22 Thread Philippe M. Chiasson
Eric Martin wrote: 1. Just installed gcc-3.4.4, perl-5.8.7, apache-2.0.54 on a clean installation of Solaris 10. gcc, perl, and apache went in without a hitch. About 70 perl modules also installed without failure using the new gcc/perl. 2. I then proceed to do: 'perl Makefile.PL

mp1 to mp2: server info in startup.pl

2005-08-22 Thread Ted
Hi, I am trying to get server information (e.g. port) from within the startup.pl script. In mp2 I am doing this: --- use Apache2::ServerRec (); use Apache2::ServerUtil (); my $s = Apache2::ServerUtil-server(); warn port = ,$s-port(),\n; output is: port = 0 In mp1 I am

Re: mp1 to mp2: server info in startup.pl

2005-08-22 Thread Philip M. Gollucci
In mp2 I am doing this: --- use Apache2::ServerRec (); use Apache2::ServerUtil (); my $s = Apache2::ServerUtil-server(); warn port = ,$s-port(),\n; Try use Apache2::RequestUtil (); Apache2::RequestUtil-request()-get_server_port() Though I don't see why your method doesn't

Re: Can't get SOAP to work under mod_perl

2005-08-22 Thread Larry Leszczynski
On Mon, 22 Aug 2005, Perrin Harkins wrote: On Mon, 2005-08-22 at 09:37 -0700, Steve Baker wrote: While I'm familiar with Perl, I am less familiar with SOAP and mod_perl. Is there a SOAP-Lite support list? Your problem does not seem to be with mod_perl, but rather with SOAP-Lite. If

Fw: [mp2] 'make test' error--cannot start server: httpd (path) does not exist

2005-08-22 Thread Eric Martin
Well, the suexec mechanism seems to be working OK: # ps -ef | grep httpd nobody 28220 28219 0 14:38:25 ? 0:00 /usr/local/stow/apache-2.0.54/apache2/bin/httpd -k start nobody 28225 28219 0 14:38:26 ? 0:00 /usr/local/stow/apache-2.0.54/apache2/bin/httpd -k start root

Re: mp1 to mp2: server info in startup.pl

2005-08-22 Thread Ted
Thanks for your response. I tried that, but got an error: [Mon Aug 22 14:43:52 2005] [error] Global $r object is not available. Set:\n\t PerlOptions +GlobalRequest\nin httpd.conf at /usr/local/apache2/conf/startup.pl line 82.\nCompilation failed in require at (eval 2) line 1.\n [Mon Aug 22

Re: Fw: [mp2] 'make test' error--cannot start server: httpd (path) does not exist

2005-08-22 Thread Philippe M. Chiasson
Eric Martin wrote: Well, the suexec mechanism seems to be working OK: # ps -ef | grep httpd nobody 28220 28219 0 14:38:25 ? 0:00 /usr/local/stow/apache-2.0.54/apache2/bin/httpd -k start nobody 28225 28219 0 14:38:26 ? 0:00

Re: Fw: [mp2] 'make test' error--cannot start server: httpd (path) does not exist

2005-08-22 Thread Eric Martin
Note: chowning the entire apache tree to nobody:nobody still causes the httpd (path) does not exist error in mod_perl 2. Have you tried $ su - nobody $ stat /usr/local/stow/apache-2.0.54/apache2/bin/httpd ? 'stat' command? Did I mention the machine is a vanilla Solaris 10 host? I suspect

Re: Can't get SOAP to work under mod_perl

2005-08-22 Thread Randy Kobes
On Mon, 22 Aug 2005, Steve Baker wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've continued to work on this, but have been unable to progress past this point. mod_perl seems to work just fine on both systems, except when it comes to SOAP, in which case I'm getting exactly the same

Re: Fw: [mp2] 'make test' fails

2005-08-22 Thread William Fulmer
-8-- Start Bug Report 8-- 1. Problem Description: make test fails on t/modperl/request_rec_tie_api.t . # Running under perl version 5.006002 for hpux # Current time local: Mon Aug 22 16:22:54 2005 # Current time GMT: Mon Aug 22 20:22:54 2005 # Using

Re: Fw: [mp2] 'make test' error--cannot start server: httpd (path) does not exist

2005-08-22 Thread Philippe M. Chiasson
Eric Martin wrote: Note: chowning the entire apache tree to nobody:nobody still causes the httpd (path) does not exist error in mod_perl 2. Have you tried $ su - nobody $ stat /usr/local/stow/apache-2.0.54/apache2/bin/httpd ? 'stat' command? Try ls instead then ;-) Did I mention

swamped with connection?

2005-08-22 Thread Badai Aqrandista
Hi all, it's me again :D I am still trying to improve my company's webapp performance. I'm testing it with httperf and autobench. The application seems to be able to respond when hammered by 20 connections per second and 10 calls per connection. But then, it doesn't respond to any request

Re: swamped with connection?

2005-08-22 Thread Perrin Harkins
On Tue, 2005-08-23 at 10:20 +1000, Badai Aqrandista wrote: I am still trying to improve my company's webapp performance. I'm testing it with httperf and autobench. The application seems to be able to respond when hammered by 20 connections per second and 10 calls per connection. But then,

Re: swamped with connection?

2005-08-22 Thread Badai Aqrandista
Did you run out of memory? Is the CPU pegged? Give us something to go on here... Have you read the performance tuning docs on the mod_perl site? Yes, ages ago. I just read it again and did the calculation again. Apparently, yes, it runs out of memory and holds up the connection so no

svn commit: r235745 - in /perl/modperl/trunk: Changes lib/Apache2/Reload.pm

2005-08-22 Thread pgollucci
Author: pgollucci Date: Mon Aug 22 09:24:55 2005 New Revision: 235745 URL: http://svn.apache.org/viewcvs?rev=235745view=rev Log: Sort the output of ReloadDebug alphabetically Modified: perl/modperl/trunk/Changes perl/modperl/trunk/lib/Apache2/Reload.pm Modified:

svn commit: r239283 - /perl/modperl/trunk/lib/Apache2/Status.pm

2005-08-22 Thread pgollucci
Author: pgollucci Date: Mon Aug 22 18:24:12 2005 New Revision: 239283 URL: http://svn.apache.org/viewcvs?rev=239283view=rev Log: Fix the Peek Dump link Modified: perl/modperl/trunk/lib/Apache2/Status.pm Modified: perl/modperl/trunk/lib/Apache2/Status.pm URL:

svn commit: r239285 - /perl/modperl/trunk/lib/Apache2/Status.pm

2005-08-22 Thread pgollucci
Author: pgollucci Date: Mon Aug 22 18:38:49 2005 New Revision: 239285 URL: http://svn.apache.org/viewcvs?rev=239285view=rev Log: B::Terse is depracted in favor of B::Concise. B::Terse is left around, but as a wrapper around B::Concise with style -terse. B::Concise doesn't handle 'slow'. The

svn commit: r239288 - /perl/modperl/trunk/lib/Apache2/Status.pm

2005-08-22 Thread pgollucci
Author: pgollucci Date: Mon Aug 22 18:48:12 2005 New Revision: 239288 URL: http://svn.apache.org/viewcvs?rev=239288view=rev Log: Uncomment the Cross Reference Report Link in status_cv_dump() This depends on B::Xref which does not come with perl. I've seen v1.01 work so we'll set that as the

svn commit: r239290 - /perl/modperl/trunk/lib/Apache2/Status.pm

2005-08-22 Thread pgollucci
Author: pgollucci Date: Mon Aug 22 18:57:37 2005 New Revision: 239290 URL: http://svn.apache.org/viewcvs?rev=239290view=rev Log: this has(xref) check is already in the link function Modified: perl/modperl/trunk/lib/Apache2/Status.pm Modified: perl/modperl/trunk/lib/Apache2/Status.pm URL:

svn commit: r239295 - /perl/modperl/trunk/lib/Apache2/Status.pm

2005-08-22 Thread pgollucci
Author: pgollucci Date: Mon Aug 22 19:31:59 2005 New Revision: 239295 URL: http://svn.apache.org/viewcvs?rev=239295view=rev Log: enhance the error handling for the Op Tree Graph link which requires B::Graph and dot to be installed. Previously, if dot wasn't found you got a 404 error. Now, you

svn commit: r239297 - /perl/modperl/trunk/lib/Apache2/Status.pm

2005-08-22 Thread pgollucci
Author: pgollucci Date: Mon Aug 22 19:43:20 2005 New Revision: 239297 URL: http://svn.apache.org/viewcvs?rev=239297view=rev Log: Add Kb and Mb calcutation of opsize Modified: perl/modperl/trunk/lib/Apache2/Status.pm Modified: perl/modperl/trunk/lib/Apache2/Status.pm URL:

svn commit: r239301 - /perl/modperl/trunk/lib/Apache2/Status.pm

2005-08-22 Thread pgollucci
Author: pgollucci Date: Mon Aug 22 19:56:24 2005 New Revision: 239301 URL: http://svn.apache.org/viewcvs?rev=239301view=rev Log: hooks has not been in mp2 version to date. Time to remove it. Modified: perl/modperl/trunk/lib/Apache2/Status.pm Modified:

svn commit: r239306 - /perl/modperl/trunk/lib/Apache2/Status.pm

2005-08-22 Thread pgollucci
Author: pgollucci Date: Mon Aug 22 20:06:23 2005 New Revision: 239306 URL: http://svn.apache.org/viewcvs?rev=239306view=rev Log: update the output to XHTML 1.0 Strict Modified: perl/modperl/trunk/lib/Apache2/Status.pm Modified: perl/modperl/trunk/lib/Apache2/Status.pm URL:

svn commit: r239307 - /perl/modperl/trunk/lib/Apache2/Status.pm

2005-08-22 Thread pgollucci
Author: pgollucci Date: Mon Aug 22 20:07:32 2005 New Revision: 239307 URL: http://svn.apache.org/viewcvs?rev=239307view=rev Log: update the version number to 4.0 to reflect all my recent changes Modified: perl/modperl/trunk/lib/Apache2/Status.pm Modified: