- Original Message -
From: "Terry Newnham" <[EMAIL PROTECTED]>
To: "mod_perl list" <[EMAIL PROTECTED]>
Sent: Wednesday, January 17, 2001 6:51 PM
Subject: mod_perm and Java servlets
>
> Hi
>
> My boss has asked me to set up a web server on Solaris 8 with mod_perl
> and (if possible) J
i think its worth posting to the list. it will be forever in the
archives when someone needs it.
thanks!
Balazs Rauznitz wrote:
> On Wed, 17 Jan 2001, ___cliff rayman___ wrote:
>
> > i and others have written on the list before, that pushing apache
> > children into swap causes a rapid downwar
On Wed, 17 Jan 2001, ___cliff rayman___ wrote:
> i and others have written on the list before, that pushing apache
> children into swap causes a rapid downward spiral in performance.
> I don't think that MaxClients is the right way to limit the # of children. i think
> MaxSpareCoreMemory would
Hi,
I'm having a problem with IPC::SharedCache module:
when executing a code like this:
tie(%cache, 'IPC::SharedCache',load_callback => sub {return undef},
validate_callback => sub {return 1},ipc_key => 'hash');
for ($i=1;$i<=1000;$i++) {
$cache{"key_$i"}=[$i];
}
it allocates a separate
Hello,
TN>My boss has asked me to set up a web server on Solaris 8 with mod_perl
TN>and (if possible) Java servlet capabilities as well. Has anybody done
TN>this ? Any issues ?
I've experimented with mod_perl and JRun on Solaris, and they've played
together nicely. As long as you're hefty on mem
>
> I have installed mod_perl as a DSO for apache, everything is ok!
> Now i am in need for embperl, the problem begins when i perl
> Makefile.PL, it asks me for apache source!
> Since i have every apache module as DSO i have deleted everything
> related to apache.
>
> Hoe to enable embperl with m
if you are able to determine how much core memory
is left, you may also be able to determine average apache
process size and variance. then, apache can determine
whether or not to start up any additional children. i'm not
sure how much processor time would be taken to determine
free core memory.
On Wed, 17 Jan 2001, ___cliff rayman___ wrote:
> i and others have written on the list before, that pushing apache
> children into swap causes a rapid downward spiral in performance. I
> don't think that MaxClients is the right way to limit the # of
> children. i think MaxSpareCoreMemory would ma
Since nobody seems care about this problem, I have to find a solution
myself. Fortunately perl has a "prototype" function that returns the
prototype of a function. Here is the difference between the original
PerlRun.pm in mod_perl 1.24_01 and the updated one:
343c343,350
< *{$fullna
Hello Sam and others
If I haven't overseen, nobody so far really mentioned fastcgi. I'm
asking myself why you reinvented the wheel. I summarize the
differences I see:
+ perl scripts are more similar to standard CGI ones than with
FastCGI (downside: see next point)
- it seems you can't control
i and others have written on the list before, that pushing apache
children into swap causes a rapid downward spiral in performance.
I don't think that MaxClients is the right way to limit the # of children. i think
MaxSpareCoreMemory would make more sense. You could
set this to 1K if your server
I've heard mod_perm costs a lot more than its worth. There was an
open-source clone called mod_home_perm but it wasn't very successful.
Some people say you should skip it altogether and just use mod_hat.
On Thu, 18 Jan 2001, Terry Newnham wrote:
> My boss has asked me to set up a web server on
On Wed, 17 Jan 2001, ___cliff rayman___ wrote:
> here is an excerpt from httpd.h:
Good reading. Thanks.
It looks as if Apache should find the right number of servers for a steady
load over time, but it could jump up too high for a bit when the load
spike first comes in, pushing into swap if Ma
On Wed, 17 Jan 2001, Andrew Ho wrote:
> Hello,
>
> The other day we had a system fail because the partition that holds the
> logs became full, and Apache stopped responding to requests. Deleting some
> old log files in that partition solved the problem.
>
> We pipe logs to cronolog (http://www.
here is an excerpt from httpd.h:
/*
* (Unix, OS/2 only)
* Interval, in microseconds, between scoreboard maintenance. During
* each scoreboard maintenance cycle the parent decides if it needs to
* spawn a new child (to meet MinSpareServers requirements), or kill off
* a child (to meet MaxSpar
Hi
My boss has asked me to set up a web server on Solaris 8 with mod_perl
and (if possible) Java servlet capabilities as well. Has anybody done
this ? Any issues ?
Terry
On Wed, 17 Jan 2001, Sam Horrocks wrote:
> If in both the MRU/LRU case there were exactly 10 interpreters busy at
> all times, then you're right it wouldn't matter. But don't confuse
> the issues - 10 concurrent requests do *not* necessarily require 10
> concurrent interpreters. The MRU has an a
There is no coffee. Only meals. No substitutions. :-)
If we added coffee to the menu it would still have to be prepared by the cook.
Remember that you only have one CPU, and all the perl interpreters large and
small must gain access to that CPU in order to run.
Sam
> I have a wide assortmen
> I guess as I get older I start to slip technically. :) This helps me a bit,
> but it doesn't really help me understand the final arguement (that MRU is
> still going to help on a fully loaded system).
>
> With some modification, I guess I am thinking that the cook is really the
> OS an
"G.W. Haywood" wrote:
>
> Hi G,
>
> On Wed, 17 Jan 2001, Gustavo Vieira Goncalves Coelho Rios wrote:
>
> > [Wed Jan 17 18:04:41 2001] [error] [client 192.168.1.11] Premature end
> > of script headers: /home/grios/.public_html/cgi-bin/bench3.cgi
>
> Who knows? Something isn't finishing what it
Gustavo:
This usually happens if you get an error before the application has a chance
to send the appropriate HTTP headers back to the client.
Paul E Wilt
Principal Software Engineer
XanEdu, Inc. ( a division of Bell+Howell Information&Learni
Hi G,
On Wed, 17 Jan 2001, Gustavo Vieira Goncalves Coelho Rios wrote:
> [Wed Jan 17 18:04:41 2001] [error] [client 192.168.1.11] Premature end
> of script headers: /home/grios/.public_html/cgi-bin/bench3.cgi
Who knows? Something isn't finishing what it started. Post the script.
73,
Ged.
Hi folks, i have setted my apache box, but i am facing some problem with
executing my cgi (of course perl ones).
That's all i get from error_log:
[Wed Jan 17 18:04:41 2001] [error] [client 192.168.1.11] Premature end
of script headers: /home/grios/.public_html/cgi-bin/bench3.cgi
May some one he
Hi Andrew,
On Wed, 17 Jan 2001, Andrew Ho wrote:
> The other day we had a system fail because the partition that holds the
> logs became full, and Apache stopped responding to requests.
http://perl.apache.org/guide - Controlling and Monitoring the Server
Look for watchdog.pl (if it's still in
Hello,
The other day we had a system fail because the partition that holds the
logs became full, and Apache stopped responding to requests. Deleting some
old log files in that partition solved the problem.
We pipe logs to cronolog (http://www.ford-mason.co.uk/resources/cronolog/)
to roll them da
hi folks!
Here am i again with some doubts once more.
I have installed mod_perl as a DSO for apache, everything is ok!
Now i am in need for embperl, the problem begins when i perl
Makefile.PL, it asks me for apache source!
Since i have every apache module as DSO i have deleted everything
related
I have a wide assortment of queries on a site, some of which take several minutes to
execute, while others execute in less than one second. If understand this analogy
correctly, I'd be better off with the current incarnation of mod_perl because there
would be more cashiers around to serve the "
I guess as I get older I start to slip technically. :) This helps me a bit,
but it doesn't really help me understand the final arguement (that MRU is
still going to help on a fully loaded system).
With some modification, I guess I am thinking that the cook is really the
OS and the CPU is reall
I ran into a problem similar to this...
As it turned out it was due to a commo problem between my web server and a
remote database - specifically, the database was being used for access
control. When the commo link between apache and MySQL crapped out apache
sat there spun its wheels and then re
At 08:59 AM 1/17/2001 +0200, you wrote:
>Hi,
>
>This is me again. Thanks for quick response. Another two questions:
>in your demo http://www.xorgate.com/FileMan/demo/.XFM/
>just tried to upload file "1", it reported me "ERROR: MkFile: Parent access
>denied" but I suspect it catchup to do open() be
On Mon, Jan 15, 2001 at 08:37:18PM -0800, Ask Bjoern Hansen wrote:
> On Mon, 15 Jan 2001, Edmund Mergl wrote:
>
> > any comments ?
>
> [count number of times a user has logged in and such things]
>
> Other people would like to count / note / ... other things.
>
> It would be neater if you made
On Wed, 17 Jan 2001, George Sanderson wrote:
> At 09:52 AM 1/17/2001 -0200, you wrote:
> >The documentation in the package is extremely poor, so, may somebody
> >here points me the right source of documentation?
> >
> I had the same first impression, but I have readjusted my thinking to:
> "The d
Hi there,
On Wed, 17 Jan 2001, Gustavo Vieira Goncalves Coelho Rios wrote:
> I trying the following program:
[snip]
> I get printed and not execute in the browser.
There is not enough information in your question to give an answer but
I suspect that you might be trying to run the program from t
At 09:52 AM 1/17/2001 -0200, you wrote:
>The documentation in the package is extremely poor, so, may somebody
>here points me the right source of documentation?
>
I had the same first impression, but I have readjusted my thinking to:
"The documentation is extremely good, once it is located."
Star
"G.W. Haywood" wrote:
>
> Hi again,
>
> On Wed, 17 Jan 2001, Gustavo Vieira Goncalves Coelho Rios wrote:
>
> > Security (First),
> > Performance (Second).
>
> These are large subjects in their own right and will not properly be
> covered by the mod_perl nor the Apache documentation for good re
Hi again,
On Wed, 17 Jan 2001, Gustavo Vieira Goncalves Coelho Rios wrote:
> Security (First),
> Performance (Second).
These are large subjects in their own right and will not properly be
covered by the mod_perl nor the Apache documentation for good reasons.
Your Apache server does not live in
At 08:37 PM 1/15/2001 -0800, you wrote:
>On Mon, 15 Jan 2001, Edmund Mergl wrote:
>
>> any comments ?
>
>[count number of times a user has logged in and such things]
>
Hope I am not out of place here, and also that the ideas are generic enough
to be applied to a wide number of authentication requi
"G.W. Haywood" wrote:
>
> Hi there,
>
> On Wed, 17 Jan 2001, Gustavo Vieira Goncalves Coelho Rios wrote:
>
> > Where can i obtain such packages ?
>
> CPAN. LWP is not necessary for a working mod_perl but it's
> recommended for the test suite (and lots of other things:).
>
> You will find mor
Hi there,
On Wed, 17 Jan 2001, Gustavo Vieira Goncalves Coelho Rios wrote:
> Where can i obtain such packages ?
CPAN. LWP is not necessary for a working mod_perl but it's
recommended for the test suite (and lots of other things:).
You will find more documentation in the Guide
http://perl.apa
I think the major problem is that you're assuming that just because
there are 10 constant concurrent requests, that there have to be 10
perl processes serving those requests at all times in order to get
maximum throughput. The problem with that assumption is that there
is only one CPU - ten proce
Dear gentleman/madam,
this is my first post to the modperl mailing list.
I am trying to get modperl compiling over FreeBSD-4.2Stable, but until
now i am having some problem, here is what i get when i try to build it:
grios@etosha$ perl Makefile.PL USE_APXS=1
WITH_APXS=/usr/local/apache/bin/apxs
Ok, just to check it, find out which file descriptor that your processes
is hanging on and then do an ls -l /proc/$PID/fd
Check a few of them and see if they are all hanging on the same
file. Obviously replace the proper information for the variables listed
there.
Idealy something should be s
Hi Haywood,
thanks for your help! Yes, we compiled everything from source, as usual.
Therefore, it should be not the cause. I have looked at the mod_perl Guide
for help and can not find any proper solution for my problem. Following your
suggestion, I shall try to debug my program.
Cheers,
Yen-Y
Hi, I would just like to tune in here. I am using Apache::Session 1.53
also with postgres and have the problem that sessions are not closed
in any case. I am also using Embperl 1.3.0 but maintaining the session
variable on my own. The effect is that when apache is restarted
everything works fine
44 matches
Mail list logo