Re: Redhat httpsd with mod_perl

1999-10-22 Thread Adi
Randy, Thanks so much for the tips. I got Apache::VMonitor - awesome package, Stas - and investigated it further. What I found was that each child loses a small amount of shared memory during normal use, due to copy-on-write. In my case from about 12M to 9M (roughly 25%). But it stabilizes

Re: can't download file with MSIE 5 using modperl

1999-10-22 Thread Dirk Lutzebaeck
Matt Arnold writes: I have written an Apache::Registry script which uses CGI.pm to accomplish the same thing. And I'm shocked and amazed that setting the Content-Disposition actually works -- even for IE5. Given how little attention Content-Disposition seems to get, I'm afraid that my

Embperl, Safe and namespaces

1999-10-22 Thread Jean-Philippe FAUVELLE
I tried to configure Embperl with Safe, using the following directive. PerlSetEnv EMBPERL_OPTIONS 16404 (optSafeNamespace set) Namespaces are now protected, but all modules used in a page are no more visible... HTML HEADTITLEtest/TITLE/HEAD BODY HR [- use DBI; DBI-connect(...) or print

Re: Embperl, Safe and namespaces

1999-10-22 Thread G.Richter
I tried to configure Embperl with Safe, using the following directive. PerlSetEnv EMBPERL_OPTIONS 16404 (optSafeNamespace set) Namespaces are now protected, but all modules used in a page are no more visible... HTML HEADTITLEtest/TITLE/HEAD BODY HR [- use DBI; DBI-connect(...) or

[SITE] Comments on the two examples

1999-10-22 Thread James G Smith
Some comments on the two example pages mentioned on this list. * http://www.novia.net/~marnold/mod_perl/sample_3/ I can enjoy the graphics, but the site does not appear to be Lynx friendly -- this is a must IMHO when access might be without graphics (slow connections, expensive connections).

Apache::Session Locking

1999-10-22 Thread Kimbro Staken
I'm trying to setup Apache::Session under Embperl with a MySQL datastore. I have multiple machines that will be serving the site thus all machines will access the datastore. In the documentation it says to use the DBIStore with a DaemonLocker which is fine. However there seems to be no

Re: Hanging process: detection and determination (was Re: Runaway processes)

1999-10-22 Thread Stas Bekman
The reason why the stop button does not stop the script lies in the fact that you're script does not produce any output while it is running. SIGPIPE is only raised when your script tries to write to a closed (STOPed) connection. No output from your script = no SIGPIPE! That's right, Tobias.

Re: Hanging process: detection and determination (was Re: Runaway processes)

1999-10-22 Thread Remi Fasol
hi Joshua, is this your recommended setup when using Apache::ASP or is this for mod_perl in general? if it's for Apache::ASP, do you have a sample CPU limit script and/or watchdog? thanks! remi --- Joshua Chamas [EMAIL PROTECTED] wrote: Stas, I use Apache::Resource to set a CPU limit,

Re: exiting a child without popping the internal server error...

1999-10-22 Thread Stas Bekman
I friend and I are having some problems... I have a mod_perl script that wants to kill a child when it detects that child's DB connection has gone stale. Detecting that is not a problem. returning the error page saying 'please try again' is not a problem. but apache-exit is killing the

Apache::Filter - get_handlers

1999-10-22 Thread Miguel A.L. Paraz
Hi all, Where is get_handlers lurking? I couldn't find it in any of the Apache:: modules. The error: [error] Can't locate object method "get_handlers" via package "Apache" at /usr/lib/perl5/site_perl/5.005/Apache/Filter.pm line 77. The code: if (@{$r-get_handlers('PerlHandler')} ==