[Webware-devel] [Webware-discuss] Webware takes a long time to load

I have a production webware site that I shut down once a month
for some maintainence on the database site.
The startups are taking a very long time.
Turns out that the delay is the system taking time to reload the
session data that it previously saved to disk. I have anywhere
from 1-20 sessions and they can be holding 120 k each. (During
runtime I use memory sessions and its pretty quick)
This was a really frustrating bug and I spent a lot of time
looking at the __init__.py of my context since the last message
on the console was "loading context"
It would be great to have a another console message saying
"restoring sessions...."
Thanks,
-Aaron Held
On a side note I'm doing another project using postnuke, a PHP
CMS "slashdot" system. After working with webware I forgot how
much fun it was to look through dozens of php files all over the
filesystem to find the one variable or function I need.

Thread view

I have a production webware site that I shut down once a month
for some maintainence on the database site.
The startups are taking a very long time.
Turns out that the delay is the system taking time to reload the
session data that it previously saved to disk. I have anywhere
from 1-20 sessions and they can be holding 120 k each. (During
runtime I use memory sessions and its pretty quick)
This was a really frustrating bug and I spent a lot of time
looking at the __init__.py of my context since the last message
on the console was "loading context"
It would be great to have a another console message saying
"restoring sessions...."
Thanks,
-Aaron Held
On a side note I'm doing another project using postnuke, a PHP
CMS "slashdot" system. After working with webware I forgot how
much fun it was to look through dozens of php files all over the
filesystem to find the one variable or function I need.