Re: global variable

2010-02-03 Thread moli
On Wed, Feb 3, 2010 at 3:20 PM, André Warnier a...@ice-sa.com wrote: But if you give some more details about the platform, the Apache, and what you are trying to do, someone may be able to suggest an alternative. Something linke java servlet's global variable. Maybe set it via environment

Re: global variable

2010-02-03 Thread moli
On Wed, Feb 3, 2010 at 4:18 PM, m...@normalperson.e4ward.com wrote: On Wed, Feb 3, 2010 at 3:20 PM, André Warnier a...@ice-sa.com wrote: But if you give some more details about the platform, the Apache, and what you are trying to do, someone may be able to suggest an alternative.

Re: global variable

2010-02-03 Thread Fayland Lam
why not use memcached or FastMmap? Thanks On 2010-2-3 16:19, m...@normalperson.e4ward.com wrote: On Wed, Feb 3, 2010 at 4:18 PM,m...@normalperson.e4ward.com wrote: On Wed, Feb 3, 2010 at 3:20 PM, André Warniera...@ice-sa.com wrote: But if you give some more details about the

Re: global variable

2010-02-03 Thread Torsten Förtsch
On Wednesday 03 February 2010 06:45:06 m...@normalperson.e4ward.com wrote: Is there a method to setup a global variable for all modperl child processes? Also this variable will be updated sometime, when it get updated, all processes will know it. File::Map mmap()s a file and makes it

Re: [mp2] Apache2::SizeLimit should be using $s-rss, not $s-size for Linux::Smaps

2010-02-03 Thread Torsten Förtsch
On Tuesday 02 February 2010 22:58:13 Max Kanat-Alexander wrote: All of my processes kept exiting with a report that they had a 300M unshared size, which was clearly untrue, even from looking at top. After some investigation, I discovered that Apache2::SizeLimit was calling $s-size on the

Re: global variable

2010-02-03 Thread Perrin Harkins
On Wed, Feb 3, 2010 at 2:20 AM, André Warnier a...@ice-sa.com wrote: m...@normalperson.e4ward.com wrote: Hello, Is there a method to setup a global variable for all modperl child processes? Also this variable will be updated sometime, when it get updated, all processes will know it. As a

Apache 1.3 end of life

2010-02-03 Thread Adam Prime
FYI The Apache Software Foundation and the Apache HTTP Server Project are pleased to announce the release of version 1.3.42 of the Apache HTTP Server (Apache). This release is intended as the final release of version 1.3 of the Apache HTTP Server, which has reached end of life status. There

Re: Best way to pass arguments to an Apache2::SubProcess?

2010-02-03 Thread Tosh Cooey
Probably a stupid question but can't hurt to ask. In the docs they consistently use @argv = qw(foo bar); Is there a reason for this, can the args only be strings as semi-implied by somebody mentioning they used JSON in another thread? Or can I send $argv[0] = LARGE HASH ? Thanks! Tosh

Re: Apache 1.3 end of life

2010-02-03 Thread Michael Peters
This is the end for Apache 1.X, so we'll need to find some time to upgrade to the Apache 2.X series for our Arcos backend server (the proxy already runs Apache 2). This means upgrading mod_perl and might involve some code changes (although hopefully not too much). Don't need to do this super

Re: Apache 1.3 end of life

2010-02-03 Thread Michael Peters
Well, that was embarrassing :) Please ignore. -- Michael Peters Plus Three, LP

Re: global variable

2010-02-03 Thread mackenna
I rewrote IPC::MMA from an earlier CPAN module so that I could use shared memory among Apache children. You can read about it at http://search.cpan.org/~mackenna/IPC-MMA-0.6/MMA.pod On Feb 2, 2010, at 9:45 PM, m...@normalperson.e4ward.com wrote: Hello, Is there a method to setup a global

Re: global variable

2010-02-03 Thread Boysenberry Payne
Looks like a great module. It says early on in the docs that it doesn't use references; does that mean we need to dereference in order to store that values? Thanks, Boysenberry Payne On Feb 3, 2010, at 10:17 AM, macke...@animalhead.com wrote: I rewrote IPC::MMA from an earlier CPAN module so

Re: global variable

2010-02-03 Thread craig
Just thought to add: One of the most interesting uses of IPC::MMA is to create a shared memory in a PerlPostConfigHandler, and then use it to tie scalars or arrays or hashes in other modules into the shared memory. In write-seldom, read-mostly applications like the cache hash in Image::Size,

Re: global variable

2010-02-03 Thread David Nicol
DirDB provides a very simple persistence, sharable data structure, using the file system.

Re: [mp2] Apache2::SizeLimit should be using $s-rss, not $s-size for Linux::Smaps

2010-02-03 Thread Max Kanat-Alexander
On 02/03/2010 04:57 AM, Torsten Förtsch wrote: Well, I tend to disagree. (Fred, Adam please read on.) Okay. Have you looked at the actual output of test.cgi? Here's an example of these values just on my local machine, for my bash interpreter: [mka...@es-compy ~]$ cat

svn commit: r906273 - in /perl/Apache-DBI/trunk: Changes lib/Apache/DBI.pm

2010-02-03 Thread ask
Author: ask Date: Wed Feb 3 22:54:02 2010 New Revision: 906273 URL: http://svn.apache.org/viewvc?rev=906273view=rev Log: Fix bug to allow DBI in startup.pl etc again Bug report from Adam Prime, patch from Lubomir Rintel https://rt.cpan.org/Public/Bug/Display.html?id=36346 Modified:

svn commit: r906279 - in /perl/Apache-DBI/trunk: Changes README TODO lib/Apache/AuthDBI.pm lib/Apache/DBI.pm

2010-02-03 Thread ask
Author: ask Date: Wed Feb 3 23:05:42 2010 New Revision: 906279 URL: http://svn.apache.org/viewvc?rev=906279view=rev Log: Prepare v1.08 Modified: perl/Apache-DBI/trunk/Changes perl/Apache-DBI/trunk/README perl/Apache-DBI/trunk/TODO perl/Apache-DBI/trunk/lib/Apache/AuthDBI.pm

svn commit: r906280 - /perl/Apache-DBI/tags/rel_1_08/

2010-02-03 Thread ask
Author: ask Date: Wed Feb 3 23:08:21 2010 New Revision: 906280 URL: http://svn.apache.org/viewvc?rev=906280view=rev Log: Tag v1.08 Added: perl/Apache-DBI/tags/rel_1_08/ - copied from r906279, perl/Apache-DBI/trunk/