Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: modperl PerlAuthenHandler script persistence

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


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?

Replies are listed 'Best First'.
Re^2: modperl PerlAuthenHandler script persistence
by SirBones (Friar) on Mar 29, 2006 at 02: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
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-03-28 21:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found