Created: (MODPYTHON-219) New importer redundantly reloading
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Mod-Python > Created: (MODPYTHON-219) New importer redundantly reloading




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Created: (MODPYTHON-219) New importer redundantly reloading  
Graham Dumpleton (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-11-07 06:12 AM

New importer redundantly reloading modules.
-------------------------------------------

Key: MODPYTHON-219
URL: https://issues.apache.org/jira/browse/MODPYTHON-219
Project: mod_python
Issue Type: Bug
Components: importer
Affects Versions: 3.3.1
Reporter: Graham Dumpleton
Fix For: 3.3.x


Although the new module importer prevents two threads trying to load a modul
e at the same time, the transition from checking to see if a module requires
 (re)loading to the actual loading isn't properly thread protected and as a 
result a second thread, alt
hough it may decide a module needs (re)loading, isn't simply waiting for the
 first thread to finish the loading and use the result of that and is instea
d loading the module again even though no change has been made.

This issue was highlighted in following mailing list posts:

http://www.modpython.org/pipermail/...May/023583.html
http://www.modpython.org/pipermail/...May/023586.html

Further discussion can be found in the associated posts for that thread in t
he archives.

Note that this only affects multithreaded Apache MPMs and the window for thi
s to happen is very small and is only going to occur under heavy load from m
ultiple clients or in web pages where multiple requests may be made from a p
age to a resource requiring
the same code module be loaded.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:32 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register