Re: horrible memory consumption

2000-01-20 Thread Vivek Khera
"JT" == Jason Terry [EMAIL PROTECTED] writes: JT Is there a way I can tell where my memory usage is going in an JT Apache child? I have a server that starts with acceptable JT numbers, but after a while it turns into this It would probably be best if you started by reading through the

Re: squid performance

2000-01-20 Thread Leslie Mikesell
According to Greg Stark: I think if you can avoid hitting a mod_perl server for the images, you've won more than half the battle, especially on a graphically intensive site. I've learned the hard way that a proxy does not completely replace the need to put images and other other static

Re: Using mod_backhand for load balancing and failover.

2000-01-20 Thread Leslie Mikesell
According to Jeffrey W. Baker: Is anyone using mod_backhand (http://www.backhand.org/) for load balancing? I've been trying to get it to work but it is really flaky. For example, it doesn't seem to distribute requests for static content. Bah. I just started to look at it (and note that

RE: How do you turn logging off completely in Embperl?

2000-01-20 Thread Jason Bodnar
There must be a bug somewhere because I had EMBPERL_DEBUG = 0 and was getting errors about not being able to write to /tmp/embperl.log. This is with v 1.2b4 I believe so if this has changed recently that may be why I got the errors. On 20-Jan-00 Gerald Richter wrote: That's what I thought.

RE: How do you turn logging off completely in Embperl?

2000-01-20 Thread Gerald Richter
There must be a bug somewhere because I had EMBPERL_DEBUG = 0 and was getting errors about not being able to write to /tmp/embperl.log. This is with v 1.2b4 I believe so if this has changed recently that may be why I got the errors. This didn't have change recently, but it is possible

httpd not copied into APACHE_PREFIX

2000-01-20 Thread Wang, Pin-Chieh
Hi, I am building mod_perl-1.21 into apache_1.3.9 using apaci. I run the following commands under mod_perl-1.21 directory perl Makefile.PL EVERYTHING=1 APACHE_PREFIX=/usr/local/apache make make test make install Everything looks fine, httpd was created in

Re: How do you handle simultaneous/duplicate client requests with modperl?

2000-01-20 Thread Jeffrey W. Baker
Keith Kwiatek wrote: Hello, I have a mod_perl application that takes a request from a client, then does some transaction processing with a remote system, which then returns a success/fail result to the client. The transaction MUST happen only ONCE per client session. PROBLEM: the

Re: httpd not copied into APACHE_PREFIX

2000-01-20 Thread John M Vinopal
perl Makefile.PL USE_APACI=1 EVERYTHING=1 APACHE_PREFIX=/usr/local/apache On Thu, Jan 20, 2000 at 03:36:44PM -0600, Wang, Pin-Chieh wrote: Hi, I am building mod_perl-1.21 into apache_1.3.9 using apaci. I run the following commands under mod_perl-1.21 directory perl Makefile.PL EVERYTHING=1

RE: Why does Apache do this braindamaged dlclose/dlopen stuff?

2000-01-20 Thread G.W. Haywood
Hi all, On Wed, 19 Jan 2000, Gerald Richter wrote: in the long term, the solution that you have prefered in previous mail, not to unload modperl at all, maybe the better one As I understand it with Apache/mod_perl: 1. The parent (contains the Perl interpreter) fires up, initialises

Re: Can't exec programs ?

2000-01-20 Thread Pierre-Yves BONNETAIN
[EMAIL PROTECTED] said: you'll get a better idea of the problem running strace (or truss) against the server. in any case, you should avoid any code that's forking a process, since it's throwing performance out the window. Is there a 'nice way' (meaning, a patch or manual change I can

Re: squid performance

2000-01-20 Thread Greg Stark
Vivek Khera [EMAIL PROTECTED] writes: Squid does indeed cache and buffer the output like you describe. I don't know if Apache does so, but in practice, it has not been an issue for my site, which is quite busy (about 700k pages per month). I think if you can avoid hitting a mod_perl

Re: horrible memory consumption

2000-01-20 Thread Stas Bekman
Is there a way I can find out where all this RAM is being used. Or does anyone have any suggestions (besides limiting the MaxRequestsPerChild) If anyone knows how to figure out shared vs not shared memory in a process on Linux, I'd be interested in that too...and it sounds like Jason

Re: squid performance

2000-01-20 Thread Greg Stark
"G.W. Haywood" [EMAIL PROTECTED] writes: Would it be breaching any confidences to tell us how many kilobyterequests per memorymegabyte or some other equally daft dimensionless numbers? I assume the number you're looking for is an ideal ratio between the proxy and the backend server? No

Re: Run away processes

2000-01-20 Thread Stas Bekman
On 20 Jan 2000, Greg Stark wrote: Stas Bekman [EMAIL PROTECTED] writes: Is there a recommendation on how to catch stop run away mod_perl programs in a way that's _not_ part of the run away program. Or is this even possible? Some type of watchdog, just like httpd.conf Timeout?

Re: How to make EmbPerl stuff new content into a existing frame?

2000-01-20 Thread Gerald Richter
When the user hits the login button, I am calling a CGI script that validates the login against a database. I can't make it have a action that loads a HTML page before the script is executed. Therefore the script has to reload the frame with frame pages. I also need to pass values to the

Re: oracle : The lowdown

2000-01-20 Thread Perrin Harkins
Perrin Harkins wrote: Greg Stark wrote: For example, it makes it very hard to mix any kind of long running query with OLTP transactions against the same data, since rollback data accumulates very quickly. I would give some appendage for a while to tell Oracle to just use the most recent

Re: How download data/file in http [Embperl 1.2.0]

2000-01-20 Thread Gerald Richter
Hi I am using Emberl 1.2.0. This is the probleme : I have a form with a submit bouton to download some data ( or a file ). I want that the user can save these data. When I submit it, the header that I want to send to generate the download is printed in the page ( ...and the

Re: question?

2000-01-20 Thread Rod Butcher
If I understand you correctly, you don't want to use mod_perl, just Perl. If so, the easiest way to use perl is to dowload ActivePerl (free) from Activestate website http://www.activestate.com/ActivePerl/download.htm It comes with great documentation, install it as per documentation. If you wish

Re: Apache locking up on WinNT

2000-01-20 Thread Waldek Grudzien
I added the warns to the scripts and it appears that access to the modules is serialised. Each call to the handler has to run to completion before any other handlers can execute. Yes, on NT all accesses to the perl part are serialized. This will not change before mod_perl 2.0 Oh my

Re: Apache locking up on WinNT

2000-01-20 Thread Gerald Richter
Oh my ... Indeed this happens. This is horrible ;o( and make mod_perl unusable with NT web site with many visitors ;o( How do you think - for intranet web application is it reasonable to run few Apaches (with mod_perl) on the same box ? yes, but as far as I know that isn't possible as

EMBPERL_SESSION_ARGS problem

2000-01-20 Thread Jean-Philippe FAUVELLE
The following directives work fine with Embperl 1.2.0 PerlSetEnv EMBPERL_SESSION_ARGS "DataSource=dbi:mysql:database=www_sessions;host=dev2-sparc UserName=www Password=secret" PerlSetEnv EMBPERL_SESSION_ARGS "DataSource=dbi:mysql:database=www_sessions;host=localhost UserName=www

Re: squid performance

2000-01-20 Thread Stas Bekman
On 20 Jan 2000, Greg Stark wrote: I tried to use the minspareservers and maxspareservers and the other similar parameters to let apache tune this automatically and found it didn't work out well with mod_perl. What happened was that starting up perl processes was the single most cpu intensive

Re: Apache locking up on WinNT

2000-01-20 Thread Waldek Grudzien
Oh my ... Indeed this happens. This is horrible ;o( and make mod_perl unusable with NT web site with many visitors ;o( How do you think - for intranet web application is it reasonable to run few Apaches (with mod_perl) on the same box ? yes, but as far as I know that isn't possible

Performance ?'s regarding Apache::Request

2000-01-20 Thread Clifford Lang
mod_perl 1.21 Apache 1.3.9 Solaris 2.5.1, Linux 6.0 Is this a good or bad idea? I want to create an inheritable module based on Apache::Request mainly for uploading files, then create individual PerlHandler modules for individual page content. If I do this, will the uploaded files end up

RE: mod_rewrite and Apache::Cookie

2000-01-20 Thread Geoffrey Young
for anyone interested... I wrote a PerlTransHandler and removed mod_rewrite and am seeing the same problem as outlined below... can anyone verify this? --Geoff -Original Message- From: Geoffrey Young Sent: Wednesday, January 19, 2000 9:27 AM To: '[EMAIL PROTECTED]' Subject:

Re: oracle : The lowdown

2000-01-20 Thread Ed Phillips
For those of you tired of this thread please excuse me, but here is MySQL's current position statement on and discussion about transactions: Disclaimer: I just helped Monty write this partly in response to some of the fruitful, to me, discussion on this list. I know this is not crucial to