Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Keep It Simple, Stupid
 
PerlMonks  

Re: modperl PerlAuthenHandler script persistence

by perrin (Chancellor)
on Mar 28, 2006 at 19:19 UTC ( [id://539834]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to modperl PerlAuthenHandler script persistence

In both apache 1 and apache 2, each request may be handled by a different process, so you can't just keep things in a hash in memory if you want them to be global. The exception to this is if you were using apache 1 on Windows. There it only used one thread before and now uses multiple. Were you running it on Windows?
  • Comment on Re: modperl PerlAuthenHandler script persistence

Replies are listed 'Best First'.
Re^2: modperl PerlAuthenHandler script persistence
by SirBones (Friar) on Mar 28, 2006 at 21:25 UTC

    No, sorry, I forgot to mention the OS. It's Linux in both cases. The mystery deepens. Do you think the aberrant behavior is actually with my older server, and the new one is WAD?

    "This bounty hunter is my kind of scum: Fearless and inventive." --J.T. Hutt
      Limiting the number of children to 1 would explain old behaviour
        >Limiting the number of children to 1 would explain old behaviour

        Do you mean the number of Apache child processes? Or is this a modperl setting? I inspected the information under perl-status, but couldn't find anything about the number of children.

        "This bounty hunter is my kind of scum: Fearless and inventive." --J.T. Hutt

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://539834]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.