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 jsp:forward page=... /.
My
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? G
For the record I did email directly an explanation of what
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 Eisenschmidt 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 memory usage
under
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
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
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:
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
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 it
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 fine, the
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
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 philosophical.
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
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
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 from
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 reference
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 behind
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
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 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,
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 something
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
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, since
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
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
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.
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 you get
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
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
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 figuring
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
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, it's a
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
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 your
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 cookie
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
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
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
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 =
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 what I'd
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
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
-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 with
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 correct?
-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:
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 test
Ray Recendez wrote:
Running it from the command line seems to work:
rift_rootperl -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 installation?
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
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 perl
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 I deploy web
Heyas,
BHAnyone know of good guides or general info on
BHperformance testing and emulating real use of
BHan 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
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 should
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, 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?
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 daemon
Hello,
ABHNot really; you also have to emulate the connection speeds of the
ABHusers. 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
Hello,
AHSo you're correct. My point though is not so much that the load profile of
AHwhat pages get loaded in what order, and what data calls and dynamic
AHscripts are run in what order are genuine. If you simulate the timing
AHbetween requests, you'll even get spikes that are similar to the
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 each
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
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 which
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 use it
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
63 matches
Mail list logo