2009/12/24 saran_ATD <[email protected]>:
> 1) I am using mod_wsgi module to load my python code with Apache.
> However, I am having trouble with reloading the code. whenever I
> modify the code I have to restart my apache. I am using WSGI Daemon
> process load options in WSGI. I though that should solve the reload
> problem. This is not a serious problem compared to that of my other
> issue that I explained in section 2.
>
> WSGIDaemonProcess borg-portal user=atd group=atd processes=1
> threads=25
> WSGIProcessGroup borg-portal
>
> WSGIScriptAlias /borg-portal /home/skannan/borgTraining/atd/borg/
> portal/portal.wsgi

Have you read:

  http://code.google.com/p/modwsgi/wiki/ReloadingSourceCode

> 2) More serious problem I have is when I fetch data from database, it
> cached somewhere in Apache/mod_wsgi and at most of the time, the data
> I see on the screen is different from what I have in database.
> Please help.

That is a caching issue for your specific application. If you are
using a framework, then ask on the mailing list for that framework.

Otherwise, you are going to have to explain more about what custom
framework you are using.

Graham

--

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.


Reply via email to