Re: [Mason] Vanishing Requests

2005-05-11 Thread Perrin Harkins
On Wed, 2005-05-11 at 18:22 -0700, David Marshall wrote: > The basic problem: some requests just totally vanish. No record > appears of them in the apache log, and no response is returned to the > browser. Find out what they are doing by using mod_log_forensic: http://httpd.apache.org/docs/mod/mo

Re: Apache2::Status, B::TerseSize

2005-05-11 Thread Stas Bekman
Matthew Berk wrote: Trying to track down a bit o' memory bloat using the Symbol Table dump in /perl-status and B::TerseSize. Running into some problems Error: [Wed May 11 15:38:54 2005] [error] [client ::1] Use of uninitialized value in length at /Library/Perl/5.8.6/darwin-thread- multi-2

Re: how to trap connection reset/abort in Apache::Filter?

2005-05-11 Thread Stas Bekman
Stas Bekman wrote: Jeff Ambrosino wrote: Ok, this is going to be tough for me to test because I'm still on RC4, so it's not yet converted to the new Apache2 naming. I'll still try to make/test the svn snapshot, though (which also gives me a good reason to get more familiar with subversion.) I'll

Re: how to trap connection reset/abort in Apache::Filter?

2005-05-11 Thread Stas Bekman
Jeff Ambrosino wrote: Ok, this is going to be tough for me to test because I'm still on RC4, so it's not yet converted to the new Apache2 naming. I'll still try to make/test the svn snapshot, though (which also gives me a good reason to get more familiar with subversion.) I'll email what I find o

Vanishing Requests

2005-05-11 Thread David Marshall
Hi all, Our website is experiencing some very weird behavior that we don't know how to resolve. I have some avenues on which to do the next steps of investigation, but I'm really hoping that the mod_perl/Mason illuminati can shed some light on this. The basic problem: some requests just totally

Apache2::Status, B::TerseSize

2005-05-11 Thread Matthew Berk
Trying to track down a bit o' memory bloat using the Symbol Table dump in /perl-status and B::TerseSize. Running into some problemsError: [Wed May 11 15:38:54 2005] [error] [client ::1] Use of uninitialized value in length at /Library/Perl/5.8.6/darwin-thread-multi-2level/Apache2/Status.pm line

Apache SessionTimeOut how to configure

2005-05-11 Thread raja agireddy
Hello, I have installed mod_perl, Apache2.0, AuthenSmb 0.72 for the NT authentication on the UNIX server. I want to implement the time out feature, so that any user after 30 minutes of inactive session needs to relogin. Any suggestions will be greatly appreciated. Regards, Raja

Re: how to trap connection reset/abort in Apache::Filter?

2005-05-11 Thread Jeff Ambrosino
Ok, this is going to be tough for me to test because I'm still on RC4, so it's not yet converted to the new Apache2 naming. I'll still try to make/test the svn snapshot, though (which also gives me a good reason to get more familiar with subversion.) I'll email what I find out. thanks Stas! Jef

Re: how to trap connection reset/abort in Apache::Filter?

2005-05-11 Thread Stas Bekman
Jeff Ambrosino wrote: Hi Stas & MP list, I tried causing this error by opening sockets to the web server, then killing (-9) the client, but that didn't work. However, every morning like clockwork the scanning service (ScanAlert) hits our site and causes this problem... so, while I cannot intention

Re: Apache::Session not updating (writing)

2005-05-11 Thread Perrin Harkins
On Wed, 2005-05-11 at 17:30 -0400, Rick wrote: > # here's the added undef <-- > % undef %session; > > But that also didn't work =( This is starting to sound like your problem is at a very fundamental level. I'd suggest making sure RaiseError is on for your database connection, and putting so

Re: Apache::Session not updating (writing)

