Re: Apache::Session::Postgres error

2001-01-17 Thread Dirk Lutzebaeck
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

AW: Help! --- mod_perl + DBI:mysql:connect - Error.

2001-01-17 Thread yen-ying . chen-dreger
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,

Re: With high request rate, server stops responding with load zero

2001-01-17 Thread modperl
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

installing modperl

2001-01-17 Thread Gustavo Vieira Goncalves Coelho Rios
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

Re: Fwd: [speedycgi] Speedycgi scales better than mod_perl withscripts that contain un-shared memory

2001-01-17 Thread Sam Horrocks
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

Re: installing modperl

2001-01-17 Thread Gustavo Vieira Goncalves Coelho Rios
"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 more

Re: [Fwd: AuthenDBI idea]

2001-01-17 Thread George Sanderson
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

Re: installing modperl

2001-01-17 Thread G.W. Haywood
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

Re: installing modperl

2001-01-17 Thread Gustavo Vieira Goncalves Coelho Rios
"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 reasons.

Re: installing modperl

2001-01-17 Thread G.W. Haywood
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

Re: installing modperl

2001-01-17 Thread Matt Sergeant
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

Re: FileMan - Not enough arguments for mkdir

2001-01-17 Thread George Sanderson
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()

Re: [Fwd: AuthenDBI idea]

2001-01-17 Thread Tim Bunce
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 an API

Re: Fwd: [speedycgi] Speedycgi scales better than mod_perl withscripts that contain un-shared memory

2001-01-17 Thread Gunther Birznieks
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

Re: Fwd: [speedycgi] Speedycgi scales better than mod_perl withscripts that contain un-shared memory

2001-01-17 Thread Buddy Lee Haystack
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

mod perl and embperl

2001-01-17 Thread Gustavo Vieira Goncalves Coelho Rios
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

[OT] Apache wedges when log filesystem is full

2001-01-17 Thread Andrew Ho
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

Re: [OT] Apache wedges when log filesystem is full

2001-01-17 Thread G.W. Haywood
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

cannot execute my cgi perls

2001-01-17 Thread Gustavo Vieira Goncalves Coelho Rios
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

Re: cannot execute my cgi perls

2001-01-17 Thread G.W. Haywood
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.

RE: cannot execute my cgi perls

2001-01-17 Thread Wilt, Paul
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

Re: cannot execute my cgi perls

2001-01-17 Thread Gustavo Vieira Goncalves Coelho Rios
"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 started.

Re: Fwd: [speedycgi] Speedycgi scales better than mod_perl withscripts that contain un-shared memory

2001-01-17 Thread Sam Horrocks
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

Re: Fwd: [speedycgi] Speedycgi scales better than mod_perl withscripts that contain un-shared memory

2001-01-17 Thread Sam Horrocks
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

Re: Fwd: [speedycgi] Speedycgi scales better than mod_perl withscriptsthat contain un-shared memory

2001-01-17 Thread Perrin Harkins
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

mod_perm and Java servlets

2001-01-17 Thread Terry Newnham
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

killing of greater than MaxSpareServers

2001-01-17 Thread ___cliff rayman___
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

Re: [OT] Apache wedges when log filesystem is full

2001-01-17 Thread Tom Brown
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

Re: killing of greater than MaxSpareServers

2001-01-17 Thread Perrin Harkins
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

Re: mod_perm and Java servlets

2001-01-17 Thread Perrin Harkins
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

Re: killing of greater than MaxSpareServers

2001-01-17 Thread ___cliff rayman___
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

Re: Fwd: [speedycgi] Speedycgi scales better than mod_perlwithscripts that contain un-shared memory

2001-01-17 Thread Christian Jaeger
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

Re: killing of greater than MaxSpareServers

2001-01-17 Thread Perrin Harkins
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 make

Re: killing of greater than MaxSpareServers

2001-01-17 Thread ___cliff rayman___
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

Re: mod perl and embperl

2001-01-17 Thread Gerald Richter
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 mod_perl

Re: mod_perm and Java servlets

2001-01-17 Thread Andrew Ho
Hello, TNMy boss has asked me to set up a web server on Solaris 8 with mod_perl TNand (if possible) Java servlet capabilities as well. Has anybody done TNthis ? 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

IPC::SharedCache - problem

2001-01-17 Thread Alexandr Efimov
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

Re: killing of greater than MaxSpareServers

2001-01-17 Thread Balazs Rauznitz
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

Re: killing of greater than MaxSpareServers

2001-01-17 Thread ___cliff rayman___
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 downward