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 ot

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,

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 when

Re: Fw: [mp2] 'make test' error--cannot start server: httpd () 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 () 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 t

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 Tes

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 erro

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

2005-08-22 Thread Eric Martin
Note: chowning the entire apache tree to nobody:nobody still causes the "httpd () 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 n

Re: Fw: [mp2] 'make test' error--cannot start server: httpd () 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 > /usr/local/stow/apache-2.0.54/apach

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 14

Fw: [mp2] 'make test' error--cannot start server: httpd () 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: 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 there's

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 doe

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

Re: [mp2] 'make test' error--cannot start server: httpd () 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 >

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 bes

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 querie

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. I

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 substantia

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 inter

[mp2] 'make test' error--cannot start server: httpd () 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 MP_APXS=/usr/local/apache2/bin/

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 b

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 SOMETH

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/ FreeBsdApacheMultiServerSetupUsin

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 poster

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 pretty

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 s