Forum OpenACS Development: Problem con cache?

Collapse
Posted by Jose Agustin Lopez Bueno on
Hello!

Think of about that scenary:

-We build pre-prepared urls to enter dot classes.
-One user try to enter in one class not created yet.
-Error message: File not found.
-Now, as admins, we create the classromm with the api.
-We try to enter in that class and we get the
same error: File not found.
-Stop /start aolserver. The class is Ok and the error
do not appear.

We think of that is a a problem with cache. Where is it?
Flushing memoizes do not correct the error.

Any pointer to resolve this?

Best regards,
Agustin

Collapse
2: Re: Problem con cache? (response to 1)
Posted by Dave Bauer on
Check the acs-kernel parameter PerformanceModeP. When you add site nodes the URL mapping is not updated when PerformanceMode P is enabled.

If it is enabled you will have to restart after adding a class.

Collapse
3: Re: Problem con cache? (response to 1)
Posted by Jose Agustin Lopez Bueno on
Hello again!

I had already think of that parameter.
But PerformanceModeP value is 0 on our installation.

Regards,
Agustin

Collapse
Posted by Dario Roig on
In this thread is commented the same error

https://openacs.org/forums/message-view?message_id=179348

Somebody has testing this code for solved the error with the cache aolserver?

"I just noticed that PostgreSQL has a memcached interface, pgmemcache. Also, Harish Krishnan provided a very small Tcl API to memcached back in Aug. 2005"

Bye.

Collapse
5: Re: Problem con cache? (response to 1)
Posted by Harish Krishnan on
Jose: are you running a load balancer ... rather are you using multiple aolservers?
Collapse
Posted by Jose Agustin Lopez Bueno on
Yes, that problem arise with two aolservers and one
DB. Not a load balancing. We are using one aolserver
for data load with batch files.