[plt-scheme] Web Server : page expires on form submission.
I think it was 2 to 3 minutes , before i press submit button.
Form contained 293 checkbox control with string. Basically
it shows the list of dirs from which i have to select appropriate ones
for further processing.
Veer.
On Fri, Apr 17, 2009 at 5:55 PM, Jay McCarthy <jay.mccarthy at gmail.com> wrote:
> Can you say how long of a delay you had before these problems showed up?
>
> Jay
>
> On Fri, Apr 17, 2009 at 3:37 AM, Veer <diggerrrrr at gmail.com> wrote:
>> Thanks! , increasing memory threshold to 128MB seems to work.
>>
>> Veer
>>
>> On Fri, Apr 17, 2009 at 1:02 PM, Noel Welsh <noelwelsh at gmail.com> wrote:
>>> Three options:
>>>
>>> Switch to serve/servlet, and specify your own theshold-LRU-manager
>>> with a higher memory threshold
>>>
>>> Write your servlets in the "stateless" web language
>>>
>>> Write your code to use less memory
>>>
>>> The problem is thus: you're storing continuations in the server's
>>> memory. This memory must be reclaimed eventually. The default
>>> continuation manager reclaims memory at a slow rate when memory
>>> consumption is less than 64MB, and a very fast rate when that
>>> threshold is exceeded. If you see page expired after a short (< 4
>>> hours) delay it means your using more than 64MB. You can either set a
>>> higher threshold, serialize continuations to {the client|disk} or use
>>> less memory.
>>>
>>> N.
>>>
>>> On Fri, Apr 17, 2009 at 8:19 AM, Veer <diggerrrrr at gmail.com> wrote:
>>>>> Change the continuation manager. What continuation manager are you using?
>>>>
>>>> I really don't know :) , i just followed the blog example from the manual .
>>>> Only thing that is included is #lang web-server/insta .
>>>
>> _________________________________________________
>> For list-related administrative tasks:
>> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>>
>
>
>
> --
> Jay McCarthy <jay at cs.byu.edu>
> Assistant Professor / Brigham Young University
> http://teammccarthy.org/jay
>
> "The glory of God is Intelligence" - D&C 93
>