Controlling bandwidth with mp2

2004-01-23 Thread gerard uolaquetalestem
Hi again, i have been looking for modules who control bandwith in apache2, but i've seen most of them are not actuallized to apache v2. After spending little time, i've wondered if there is any way to write a module in mod_perl 2 to control that bandwidth. I don't know where to begin with, i'm as

Re: Controlling bandwidth with mp2

2004-01-23 Thread Stas Bekman
gerard uolaquetalestem wrote: Hi again, i have been looking for modules who control bandwith in apache2, but i've seen most of them are not actuallized to apache v2. After spending little time, i've wondered if there is any way to write a module in mod_perl 2 to control that bandwidth. I don't kno

Re: Controlling bandwidth with mp2

2004-01-23 Thread Ged Haywood
Hello there, On Fri, 23 Jan 2004, gerard uolaquetalestem wrote: > looking for modules who control bandwith in apache2 > [snip] > Read in mail-lists: "The apache module, mod_throttle, worked > well, but increased CPU load to unusable levels for my employer. > We dropped both of them shortly after

RE: Controlling bandwidth with mp2

2004-01-23 Thread Egor Shipovalov
Ged, mod_throttle hasn't been ported to Apache2, last I checked. If I were you, I would research some other means of controlling bandwidth, like Squid delay pools (in http accelerator mode). Modern Linux kernels should also have bandwidth-controlling features in their firewalls. Best regards, Ego

more Perl benchmarks

2004-01-23 Thread Perrin Harkins
I was talking to some people at the Intel booth at Linux World Expo yesterday about their compiler, and decided to try it out on Perl. I have some results below, but first some caveats: - perlbench is not a very good measure of how web applications will perform. It tends to be weighted towards m

ANNOUNCE: Embperl 2.0b10

2004-01-23 Thread Gerald Richter
The URL ftp://ftp.dev.ecos.de/pub/perl/embperl/Embperl-2.0b10.tar.gz has entered CPAN as file: $CPAN/authors/id/G/GR/GRICHTER/Embperl-2.0b10.tar.gz size: 661831 bytes md5: 5420cb66228eff383ae9ccf25323e679 Contains last enhancements before the final 2.0 release and adaptions for Perl

Trying to install Apache::Request - a Linux n00b try #2

2004-01-23 Thread AdmanB
Running RH9, I have apache 1.3 (latest version that's not 2) and mod_perl 1.29 installed, both successfully, as far as I can tell I'm trying to install Apache::Request for Bricolage, I couldn't find it on the perl website, so I did a search for it. Which turned up the libapreq package, that inc

Re: Trying to install Apache::Request - a Linux n00b try #2

2004-01-23 Thread Perrin Harkins
On Fri, 2004-01-23 at 13:16, [EMAIL PROTECTED] wrote: > But when I try to perl > Makefile.PL, it says I don't have mod_perl installed, on the basis that > it can't locate mod_perl.pm. Sorry to say it, but if you don't have mod_perl.pm in your Perl lib path, you have not really installed mod_perl

Re: Trying to install Apache::Request - a Linux n00b try #2

2004-01-23 Thread AdmanB
Sorry to say it, but if you don't have mod_perl.pm in your Perl lib path, you have not really installed mod_perl. Maybe you missed a step somewhere, or maybe you are accidentally using a different perl to run the libapreq install than you did when you compiled mod_perl. - Perrin I only have one ve

Re: Trying to install Apache::Request - a Linux n00b try #2

2004-01-23 Thread Perrin Harkins
On Fri, 2004-01-23 at 13:54, [EMAIL PROTECTED] wrote: > I only have one version of mod_perl installed, I uninstalled the > version that came with it. Yes, but I'm thinking that maybe you didn't successfully install mod_perl. Have you tested it? And could there be more than one perl on your syst

Re: Trying to install Apache::Request - a Linux n00b try #2

2004-01-23 Thread Perrin Harkins
On Fri, 2004-01-23 at 13:54, [EMAIL PROTECTED] wrote: > I only have one version of mod_perl installed, I uninstalled the > version that came with it. To follow up a little more, did you by any chance install another Perl, from source or RPM, at any time on your system? I recently got the error y

GIF contents not "coming out"

2004-01-23 Thread Chris Drake
Hi All, My mod_perl 2 script is not sending back the contents of the GIF I'm trying to print. Running it locally, it does, or if I go:- print "foo"; ... I get "foo" - but when I print the GIF - I just get back the headers without any content!!! HELP!

How to uninstall mod_perl

2004-01-23 Thread Chris Drake
Hi, 1. How is mod_perl removed? 2. If I wanted to "upgrade" from 2.0_09 to 2.0_12, is there some special way to do this, or must I first uninstall the old before installing the new ? Chris. -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/m

Re: How to uninstall mod_perl

2004-01-23 Thread Stas Bekman
Chris Drake wrote: Hi, 1. How is mod_perl removed? I've never tried to do that, but assuming that you have the original build tree: make uninstall should probably work. 2. If I wanted to "upgrade" from 2.0_09 to 2.0_12, is there some special way to do this, or must I first uninstall the ol

Re: GIF contents not "coming out"

2004-01-23 Thread Stas Bekman
Chris Drake wrote: Hi All, My mod_perl 2 script is not sending back the contents of the GIF I'm trying to print. Running it locally, it does, or if I go:- print "foo"; ... I get "foo" - but when I print the GIF - I just get back the headers without any content!!! Please read on how we like proble

Re[2]: GIF contents not "coming out"

2004-01-23 Thread Chris Drake
Hi Stas, Thanks for the pointers. I've spent another hour on the problem, and found that this fixes it:- print "Content-type: image/gif\r\n\r\n"; local $| = 1; print ""; (interestingly, omitting the empty print causes the problem to come back); This only happens with GIF data incidentally - se