Menu

#1 thApache 2 thread safe patch when using worker MPM

open
None
5
2004-09-08
2003-05-30
Anonymous
No

Patch (replacement mod_auth_mysql.c) which makes
it thread safe when using Apache 2 and the worker MPM.

Glenn Nielsen

glenn@more.net

Discussion

  • Nobody/Anonymous

     
  • Nobody/Anonymous

    Logged In: NO

    Which versions of MySQL is this good for?

     
  • Jerry Stuckle

    Jerry Stuckle - 2004-09-08

    Logged In: YES
    user_id=1049703

    I need to investigate this further. It looks good, but it
    is a fairly large change to the code, so I'll have to do
    some testing.

    I'll try to get this one into the next beta release.

    Jerry

     
  • Jerry Stuckle

    Jerry Stuckle - 2004-09-08
    • assigned_to: nobody --> jstuckle
     
  • John_K

    John_K - 2005-01-03

    Logged In: YES
    user_id=1050061

    What is the status on this patch?
    I will probably manually apply this to the latest version
    but have been running into thread safe issues with
    mod_auth_mysql since I've started using it with Apache 2.0
    with Worker MPM.

    I'd say this is a major issue that needs to be addressed ASAP.

     
  • Jerry Stuckle

    Jerry Stuckle - 2005-01-03

    Logged In: YES
    user_id=1049703

    John,

    It is somewhat of a problem - but I don't think it's as
    great in Apache 2.x as it was in Apache 1.x.

    In Apache 1.x, all implementations of mod_auth_mysql shared
    the same memory, causing thread-safe issues. Apache 2.x
    works differently, and each invocation of mod_auth_mysql
    gets a new block of memory. This means there are fewer
    thread-safe issues. I would be interested in knowing what
    kinds of thread-safe issues you've been running into.

    Additionally, this patch doesn't really solve the
    thread-safe issues. It helps, but there are still a number
    of potential problems.

    I have been looking at this issues, but the problem is not
    one that's easy to solve. Additionally, I'm not all that
    familiar with the Apache interface, and am having to learn
    "on the fly". But it is going to require a complete rewrite
    of several portions of the module - neither easy nor quick
    to do right.

    So - the answer is - it's coming, but right now I can't
    predict when.

    Jerry

     
  • dwd

    dwd - 2006-11-04

    Logged In: YES
    user_id=1637687

    please help me to configure this new version! thanks

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.