Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: issues with module versions

by mpeters (Chaplain)
on Oct 06, 2005 at 15:20 UTC ( #497967=note: print w/replies, xml ) Need Help??


in reply to Re^2: issues with module versions
in thread issues with module versions

You're right it will consume more memory, but most of this memory is shared (well, in *nix land it is, even in some OSes have problems reporting shared memory).

You can reduce the number of apache children (and db connections) you need per application by running a simple lightweight proxy in front.

-- More people are killed every year by pigs than by sharks, which shows you how good we are at evaluating risk. -- Bruce Schneier

Replies are listed 'Best First'.
Re^4: issues with module versions
by pajout (Curate) on Oct 06, 2005 at 15:57 UTC
    Yes, I know... httpd scaling has some limitations, especially, when non-shared part of httpd-children takes ~15M (which is not good state, I know).
    Imagine, that two similar legacy applications run under Apache, using the same db and sharing some perl modules. But, acidentally, one of them uses old version of MyFamily::Session and the second uses newer version of this package...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://497967]
help
Chatterbox?
[LanX]: Yeah option a doesn't go into history
[LanX]: probably I need to teach the app to restart after C-c Kill
[Corion]: LanX: Maybe have an infinite-loop cmd file? Much easier than trying to manage that from within Perl IMO
[Corion]: Alternatively, relaunch the application from cron (or a Windows cron) every minute
[LanX]: will try infinite loop ...
[Corion]: :START ... goto START
[LanX]: oh .bat you mean?
[LanX]: obscure cult ...
[Corion]: LanX: cmd.exe is just another way to launch Perl
[LanX]: I know its a cult... and I repent it every time

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (13)
As of 2017-03-27 15:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (320 votes). Check out past polls.