Re: High CPU utilization on RHEL5.6/CentOS5.6

2011-07-27 Thread Christopher Stanton
Which benchmark module would work best with mod_perl, Perl 5.8 and Perl 5.12? On Wed, Jul 27, 2011 at 7:22 AM, Dave Hodgkinson daveh...@gmail.com wrote: On 26 Jul 2011, at 18:58, Christopher Stanton wrote: I will see if I can get Perl 5.12 and an associated mod_perl up and running

Re: High CPU utilization on RHEL5.6/CentOS5.6

2011-07-26 Thread Christopher Stanton
): Requires: httpd = 2.0.54-0; perl = 5.8.6-0; perl-Digest-SHA1 = 2.10-0; mod_perl = 2.0.1-0; On Tue, Jul 26, 2011 at 12:43 PM, Perrin Harkins per...@elem.com wrote: On Mon, Jul 25, 2011 at 6:43 PM, Christopher Stanton christopher.stan...@codaxus.com wrote: I am seeing high cpu utilization under RHEL5.6

High CPU utilization on RHEL5.6/CentOS5.6

2011-07-25 Thread Christopher Stanton
I have a MJPEG streaming system which uses mod_perl in the web interface to supply the final stream to the client. I am seeing high cpu utilization under RHEL5.6 which I don't see on FC14. We are talking sub 10% on FC14 vs 80% on EL5. This is on different hardware, but not that different. And on

Re: High CPU utilization on RHEL5.6/CentOS5.6

2011-07-25 Thread Christopher Stanton
for this information is, but here's what I found with a search: http://yate.null.ro/pmwiki/index.php?n=Main.YateAndVMWare On Mon, Jul 25, 2011 at 3:43 PM, Christopher Stanton christopher.stan...@codaxus.com wrote: I have a MJPEG streaming system which uses mod_perl in the web interface to supply

Re: High CPU utilization on RHEL5.6/CentOS5.6

2011-07-25 Thread Christopher Stanton
with Blocking = 0. A JPEG (in a 25fps stream) arrives every 40,000 microseconds. Christopher On Mon, Jul 25, 2011 at 6:43 PM, Fred Moyer f...@redhotpenguin.com wrote: On Mon, Jul 25, 2011 at 4:02 PM, Christopher Stanton christopher.stan...@codaxus.com wrote: Neither install is running within

allow_methods not setting list when request if of type OPTIONS

2008-01-31 Thread Christopher Stanton
Hey Everyone, I am trying to set the allowed bitmask in a custom request handler when I receive the OPTIONS method (and when I receive a method request for a method I do not support). This includes possibly not listing support for GET or POST. I am using: Fedora Core 6 Apache 2.2.4-2.1 mod_perl

mod_perl Apache2 RequestRec allowed problem

2007-10-09 Thread Christopher Stanton
I am trying to set the allowed bitmask in a custom request handler when I receive the OPTIONS method (and when I receive a method request for a method I do not support). I have followed the example in http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html#C_allowed_ but Apache always returns

Re: mod_perl Apache2 RequestRec allowed problem

2007-10-09 Thread Christopher Stanton
, Christopher On 10/9/07, Geoffrey Young [EMAIL PROTECTED] wrote: Christopher Stanton wrote: I am trying to set the allowed bitmask in a custom request handler when I receive the OPTIONS method (and when I receive a method request for a method I do not support). I have followed the example

Re: mod_perl Apache2 RequestRec allowed problem

2007-10-09 Thread Christopher Stanton
$r-allowed_methods($reset, $list) only seems to respect the reset flag if the return code from the handler is either Apache2::Const::HTTP_METHOD_NOT_ALLOWED or Apache2::Const::HTTP_NOT_IMPLEMENTED which is not in the documentation. The OPTIONS request is supposed to be URI/resource specific

[mp2] $r-print produces errors when Content-Disposition contains built filename

2005-09-21 Thread Christopher Stanton
Fedora Core 4 httpd-2.0.54-10 mod_perl-2.0.0-0.rc5.3 nph mod_perl script If I user $r-print to print the response to the client, it returns that it sent more bytes than length($write_buffer) and the JPEG, which is part of the response, is bad if the response header contains a

Strange $r-print($buffer)/Content-Disposition problem

2005-09-20 Thread Christopher Stanton
Fedora Core 4 httpd-2.0.54-10 mod_perl-2.0.0-0.rc5.3 I have an nph mod_perl script which will send a JPEG to a client either inline or as an attachment (if a param is passed). If it is an attachment, I set the Content-Disposition to: Content-Disposition: attachment;

Re: Strange $r-print($buffer)/Content-Disposition problem

2005-09-20 Thread Christopher Stanton
In the second example I have already appended \r\n to the write buffer. So it really is: $write_buffer .= \r\n; $r-print($write_buffer); $r-print($jpeg); $r-print(\r\n\r\n); I try to write the same data to the client. In one case I write it as one big buffer, in the other case I write the