2005-05-11 Thread Rick
Just tried that <%perl> my %session; tie %session, 'Apache::Session::MySQL', undef, { Handle => $DBH, LockHandle => $DBH }; Setting some of the session keys <%perl> $session{'car'} = { make => 'BMW',

Re: limiting subroutine run time

2005-05-11 Thread Stas Bekman
Igor Chudov wrote: --- Perrin Harkins <[EMAIL PROTECTED]> wrote: On Wed, 2005-05-11 at 07:57 -0700, Igor Chudov wrote: Can you be a little more specific? Are you talking about damage such as abuse of resources, or are you talking about gaining unauthorized privileges? Possibly both. The thing is,

Re: limiting subroutine run time

2005-05-11 Thread Igor Chudov
--- Stas Bekman <[EMAIL PROTECTED]> wrote: > > > Thanks. I will try using alarm also. > > Though, be aware of the issues with signals in > recent perls and > specifically with Apache2. > http://perl.apache.org/docs/2.0/user/coding/coding.html#Using_Signal_Handlers Thank you Stas. I disabled m

Re: limiting subroutine run time

2005-05-11 Thread Igor Chudov
--- Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Wed, 2005-05-11 at 07:57 -0700, Igor Chudov > wrote: > > Can you be a little more specific? Are you talking > > about damage such as abuse of resources, or are > you > > talking about gaining unauthorized privileges? > > Possibly both. The thin

ANNOUNCE: Krang 1.102

2005-05-11 Thread Aaron Dancygier
We're pleased to announce that Krang v1.102 is now available. Notable changes in this release: * Added a new Krang::ElementClass method, mark_form_invalid(). This method may be overriden to alter how Krang marks element form fields invalid. The default behvior, wrapping the field in a

Re: Apache::SizeLimit?

2005-05-11 Thread Stas Bekman
Perrin Harkins wrote: On Wed, 2005-05-11 at 13:20 -0400, Stas Bekman wrote: It's not that SizeLimit and GTop no longer work, it's the recent linux kernels that have stopped maitaining certain information about shared memory. So the sharing happens, but there is no way to measure it. My impressio

Re: Apache::Session not updating (writing)

2005-05-11 Thread Bart Simpson
--- Rick <[EMAIL PROTECTED]> wrote: > On 5/10/05, Bart Simpson <[EMAIL PROTECTED]> > wrote: > > > > --- Rick <[EMAIL PROTECTED]> wrote: > > > I'm having problems with > > > MasonX::Request::WithApacheSession (using > > > Apache::Session::MySQL backend). The session is > not > > > being updated, s

Re: Apache::SizeLimit?

2005-05-11 Thread Perrin Harkins
On Wed, 2005-05-11 at 13:20 -0400, Stas Bekman wrote: > It's not that SizeLimit and GTop no longer work, it's the recent linux > kernels that have stopped maitaining certain information about shared > memory. So the sharing happens, but there is no way to measure it. My impression was that our m

Re: limiting subroutine run time

2005-05-11 Thread Stas Bekman
Thanks. I will try using alarm also. Though, be aware of the issues with signals in recent perls and specifically with Apache2. http://perl.apache.org/docs/2.0/user/coding/coding.html#Using_Signal_Handlers -- __ Stas Bekman

Re: Apache::SizeLimit?

2005-05-11 Thread Stas Bekman
Perrin Harkins wrote: On Wed, 2005-05-11 at 13:27 +0200, Torsten Foertsch wrote: Is there a way on linux to get the amount of pages shared among processes by copy on write? No. There was a lengthy discussion about this on the list a few months back. The methods used by SizeLimit and GTop no lon

Re: Apache::Session not updating (writing)

2005-05-11 Thread Rick
On 5/10/05, Bart Simpson <[EMAIL PROTECTED]> wrote: > > --- Rick <[EMAIL PROTECTED]> wrote: > > I'm having problems with > > MasonX::Request::WithApacheSession (using > > Apache::Session::MySQL backend). The session is not > > being updated, so > > I can't save any data to it. I verified this by >

updates on the perl threads scaling issues

2005-05-11 Thread Stas Bekman
A few updates on what happens on the perl threads scaling issues front. If you remember perl threads are painfully slow to start if you have lots of modules loaded, since the perl threading model is based on cloning all variables, but sharing the op-code tree. So on the loaded machine it's prohib

RE: [QUESTION] Browser hangs if multiple requests on the same Perlresource (Apache2, modperl2, Win32)

2005-05-11 Thread Pascal . Davoust
Yes, it does also happen without mod_sspi. Just tried. Pascal. -Message d'origine- De : Perrin Harkins [mailto:[EMAIL PROTECTED] Envoyé : mercredi 11 mai 2005 16:54 À : [EMAIL PROTECTED] Cc : modperl@perl.apache.org Objet : Re: [QUESTION] Browser hangs if mul

Re: limiting subroutine run time

2005-05-11 Thread Perrin Harkins
On Wed, 2005-05-11 at 07:57 -0700, Igor Chudov wrote: > Can you be a little more specific? Are you talking > about damage such as abuse of resources, or are you > talking about gaining unauthorized privileges? Possibly both. The thing is, no one uses Safe. Since no one uses it, you can't count o

Re: limiting subroutine run time

2005-05-11 Thread Igor Chudov
--- Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Tue, 2005-05-10 at 21:43 -0700, Igor Chudov > wrote: > > These user submitted perl scripts will be executed > > inside Safe.pm compartment. I hope that they will > be > > secure enough. > > It won't be, if someone is determined to damage your >

Re: Apache::SizeLimit?

2005-05-11 Thread Perrin Harkins
On Wed, 2005-05-11 at 13:27 +0200, Torsten Foertsch wrote: > Is there a way on linux to get the amount of pages shared among processes by > copy on write? No. There was a lengthy discussion about this on the list a few months back. The methods used by SizeLimit and GTop no longer work, if they

Re: [QUESTION] Browser hangs if multiple requests on the same Perl resource (Apache2, modperl2, Win32)

2005-05-11 Thread Perrin Harkins
On Wed, 2005-05-11 at 15:55 +0200, [EMAIL PROTECTED] wrote: > Server Version: Apache/2.0.54 (Win32) mod_ssl/2.0.54 OpenSSL/0.9.7g > mod_auth_sspi/1.0.1 mod_perl/1.999.21 Perl/v5.8.6 Does it happen without mod_auth_sspi? - Perrin

Re: limiting subroutine run time

2005-05-11 Thread Perrin Harkins
On Tue, 2005-05-10 at 21:43 -0700, Igor Chudov wrote: > These user submitted perl scripts will be executed > inside Safe.pm compartment. I hope that they will be > secure enough. It won't be, if someone is determined to damage your system. > My question is, is there some way to limit execution >

[QUESTION] Browser hangs if multiple requests on the same Perl resource (Apache2, modperl2, Win32)

2005-05-11 Thread Pascal . Davoust
Hi, I've got a problem with a modperl-enabled site. I've looked into the doc, troubleshooting, mailing list archives, but to no avail, so I'm kindly asking experts help. Symptom: Some users have their browser stalled forever trying to load something from the server, without ever

Re: limiting subroutine run time

2005-05-11 Thread Enno
This is not mod_perl related, but take a look at: perldoc -f alarm On Tue, 10 May 2005, Igor Chudov wrote: > I am working on a system on algebra.com where anyone > could define a math solver for a particular kind of > problem. It could be defined either via a custom > markup language (not inte

Apache::SizeLimit?

2005-05-11 Thread Torsten Foertsch
Hi, as I have learned from the "Debugging memory allocation" thread Apache::SizeLimit can be used to kill a child if it's unshared part grows to big. To measure this unshared part on linux /proc/PID/statm is used. I was in doubt that the simple difference between the total number of pages and t

Login window always show up in IE by using Apache2::AuthenNTLM

2005-05-11 Thread Gert Jan Schipper
Hi All, I have a RedHat 3.0AS with apache 2.48 When I surf to a folder on my apache that I have set to be authenticated from my domain. My Internet Explorer 6 gets and windows login popup, where it ask me to fill in User Name Password Domain but I want the login to be transparent.. this