cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrija Panic <andrija.pa...@gmail.com>
Subject Re: Upgrade Tomcat procedure [to avoid latency/UI bug]
Date Thu, 21 May 2015 15:45:12 GMT
Thx Rafael, added, restated, but still see issue :(

On 21 May 2015 at 17:32, Rafael Fonseca <rsafonseca@gmail.com> wrote:

> Hi again Andrija,
>
> I saw on that issue that upgrading to tomcat 6.0.43 doesn't seem to fix the
> issue for you, perhaps you can try another approach :)
> I've seen a similar problem where there is no response from the management
> server (taking from a few seconds to quite a few minutes, depending on the
> environment). The issue i spotted is a well know problem with random number
> generation with java in linux, and affects some environments more than
> others, depending on the ammount on enthropy generated in the system. VMs
> suffer from this the most...
>
> Can you add this to the JAVA_OPTS to the
> /etc/cloudstack/management/tomcat6.conf and retest?
>
> -Djava.security.egd=file:/dev/./urandom
>
>
> On Thu, May 21, 2015 at 4:03 PM, Andrija Panic <andrija.panic@gmail.com>
> wrote:
>
> > Hi Rafael,  thx for clarification :)
> >
> > https://issues.apache.org/jira/browse/CLOUDSTACK-7907
> >
> > check the second issue here - this is officialy fixed by replacing Tomcat
> > version AFAIK, as you will see from comments.
> >
> >
> > Thanks,
> > Andrija
> >
> > On 21 May 2015 at 16:01, Rafael Fonseca <rsafonseca@gmail.com> wrote:
> >
> > > Hi Andrija,
> > >
> > > No.. this sed is unrelated to any breadcrumb issue, can you ellaborate
> on
> > > that one? :)
> > > This sed just makes the page reload instantly whenever you press F5 on
> > the
> > > UI, instead of taking as long as the first load.
> > >
> > > On Thu, May 21, 2015 at 3:57 PM, Andrija Panic <
> andrija.panic@gmail.com>
> > > wrote:
> > >
> > > > Rafael,
> > > >
> > > > this SED is also related to the breadcrumb issue we are seeing in UI
> ?
> > > >
> > > > Thx for inputs :)
> > > >
> > > > Cheers
> > > >
> > > > On 21 May 2015 at 15:38, Rafael Fonseca <rsafonseca@gmail.com>
> wrote:
> > > >
> > > > > Btw.. if you're worried about latency on the UI, run this and you
> > will
> > > > have
> > > > > instant page reloads :)
> > > > >
> > > > > sed -i -e 's/?t=<%=now%>//'
> > > > > /usr/share/cloudstack-management/webapps/client/index.jsp
> > > > >
> > > > > On Thu, May 21, 2015 at 3:34 PM, Rafael Fonseca <
> > rsafonseca@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > Hi Andrija,
> > > > > >
> > > > > > Those sort of problems will no longer affect anyone when my
PR
> gets
> > > > > > merged: https://github.com/apache/cloudstack/pull/238
> > > > > > In the meanwhile, if you want to run tomcat 6.0.43 in any distro,
> > > just
> > > > do
> > > > > > the following:
> > > > > >
> > > > > > - Download
> > > > > >
> > > > >
> > > >
> > >
> >
> http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.43/bin/apache-tomcat-6.0.43.tar.gz
> > > > > > - Uncompress to some folder
> > > > > > - Change links on /usr/share/cloudstack-management/lib and
> > > > > > /usr/share/cloudstack-management/bin to point to the location
of
> > the
> > > > > > version you just decompressed.
> > > > > > - All done! :)
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Thu, May 21, 2015 at 3:05 PM, Andrija Panic <
> > > > andrija.panic@gmail.com>
> > > > > > wrote:
> > > > > >
> > > > > >> Hi,
> > > > > >>
> > > > > >> Im wondering if anyone have clean procedure of upgrading
stock
> > > Tomcat
> > > > to
> > > > > >> supported version 6.0.43, to avoid the latency issues and
UI...
> on
> > > > > >> production envioroment.
> > > > > >>
> > > > > >> We are running Ubuntu 14.04 and CEntos 6.6 stock Tomcat
> > versions...
> > > > > >>
> > > > > >> Cheers
> > > > > >>
> > > > > >> --
> > > > > >>
> > > > > >> Andrija Panić
> > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Andrija Panić
> > > >
> > >
> >
> >
> >
> > --
> >
> > Andrija Panić
> >
>



-- 

Andrija Panić

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message