Heh. Forgot to state that it does cost an arm and a leg but it's one of
the few software packages that is worth considering paying money for IMO.
However, with the economy being the way it is, it is possible to "rent"
the software for a period of time but this is done by special arrangement
on a
On Tue, 12 Mar 2002, Jauder Ho wrote:
>
> Another application (commercial) is Mercury Interactive's LoadRunner. It
> actually records events and plays it back on "load generator" machines.
> It's fairly complex, has LOTs of knobs to turn and can load test quite a
> bit more than just web apps, I
Thank you both. I thought so: it is one of these typical JSP features -
but now it works in perl, too ;)
Cheers
Martin
Perrin Harkins wrote:
> Paul Lindner wrote:
>
>> You'll find that $r->internal_redirect() is the mod_perl equivalent.
>> Also Apache::ASP containts the Transfer() method whic
Another application (commercial) is Mercury Interactive's LoadRunner. It
actually records events and plays it back on "load generator" machines.
It's fairly complex, has LOTs of knobs to turn and can load test quite a
bit more than just web apps, I use it to load test/benchmark Oracle 11i
for ins
In the past someone posted a problem with mod_perl and DbI giving blank
pages from a SQL query. I did some digging around and found some info but I
need someone to fill in the holes for me a little.
I created a DB Table "webtest". In the table, I filled it with the contents
of /usr/local/dict/
Bill Marrs wrote:
>> One more piece of advice: I find it easier to tune memory control with
>> a single parameter. Setting up a maximum size and a minumum shared
>> size is not as effective as setting up a maximum *UNSHARED* size.
>> After all, it's the amount of real memory being used by ea
Hello,
AH>So you're correct. My point though is not so much that the load profile of
AH>what pages get loaded in what order, and what data calls and dynamic
AH>scripts are run in what order are genuine. If you simulate the timing
AH>between requests, you'll even get spikes that are similar to the
Hello,
ABH>Not really; you also have to emulate the connection speeds of the
ABH>users. Or does the tools you mentioned do that?
Both of the commercially produced tools I mentioned (SilkPerformer and the
free Microsoft Web Stress program) can throttle bandwidth. Rolling your
own is a bunch harde
> No, I can't explain the nitty gritty either. :-)
>
> Someone should write up a summary of this thread and ask in a
> technical linux place, or maybe ask Dean Gaudet.
I believe this is a linux/perl issue... stand alone daemons exhibit the
same behaviour... e.g. if you've got a parent PERL daemo
On Tue, 12 Mar 2002, Andrew Ho wrote:
[...]
> This is extremely effective if you have enough real user data because
> you're not inventing user load. You're using real user load.
Not really; you also have to emulate the connection speeds of the
users. Or does the tools you mentioned do that?
On Tue, 12 Mar 2002, Graham TerMarsch wrote:
[...]
> We saw something similar here, running on Linux servers. Turned out to be
> that if the server swapped hard enough to swap an HTTPd out, then you
> basically lost all the shared memory that you had. I can't explain all of
> the technical
On Tue, 12 Mar 2002, John Saylor wrote:
> Hi
>
> ( 02.03.12 06:57 -0500 ) Rich Bowen:
> > Comments welcome, YMMV, Caveat Emptor, and all that.
>
> I have found that some browsers put the file in the value matching the
> parameter name instead of putting a file upload object there. So your
> code
Heyas,
BH>Anyone know of good guides or general info on
BH>performance testing and emulating real use of
BH>an application.
As a general rule, it's easiest if you have a production system already
running. Record all information that you need to reproduce the requests
(typically, HTTP request h
On Tue, Mar 12, 2002 at 01:52:36PM -0800, clayton cottingham wrote:
> Bryan Henry wrote:
> >
> > Anyone know of good guides or general info on
> > performance testing and emulating real use of
> > an application.
> >
> > I would like to understand how to identify
> > potential bottlenecks before
Bryan Henry wrote:
>
> Anyone know of good guides or general info on
> performance testing and emulating real use of
> an application.
>
> I would like to understand how to identify
> potential bottlenecks before I deploy web apps.
>
> thank you,
> ~ b r y a n
try httpd.apache.org/test/
and
Anyone know of good guides or general info on
performance testing and emulating real use of
an application.
I would like to understand how to identify
potential bottlenecks before I deploy web apps.
thank you,
~ b r y a n
Ray Recendez wrote:
> Running it from the command line seems to work:
> rift_root>perl -MMD5 -e 'print "ok\n";'
> ok
Is it possible that you may have installed this module using a different
compiler from the one you used for mod_perl? or maybe built mod_perl
against a different perl installati
Chris Allen wrote:
> In desperation, I have switched to Cache::FileCache - which
> works fine, but I would be interested to know, for a system
> that handles several hundred database queries per minute:
>
> - What is the performance difference between SharedMemoryCache
> and FileCache?
You can t
-Original Message-
From: Perrin Harkins [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002 12:48 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Apache::TicketAccess
Ray Recendez wrote:
> Yes I have MD5 installed. However, MD5.pm is located in the following
> locations:
Bill Marrs wrote:
> When I install the recent Redhat 7.2 updates for glibc:
>
> glibc-2.2.4-19.3.i386.rpm
> glibc-common-2.2.4-19.3.i386.rpm
> glibc-devel-2.2.4-19.3.i386.rpm
>
> It breaks my Apache GTop-based Perl modules, in a way that I don't
> understand.
[...]
> Anyone have a clue about wh
Ray Recendez wrote:
> Yes I have MD5 installed. However, MD5.pm is located in the following
> locations: /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/MD5.pm ;
> /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/MD5/MD5.pm ; and
> /usr/local/lib/perl5/site_perl/5.6.1/MD5.pm. Which one is corre
When I install the recent Redhat 7.2 updates for glibc:
glibc-2.2.4-19.3.i386.rpm
glibc-common-2.2.4-19.3.i386.rpm
glibc-devel-2.2.4-19.3.i386.rpm
It breaks my Apache GTop-based Perl modules, in a way that I don't understand.
Here is are the error messages from my httpd/error_log:
[Tue Mar 12
-Original Message-
From: Perrin Harkins [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002 12:16 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Apache::TicketAccess
Ray Recendez wrote:
> I am new to perl/mod_perl and I am trying to implement secure
> authentication wit
I have recently upgraded our modperl based web server
to use Cache::SharedMemoryCache. The code is changed very
little from in the docs - retrieve an entry from the
cache if it is there, otherwise get an entry from the
database and store it in the cache.
However, after about fifteen minutes of m
Hi
( 02.03.12 06:57 -0500 ) Rich Bowen:
> Comments welcome, YMMV, Caveat Emptor, and all that.
I have found that some browsers put the file in the value matching the
parameter name instead of putting a file upload object there. So your
code should check the value to see if it is a path AND a one
Thanks for all the great advice.
A number of you indicated that it's likely due to my apache processes being
partially swapped to disk. That seems likely to me. I haven't had a
chance to prove that point, but when it does it again and I'm around, I
plan to test it with free/top (top has a SW
Mozilla sends a fully qualified path name ... just an FYI ...
On Tue, 12 Mar 2002, Robert Landrum wrote:
> At 9:01 AM -0800 3/12/02, David Wheeler wrote:
> >On Tue, 2002-03-12 at 03:57, Rich Bowen wrote:
> >
> >> my $form = Your::Class::form(); # Wherever you put this function
> >> if (my $file
Ray Recendez wrote:
> I am new to perl/mod_perl and I am trying to implement secure
> authentication with expirable ticket/cookies on our website (Apache
> 1.3.9-Solaris 2.8). I am trying to use Apache::TicketAccess with Apache
> 1.3.9, modssl, openssl, and mod_ssl installed but I am having pro
El Mar 12 Mar 2002 11:23, Axel Andersson escribió:
> Hello,
> I'm having trouble with both setting a cookie and redirecting the user to
> another page at the same time. It would appear the cookie is only sent
> when a normal header is sent by server.
>
> If I do the following (having baked the coo
> Miroslav Madzarevic wrote:
>
> I have virthost1 and virthost2 on mod-perl apache, most of the time
> you get the right content when calling respective virthost but
> sometimes when you call virthost2 you get response from virt. host 1.
> This is a rare bug but happens.
>
Do you have this in yo
I am new to perl/mod_perl
and I am trying to implement secure authentication with expirable
ticket/cookies on our website (Apache 1.3.9-Solaris 2.8). I am trying to use
Apache::TicketAccess with Apache 1.3.9, modssl, openssl, and mod_ssl installed
but I am having problems even though everyt
At 9:01 AM -0800 3/12/02, David Wheeler wrote:
>On Tue, 2002-03-12 at 03:57, Rich Bowen wrote:
>
>> my $form = Your::Class::form(); # Wherever you put this function
>> if (my $file = $form->{UPLOAD}) {
>> my $filename = $file->filename; # If you need the name
>
>Actually, if you want the name,
Basel, Dienstag, 12. März 2002, 19:27:24
.
Hello Miroslav
Assuming, that you are using a handler, I ask you how you separate
each calls to your vhosts? I also assume that the vhosts are on the
same Apache runtime?
Probably you mix up namespaces ...
Best R
On Tue, 12 Mar 2002, Stas Bekman wrote:
> Rich Bowen wrote:
> > I am sure that this is a FAQ, but I had a very hard time finding
> > examples of code for doing file upload. I wanted to post this here in
> > order to have it in the permanent record so that other folks don't have
> > to spend days
> On Tue, Mar 12, 2002 at 11:06:00AM -0500, Mark Matthews wrote:
> > Hello,
> >
> > I am moving a website that now resides on a i686 server running RedHat
> > 6.2 with perl v5.005_03 to another i686 server running Suse 7.1 with
> > perl v5.6.1.
>
> > The website uses a number of cgi scripts that r
> Geoff: I think I did this with my own module with no success... I'd end
> up with an extra set of headers, if I was _lucky_...
perhaps that is due to a general misunderstanding of err_headers_out -
they are sent _even_ on Apache errors (of which REDIRECT is considered
one), not _only_ on err
Bill Marrs wrote:
> But... recently, something happened, and things have changed. After
> some random amount of time (1 to 40 minutes or so, under load), the
> parent httpd suddenly loses about 7-10mb of share between it and any new
> child it spawns.
One possible reason is that a perl memory
Miroslav Madzarevic wrote:
> It seems that my mod-perl virtual hosts are mixing content :(
>
> I don't know why ?
>
>
>
> I have virthost1 and virthost2 on mod-perl apache, most of the time you
> get the right content when calling respective virthost but sometimes
> when you call virthost2
Are you using 2 separate apache processes or 2 virtual hosts within the
same apache process?
If it's the latter, according to Apache's documentation:
"If no matching virtual host is found, then the first listed virtual
host that matches the IP address will be used."
(http://httpd.apache.org/doc
It seems that my mod-perl virtual hosts are mixing
content :(
I don't know why ?
I have virthost1 and virthost2 on mod-perl apache,
most of the time you get the right content when calling respective virthost but
sometimes when you call virthost2 you get response from virt. host 1. This is a
On Tuesday 12 March 2002 06:18, you wrote:
> I'm a heavy mod_perl user, running 3 sites as virtual servers, all with
> lots of custom Perl code. My httpd's are huge(~50mb), but with the help
> of a startup file I'm able to get them sharing most of their
> memory(~43). With the help of GTopLimit,
Elizabeth Mattijsen wrote:
> Since Perl is basically all data, you would need to find a way of
> localizing all memory that is changing to as few memory chunks as
> possible.
That certainly would help. However, I don't think you can do that in
any easy way. Perl doesn't try to keep compiled
On Tue, 2002-03-12 at 03:57, Rich Bowen wrote:
> my $form = Your::Class::form(); # Wherever you put this function
> if (my $file = $form->{UPLOAD}) {
> my $filename = $file->filename; # If you need the name
Actually, if you want the name, it's a really good idea to just get the
basename, sin
Nico Erfurth wrote:
> Today i had a big problem, and i don't know how to track it down.
> After changing one of my tool-modules apache segfaults on startup.
>
> So, how can i debug something like this?
Do you know exactly what you changed? In that case, you have a small
amount of code to look
Nico Erfurth wrote:
> Hi,
>
>
> i'm creating an accounting system for my employer, the webfrontend is
> created with mod_perl.
>
> Today i had a big problem, and i don't know how to track it down.
> After changing one of my tool-modules apache segfaults on startup.
>
> So, how can i debug som
Hi,
Anyone know what might be going on in this error message?
[Tue Mar 12 12:03:59 2002] [error] [client 192.168.1.25]
Apache::OpenIndex internal error: NULL command
[Tue Mar 12 12:03:59 2002] [error] Can't use an undefined value as an
ARRAY reference at
/usr/lib/perl5/site_perl/5.6.0/i386-li
Geoffrey Young wrote:
>Axel Andersson wrote:
>
>>Hello,
>>I'm having trouble with both setting a cookie and redirecting the user to
>>another page at the same time. It would appear the cookie is only sent
>>when a normal header is sent by server.
>>
>
>this is a common problem - you have to add t
At 12:43 AM 3/13/02 +0800, Stas Bekman wrote:
>Doug has plans for a much improved opcode tree sharing for mod_perl 2.0,
>the details are kept as a secret so far :)
Can't wait to see that!
>This topic is covered (will be) in the upcoming mod_perl book, where
we >include the following referenc
Well, I ran into this problem a while back... I solved it by baking my
cookies and sening a Refresh: header to the browser. The format is the
same as the more popularly used META tag. (eg "Refresh: $time;url=$url")
For example, to immediately redirect from /foo to /bar while setting a
cookie,
Hi,
i'm creating an accounting system for my employer, the webfrontend is
created with mod_perl.
Today i had a big problem, and i don't know how to track it down.
After changing one of my tool-modules apache segfaults on startup.
So, how can i debug something like this?
Are there any hooks in
Elizabeth Mattijsen wrote:
>> Shared memory is not about sharing the pre-allocated memory pool (heap
>> memory). Once you re-use a bit of preallocated memory the sharing goes
>> away.
>
>
> I think the phrase is Copy-On-Write, right?
yup
> And since RAM is allocated
> in chunks, let's ass
Paul Lindner wrote:
> You'll find that $r->internal_redirect() is the mod_perl equivalent.
> Also Apache::ASP containts the Transfer() method which accomplishes
> the same thing.
Personally, I always thought this was sort of a strange part of JSP. It
really shows the page-centric thinking behin
Mark Matthews wrote:
> Hello,
>
> I am moving a website that now resides on a i686 server running RedHat
> 6.2 with perl v5.005_03 to another i686 server running Suse 7.1 with
> perl v5.6.1.
>
> The website uses a number of cgi scripts that read and write from
> BerkeleyDB files using the tie fu
At 11:46 PM 3/12/02 +0800, Stas Bekman wrote:
>>I'm not sure whether my assessment of the problem is correct. I would
>>welcome any comments on this.
>Nope Elizabeth, your explanation is not so correct. ;)
Too bad... ;-(
>Shared memory is not about sharing the pre-allocated memory pool (heap
On Tue, Mar 12, 2002 at 11:06:00AM -0500, Mark Matthews wrote:
> Hello,
>
> I am moving a website that now resides on a i686 server running RedHat
> 6.2 with perl v5.005_03 to another i686 server running Suse 7.1 with
> perl v5.6.1.
> The website uses a number of cgi scripts that read and write
Hello,
I am moving a website that now resides on a i686 server running RedHat
6.2 with perl v5.005_03 to another i686 server running Suse 7.1 with
perl v5.6.1.
The website uses a number of cgi scripts that read and write from
BerkeleyDB files using the tie function.
The site is currently runnin
Rich Bowen wrote:
> I am sure that this is a FAQ, but I had a very hard time finding
> examples of code for doing file upload. I wanted to post this here in
> order to have it in the permanent record so that other folks don't have
> to spend days figuring this out.
Great Rich! I think we can do b
Elizabeth Mattijsen wrote:
> At 09:18 AM 3/12/02 -0500, Bill Marrs wrote:
>
>> If anyone has any ideas what might cause the httpd parent (and new
>> children) to lose a big chunk of shared memory between them, please
>> let me know.
>
>
> I've seen this happen many times. One day it works fi
On Tue, Mar 12, 2002 at 10:01:42AM +0100, Martin Haase-Thomas wrote:
> Hi all,
>
> I know this is not perfectly the right list for my topic, but before
> subscribing to another for just one question... forgive me if I'm going
> to be boring. Even more, because my question is rather philosophica
On Tue, 12 Mar 2002 09:18:32 -0500
Bill Marrs <[EMAIL PROTECTED]> wrote:
> But... recently, something happened, and things have changed. After some
> random amount of time (1 to 40 minutes or so, under load), the parent httpd
> suddenly loses about 7-10mb of share between it and any new child
Axel Andersson wrote:
>
> Hello,
> I'm having trouble with both setting a cookie and redirecting the user to
> another page at the same time. It would appear the cookie is only sent
> when a normal header is sent by server.
>
this is a common problem - you have to add the cookie to the
err_head
Bill Marrs wrote:
> I'm a heavy mod_perl user, running 3 sites as virtual servers, all with
> lots of custom Perl code. My httpd's are huge(~50mb), but with the help
> of a startup file I'm able to get them sharing most of their
> memory(~43). With the help of GTopLimit, I'm able to keep the
Hello,
I'm having trouble with both setting a cookie and redirecting the user to
another page at the same time. It would appear the cookie is only sent
when a normal header is sent by server.
If I do the following (having baked the cookie first), where $r is the
Apache->request() object:
Oops. Premature sending...
I have two ideas that might help:
- reduce number of global variables used, less memory pollution by lexicals
- make sure that you have the most up-to-date (kernel) version of your
OS. Newer Linux kernels seem to be a lot savvy at handling shared memory
than older ke
At 09:18 AM 3/12/02 -0500, Bill Marrs wrote:
>If anyone has any ideas what might cause the httpd parent (and new
>children) to lose a big chunk of shared memory between them, please let me
>know.
I've seen this happen many times. One day it works fine, the next you're
in trouble. And in my e
I'm a heavy mod_perl user, running 3 sites as virtual servers, all with
lots of custom Perl code. My httpd's are huge(~50mb), but with the help of
a startup file I'm able to get them sharing most of their
memory(~43). With the help of GTopLimit, I'm able to keep the memory usage
under contro
Should we tell the yellow press in the end?
;)
Martin
Carlos Ramirez wrote:
> I wrote an article about Apache::Motd for UNIX SysAdmin magazine
> (March 2001 issue). Here's the link:
> http://www.samag.com/documents/s=1153/sam0103a/
>
> -Carlos
>
>
> Geoffrey Young wrote:
>
>> John Eisenschmi
I wrote an article about Apache::Motd for UNIX SysAdmin magazine (March
2001 issue). Here's the link:
http://www.samag.com/documents/s=1153/sam0103a/
-Carlos
Geoffrey Young wrote:
> John Eisenschmidt wrote:
>
>>Sinister, aren't I?
>>
>>For the record I did email directly an explanation of
John Eisenschmidt wrote:
>
> Sinister, aren't I?
>
> For the record I did email directly an explanation of what -o does and to exclude it
>for "clean" fortunes, and that it's more fun to make your own. I have quotes from all
>the Dogma movies that are called within my mod_perl index.html on m
I am sure that this is a FAQ, but I had a very hard time finding
examples of code for doing file upload. I wanted to post this here in
order to have it in the permanent record so that other folks don't have
to spend days figuring this out.
I have a generic form method which looks like:
sub form
On Sat, 9 Mar 2002, Gabor Szabo wrote:
>
> On 2002.03.06 04:05 Stas Bekman wrote:
> > >
> > >>I'm compiling a list of companies giving mod_perl training for our new
> > >>mod_perl site. Currently I have only:
>
> Stats and others,
>
> I am keping a list of companies providing Perl training at
> h
Hi all,
I know this is not perfectly the right list for my topic, but before
subscribing to another for just one question... forgive me if I'm going
to be boring. Even more, because my question is rather philosophical.
If you consider JSPs, there is a tag called .
My question is: how do I hav
72 matches
Mail list logo