On 02-01-2009, Graham Dumpleton wrote: > > 2009/1/2 William Dode <[email protected]>: >> >> On 01-01-2009, Graham Dumpleton wrote: >>> >>> Sorry for the delayed reply. >>> >>> Where is the package/module called 'host_cde' installed? >>> >>> If not on standard Python module search path and you have set sys.path >>> explicitly to add parent directory, or used python-path option to >>> WSGIDaemonProcess, clearly state which was used. >> >> It's set with python-path of the deamonprocess directive. >> >>> >>> The logs show: >>> >>> [Tue Dec 30 10:36:52 2008] [info] mod_wsgi (pid=369): Adding >>> '/home/web/xxx/pynclude' to path. >>> [Tue Dec 30 10:36:52 2008] [info] mod_wsgi (pid=369): Adding >>> '/home/web/xxx/xxx.flibuste.net/pynclude' to path. >>> >>> This suggests to me that using python-path option. These first entries >>> though are for main interpreter instance, ie., %{GLOBAL}. >>> >>> Look down further and you will see: >>> >>> [Tue Dec 30 10:54:36 2008] [info] mod_wsgi (pid=369): Create >>> interpreter 'xxx.flibuste.net|/cde/serv_cde.wsgi'. >>> [Tue Dec 30 10:54:36 2008] [info] mod_wsgi (pid=369): Adding '' to path. >>> >>> Thus, when it later creates sub interpreter, the path seems to have >>> been mangled in stored configuration and thus only empty path added >>> and not the two directories above where your package/module possibly >>> is. Thus can't find module. >> >> I see, but the question is why the python-path configuration is >> corrupted (one time it's empty but another time it's >> \x957Q\xb7`\xb51\b\xff\xff\xff...). >> Nothing was changed in the configuration, the app was restarted because >> of timeout inactivity. Indeed, if i restart apache it start again >> without problem. > > The bug with which memory pool was used, potentially meant that stuff > like the value of the python-path option was stored in memory which > had been released. When that memory would be reused would be a bit > random and depend on history of how memory is used by the application.
You mean pool vs temp_pool ? -- William Dodé - http://flibuste.net Informaticien Indépendant --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en -~----------~----~----~----~------~----~------~--~---
