On Dec 13, 10:18 am, vytautas <vytautas.galau...@gmail.com> wrote:
> [Fri Dec 12 13:27:07 2008] [error] Model read finished. Duration
> 1.2693259716
> [Fri Dec 12 13:27:07 2008] [error] Model validity check skipped
> [Fri Dec 12 13:27:09 2008] [error] Model read finished. Duration
> 1.23547005653
> [Fri Dec 12 13:27:09 2008] [error] Model validity check skipped
> [Fri Dec 12 13:27:18 2008] [error] Model read finished. Duration
> 1.28153181076
> [Fri Dec 12 13:27:18 2008] [error] Model validity check skipped
>
> here we have one object, every time that object is recreated, and here
> is a reason why we lost a data.
> program working with scheme of my program is samething like that:
>
> step1->step2->step3->result
>
> and in every step I update the data, and from this data I get the
> info wich is necassary for  future, but when apache became the request
> from server, then the object, in which I save data, are recreated and
> my data is lost:/
> my object is dictonarie.
>
> my english is broken, sorry =]

Which is why am not 100 percent what you mean.

Anyway, read:

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

Apache on UNIX is a multi process web server. If you are making
modifications to objects cached in memory in a request handler and
then expecting you to see changes for all subsequent requests, it will
not work, as subsequent requests could be against a different process.
Apache and/or mod_wsgi may also recycle processes depending on
configuration and so if you don't have an external persistence
mechanism such that data survives across process lifetime, also will
not work.

Graham
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to