This is very big question. You should research perl best practices
for development. You should also research secure programming
techniques.
On Sun, Oct 3, 2010 at 4:36 PM, wrote:
> Hai,
> I am new to mod_perl.
> I want to build secure web based applications (not https), I mean secure
> agains
If you don't have an unbounded growth issue it is likely do to some
library pulling in alot of dependencies or the creation/caching in
memory of some large data structure. You can preload all the
offending libraries and see if that causes a jump in the initial
memory allocation for you apache proc
On Mon, Mar 15, 2010 at 11:26 PM, Pavel Georgiev wrote:
> I have a perl script running in mod_perl that needs to write a large amount
> of data to the client, possibly over a long period. The behavior that I
> observe is that once I print and flush something, the buffer memory is not
> reclaime
On Thu, Mar 11, 2010 at 1:41 PM, ARTHUR GOLDBERG wrote:
>
> OK, that kills big processes. What happens next is that Perl runs out of
> memory (outputs "Out of Memory!") and calls the __DIE__ signal handler. So,
> my plan is to catch the signal, redirect the browser to an error page, and
> finally
On Thu, Jan 28, 2010 at 11:46 PM, wrote:
> BTW, though we are still using modperl for developing some applications.
> But it seems other instead technologies are becoming more and more
> popular, like PHP,Django,Rails etc.
> Is modperl outdated in today?
I don't know that PHP is becoming more p
Caveat Lector:
Long Cleanups done inline on the Apache children can cause problems.
If you get a situation where the CleanUp takes to long OR you get
enough traffic to the page(s) which engage the CleanUp then you will
encounter a tipping point, and soon after your website will be almost
complete
It seems pretty clear the blank pages are from the apache children dieing
badly (hence the errors). I would make an educated guess based on the
malloc error that your ram is bad. Try running your app on a different box
and see if you get the same errors.
On Jan 12, 2010 7:19 AM, "cfaust-dougot"
On Thu, Dec 10, 2009 at 11:28 AM, E R wrote:
> Hi,
>
> I have a problem where a mod_perl handler will allocate a lot of
> memory when processing a request, and this causes Apache to kill the
> child due to exceeding the configure child size limit.
>
> Are there any special techniques people use to
This is the list of stuff I usually start with when I get a problem
that doesn't seem to be tied to a particular code path.
* code path - perhaps a particular code path is only being exercised
rarely, and it has a bug
* forking - when child dies, all open descriptors in it's name space
also ge
The documentation alludes to the variable 'pwd_whereclause'. If this
variable is set it will be used in the passwd query. I would try and
set it per client so that the query gets an additional where clause:
SELECT pwd_field FROM pwd_table WHERE uid_field = user AND client = clientA
On Fri, Oct 23, 2009 at 4:06 PM, Ihnen, David wrote:
>
> But I'm very interested to know at what point (if any) a site/app grows too
> large or too complex for mod_perl and what defines that turning point.
> Could Amazon run on mod_perl for example?
To me mod_perl is just a platform like most oth
On Tue, Oct 20, 2009 at 9:59 AM, Artem Kuchin wrote:
>
> however, whe i do in mysql
>
> show processlist;
>
> I see many connection hanging in sleep state and they grow and grow slowly!
> Any idea why this happens?
Could be many things. Maybe multiple hits to different Apache
children are openin
On Tue, Oct 13, 2009 at 8:08 AM, Scott Gifford
wrote:
>> Sounds like you might be pushing the envelope on what Apache can
>> actually do. If you cannot solve the problem in Apache you could
>> consider relying on Apache default vhost as a way to funnel all
>> requests into a Perl "dynamic vhost"
On Sun, Oct 11, 2009 at 11:54 AM, Scott Gifford
wrote:
> Hello,
>
> I'm working on an Apache configuration for a cluster of machines
> serving a variety of virtual hosts.
I would not try to unify disparate configs into one unless each server
is actually going to service all the virtual hosts your
On Fri, Sep 25, 2009 at 7:32 AM, Mike Barborak wrote:
> I think I see what you're saying. It seems like a very expensive
> problem to solve. It must be a barrier to people choosing mod_perl to
> develop their apps because it might be the case that their
> distribution and installation process is m
On Fri, Sep 18, 2009 at 1:34 AM, Clinton Gormley wrote:
> I'm surprised that nobody has mentioned EPIC, the Perl plugin for
> Eclipse. It works really really well, at least as well as the Java
> version (although it can't do as much prediction as Java can because of
> the nature of static vs dyna
Whenever I creating shrink-wrapped software I always make packaging
and distribution part of the development, qa and testing process. All
packages for the platforms that we will be supporting. The reason I
do this is to cut down on the customer support overhead. I've found
you get less calls and
There are all kinds of problems that you'll encounter and have to solve if
you fork. I found it's better to call at(1) to start another seperate
process immediatly. If you need to pass data JSON worked really well for
me.
-wjt
On Aug 25, 2009 5:12 AM, "Victor Danilchenko" wrote:
Hi all
On Mon, Jul 6, 2009 at 10:14 AM, Mike Diehn wrote:
>
>
> Hello, all.
>
> I'm authenticating users with mod_auth_krb and setting KrbSaveCredentials
> to on. I've found that the credentials are stored in a file in /tmp. The
> name of the file is passed to CGI programs as the contents of an ENV var
On Mon, Jun 29, 2009 at 8:07 PM, Brandon Allgood wrote:
> I am running an apache server 2.2.3 on CentOS 5.2. I have turned on the
> proxy with the following lines from my apache.conf:
>
>
> ProxyRequests On
>
> Order deny,allow
> Deny from all
> Allow from all
>
>
>
> I would like
On Wed, May 13, 2009 at 3:09 AM, Idel Fuschini wrote:
> PerlModule ::
> PerlTransHandler +::module1
>
> SetHandler modperl
> PerlInputFilterHandler ::module2
>
>
> and I want to pass variable from module1 to module2 is it possible ?
You can you use either pnotes or subpr
Does anyone if it's possible to fall through the default_handler
(decline?) to a PerlHandler?
What I want to do is issue a redirect if the file that was requested
is not on disk, and I don't want the extra stat due to an NFS mount.
Of course I can serve up the file myself, but it seems as though
22 matches
Mail list logo