Re: Mod_perl 1.99 spawning processes causing major performanceissue

2003-06-09 Thread Perrin Harkins
Thanks for using REPORT! On Mon, 2003-06-09 at 16:07, George Bagley wrote: > On Apache 1.3, when I do a ps -ef, I cannot see the cgi script running. > I assume this is because Apache is NOT spawning a separate process to > satisfy the request. > > On Apache2, there are hund

Mod_perl 1.99 spawning processes causing major performance issue

2003-06-09 Thread George Bagley
.0 On Apache 1.3, when I do a ps -ef, I cannot see the cgi script running. I assume this is because Apache is NOT spawning a separate process to satisfy the request. On Apache2, there are hundreds of the cgi scripts running and performance is roughly half what it was on Apache 1.3 The cgi scr

Re: Mod_perl spawning processes

2003-06-09 Thread Perrin Harkins
On Mon, 2003-06-09 at 15:34, George Bagley wrote: > CONFIG redhat linux 9.0 > apache 2 I'm afraid that's not enough info to guess what you're doing. Please read http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems > I have ugraded from apache1.3 to Apache2 and I am hav

Mod_perl spawning processes

2003-06-09 Thread George Bagley
Hi CONFIG redhat linux 9.0 apache 2 I have ugraded from apache1.3 to Apache2 and I am having a performance problem with a cgi script. On 1.3, when I do a ps, I cannot see the cgi script running. On 2, there are hundreds of the cgi scripts running. The cgi makes a connection to a mys

Re: pre-spawning database connections[newbie]

2003-01-13 Thread Stas Bekman
Sven Geisler wrote: Hi Ben, Do you use Apache::DBI? I mean yes because you're using connect_on_init. Apache::DBI do not really close your DBI connection. You will get the same connection with the same connection parameters, when you call DBI->connect. All connections are cached by Apache::DBI.

Re: pre-spawning database connections[newbie]

2003-01-13 Thread Sven Geisler
Hi Ben, Do you use Apache::DBI? I mean yes because you're using connect_on_init. Apache::DBI do not really close your DBI connection. You will get the same connection with the same connection parameters, when you call DBI->connect. All connections are cached by Apache::DBI. Yes, you should call

pre-spawning database connections[newbie]

2003-01-13 Thread Ben Wrigley
Hi All,   I'm a mod_perl newbie and just trying to understand a little more about the startup.pl files and prespawning databases.   I am using the connect_on_init routine in the startup.pl which is fine.   What I'm not sure is then how to use this most economically in my scripts.   It seem

Re: Spawning

2000-10-11 Thread steven
On Thu, 12 Oct 2000 [EMAIL PROTECTED] wrote: > Thanks for your reply, > I read through the documentation and IPC-Shareable is exactly what I > need. I am having some problems getting it working. (Maybe that's why you > wished me Good luck). Seems to have to do with the size option. I can tie

Re: Spawning

2000-10-11 Thread atli
--- On 10/10/2000 11:46:14 PM bcburke wrote: --- >You can use Perl's IPC::Shareable to share objects in memory across >processes: >http://theoryx5.uwinnipeg.ca/CPAN/data/IPC-Shareable/IPC/Shareable.html >Good luck, Thanks for your reply, I read through the document

Re: Spawning

2000-10-10 Thread bcburke
]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, October 11, 2000 10:11 AM Subject: Re: Spawning > > > >I would always seperate any proccess that are not web request orientated > >outside the request architecture - i.e write your own daemon / crond > >script thats does this e

Re: Spawning

2000-10-10 Thread atli
>I would always seperate any proccess that are not web request orientated >outside the request architecture - i.e write your own daemon / crond >script thats does this exterior processing. I totally agree. That's the plan but I need the Apache connection for the external processing >What do yo

Re: Spawning

2000-10-10 Thread Greg Cope
[EMAIL PROTECTED] wrote: > > Hi there, > I am working on a web-oriented game that runs on Apache/modperl and > MySQL. I have one perl process that runs forever and is outside of Apache > that does a lot of tallying up and cleaning. I want the process to be > started by Apache on server start

Spawning

2000-10-10 Thread atli
Hi there, I am working on a web-oriented game that runs on Apache/modperl and MySQL. I have one perl process that runs forever and is outside of Apache that does a lot of tallying up and cleaning. I want the process to be started by Apache on server startup and give the process access to Apac

Re: Apache::Registry spawning zombie shells?

2000-08-30 Thread Doug MacEachern
On Tue, 22 Aug 2000, martin langhoff wrote: > hi list, > > while doing a silly thing (building a set of HTML files with info from > a DB file), I found that while the apache server was being crawled by > lwp-rget, a lots of zombie shells were being spawned and killed. > sh -c /bin/csh -

Apache::Registry spawning zombie shells?

2000-08-22 Thread martin langhoff
finished faster. the scripts are at the bottom, but I don't think you'll find much there. needless to say, when run under mod_cgi, no sh is ever spawned, and when the crawling finished no more spawning took place (3 of the zombie shells remained, though). So it's definitely