Robert Kanter created OOZIE-1223:
------------------------------------

             Summary: too many extjs cookies can cause the web UI to stop 
responding
                 Key: OOZIE-1223
                 URL: https://issues.apache.org/jira/browse/OOZIE-1223
             Project: Oozie
          Issue Type: Bug
            Reporter: Robert Kanter
             Fix For: trunk, 3.3.2


>From [this thread on the mailing 
>list|http://mail-archives.apache.org/mod_mbox/oozie-user/201302.mbox/%[email protected]%3e],
> a user wrote this:
{quote}
I'm sure somebody else experience this problem as well and you may have a 
solution.
As you click around the Oozie Web Console to visualize coordinators, workflows, 
actions, etc, after a while the web console stops responding, i.e. it does not 
process your requests anymore.
It appears to be a glitch related to cookies. I don't know if there's any 
setting one could do related to that to avoid the problem.
Whenever the problem happen, if you clear cookies created by the oozie server 
the problem goes away.

This is annoying and I'm so tired of clearing cookies multiple times during the 
day as I use the web console a lot.

So, does anybody have a solution for this?
{quote}

I believe this has to do with extjs creating too many cookies:
{quote}
I've noticed that we get a bunch of cookies named "ys-ext-comp-####" where #### 
is some number.  I think these are storing the width, height, etc of the 
"windows" that the web UI uses.  I'm not sure what causes new cookies to be 
written, but if its saving one cookie for each window that you open and you 
open a lot of windows, you could easily get too many cookies for the 
browser/server to handle.  These cookies might also explain why sometimes when 
you open a window, the UI components are stretched (e.g. a text box that's 
normally a single line is showing up as 20 lines).  I think this page is 
talking about these problems with the cookies: 
http://www.jasonclawson.com/2008/05/20/ext-21-state-managment-issues-dont-use-it/

I don't think we really need to remember the sizes of the windows, so it would 
be best if we found a way to simply disable those cookies.  
{quote}

tldr; we should stop extjs from creating cookies for storing the position/state 
of the windows or other UI components.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to