I'm hoping this is possible with mod_perl, since I'm already familiar
with it and fairly allergic to c, but can't seem to figure out the right
phase.
I've been seeing log files recently that point to a certain DDOS attack
brewing on apache servers. I want to write a module that keeps a timer
Robin Berjon thought I should post this as a heads-up to anyone thinking
what I thought: XS or pure perl code will always be faster than backticks
or system() calls.
Wrong.
I spent some time converting some of our backtick programs to XS code here,
and the result was absolutely zero difference
I'm not sure that any mod_perl handlers are dispatched until the whole
request is received, so you may have to deal with this at the core Apache
level.
I think the following is your best bet (from
http://httpd.apache.org/docs/mod/core.html#timeout )
TimeOut directive
Syntax: TimeOut number
[CC'ing mod_perl list]
Jason Shaw wrote:
Hi, I found the archive below, and am having the same problem. Mine
occurs whenever I try to start Apache. I just want to know where I
would put that fix that you posted below? Should I edit the DBI.pm
file, or somewhere in my configuration script
I am new with Perl and particularly mod_perl. I am trying to setup web
authentication with the expiration period based on inactivity. Is there an
easy to use already written module with documentation? If so, could someone
please point me in the right direction.
Thanks,
Ray
-Original Message-
From: Doug MacEachern [mailto:[EMAIL PROTECTED]]
On Wed, 26 Sep 2001, Matt Sergeant wrote:
Robin Berjon thought I should post this as a heads-up to
anyone thinking
what I thought: XS or pure perl code will always be faster
than backticks
or system()
On Wed, 26 Sep 2001, Matt Sergeant wrote:
Robin Berjon thought I should post this as a heads-up to anyone thinking
what I thought: XS or pure perl code will always be faster than backticks
or system() calls.
Wrong.
matt your benchmark is severly flawed. for starters, your xs and
external
Hi
I am currently using Apache::Resource to limit the maximum amount of ram
the apache childs are allowed to use.
However, I can't really use PERL_RLIMIT_CPU because it is kind of pointless
to kill every apache child that reaches
this limit. I need a way to restrict cpu time on a per script or
On Wed, 26 Sep 2001, Matt Sergeant wrote:
As does backticks, surely? If you can tell me a way to make the code faster,
damn I'll do it as we have a *lot* of emails to process :-)
maybe, i don't know in what way your code uses sv_catpv.
and who knows what else.
Nothing else. I detailed
I am writing a script at the moment which among others things creates
another process using the system call.
What I need to do is capture the screen output of this process into a string
variable so that it can latter be manipulaterd. ie. capture the STDOUT.
Any help, suggestions or sample code
You'll need to use the backticks instead of the system call.
$output = `command`;
To get each line of the output, you'll need to split off of \n.
-Ray Graham
On Thu, 27 Sep 2001, Matthew Blacklow wrote:
Date: Thu, 27 Sep 2001 09:22:41 +1000
From: Matthew Blacklow [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Perl Scripting help
I am writing a script at the moment which among others things creates
another process using the system call.
What
Hi, I hope this is the right list.
I can't seem to build apache with mod_perl. Is it just me? I must be dumm,
or just a newbie. I eventually want ssl, php4, etc., but after problems
developed, I went back to basics. I'm using apache_1.3.20 and
mod_perl-1.25 from tarballs. I'm running debian.
On Wed, Sep 26, 2001 at 05:39:26PM -0700, [EMAIL PROTECTED] wrote:
Hi, I hope this is the right list.
I can't seem to build apache with mod_perl. Is it just me? I must be dumm,
or just a newbie. I eventually want ssl, php4, etc., but after problems
developed, I went back to basics. I'm
On Thu, Sep 27, 2001 at 09:22:41AM +1000, Matthew Blacklow wrote:
I am writing a script at the moment which among others things creates
another process using the system call.
What I need to do is capture the screen output of this process into a string
variable so that it can latter be
Ray and Lara Recendez wrote:
I am new with Perl and particularly mod_perl. I am trying to setup web
authentication with the expiration period based on inactivity. Is there an
easy to use already written module with documentation? If so, could someone
please point me in the right direction.
Something to keep Code Red probes busy ??
http://www.hackbusters.net/LaBrea/
stas01/09/26 10:01:24
Modified:.sites.html
Log:
- adding citysearch.com to the list of success sites
- correcting some details for singleaheaven.com
Revision ChangesPath
1.18 +13 -6 modperl-site/sites.html
Index: sites.html
stas01/09/26 01:15:32
Modified:todo missing_old_features.txt
Log:
- log the missing env MOD_PERL_TRACE support
Revision ChangesPath
1.6 +2 -0 modperl-2.0/todo/missing_old_features.txt
Index: missing_old_features.txt
19 matches
Mail list logo