[Hippo-cms7-user] Hippo slowing down startup of server

Asmann, Roland Roland.Asmann at adesso.at
Mon Jun 27 18:17:26 CEST 2011


OK, I understand.

But what is Hippo doing at that point that is so slow? I have around 
1700 entries in that table, which I personally feel is not *that* much...

Is there any way I can have Hippo truncate the table on a server 
shutdown or something?

Roland


On 23.06.2011 14:37, Bart van der Schans wrote:
> On Thu, Jun 23, 2011 at 1:45 PM, Asmann, Roland
> <Roland.Asmann at adesso.at> wrote:
>  > Hi Bart,
>  >
>  > When does Hippo write in that table? I am currently only developing the
>  > HST and am not changing anything in the CMS itself...
>
> It's a bit more low level. For every jcr save() call an entry is written.
>
>  >
>  > And I presume with the CMS being down you mean the server being down,
> right?
>
> Server you mean the application server, right? ;-)
>
> The point is that you don't want anything making changes to the
> repository while you truncate the table. So you could for example just
> disable the CMS in a loadbalancer without anything being down.
>
> Another strategy is to leave the last few hundred entries in the
> table, so you are sure other nodes have time to read the entries.
>
> Bart
>
>
>
>  >
>  > Thanks,
>  >
>  > Roland
>  >
>  >
>  > On 23-06-11 13:41, Bart van der Schans wrote:
>  >> Hi Roland,
>  >>
>  >> It could be you have a lot of entries in the REPOSITORY_JOURNAL table
>  >> in the database. You can/should truncate that table once in a while,
>  >> preferably when the CMS is down or when no editors are logged in.
>  >>
>  >> Regards,
>  >> Bart
>  >>
>  >>
>  >> On Thu, Jun 23, 2011 at 1:36 PM, Asmann,
> Roland<Roland.Asmann at adesso.at>  wrote:
>  >>> Hi all,
>  >>>
>  >>> Why is Hippo slowing down the startup of my server on every restart?
>  >>> I am working on JBoss Portal and the initial startup with Hippo is
> about
>  >>> 120 seconds (without Hippo it isn't much faster, so this is not the
>  >>> problem). However, every time I restart the server, this takes longer
>  >>> and longer. Even when I haven't changed anything in Hippo!
>  >>>
>  >>> I know that a production-server will not be restarted often, but it is
>  >>> still very annoying.
>  >>>
>  >>> During development I sometimes delete my DB and found out this brings
>  >>> the startup times back to the original 120 seconds... What is Hippo
>  >>> doing here and why?
>  >>>
>  >>> --
>  >>> Roland Asmann
>  >>> Senior Software Engineer
>  >>>
>  >>> adesso Austria GmbH
>  >>> Floridotower 26. Stock              T +43 1 2198790-27
>  >>> Floridsdorfer Hauptstr. 1           F +43 1 2198790-927
>  >>> A-1210 Wien                         M +43 664 88657566
>  >>>                                     E roland.asmann at adesso.at
>  >>>                                     W www.adesso.at
>  >>>
>  >>> -------------------------------------------------------------
>  >>> >>>  business. people. technology.<<<
>  >>>
> -------------------------------------------------------------_______________________________________________
>  >>> Hippo-cms7-user mailing list and forums
>  >>> http://www.onehippo.org/cms7/support/forums.html
>  >>>
>  >>
>  >>
>  >>
>  >
>  > --
>  > Roland Asmann
>  > Senior Software Engineer
>  >
>  > adesso Austria GmbH
>  > Floridotower 26. Stock              T +43 1 2198790-27
>  > Floridsdorfer Hauptstr. 1           F +43 1 2198790-927
>  > A-1210 Wien                         M +43 664 88657566
>  >                                    E roland.asmann at adesso.at
>  >                                    W www.adesso.at
>  >
>  > -------------------------------------------------------------
>  > >>> business. people. technology. <<<
>  >
> -------------------------------------------------------------_______________________________________________
>  > Hippo-cms7-user mailing list and forums
>  > http://www.onehippo.org/cms7/support/forums.html
>  >
>
>
>
> --
> Amsterdam - Oosteinde 11, 1017 WT Amsterdam
> Boston - 1 Broadway, Cambridge, MA 02142
>
> US +1 877 414 4776 (toll free)
> Europe +31(0)20 522 4466
> www.onehippo.com
> _______________________________________________
> Hippo-cms7-user mailing list and forums
> http://www.onehippo.org/cms7/support/forums.html
>

-- 
Roland Asmann
Senior Software Engineer

adesso Austria GmbH
Floridotower 26. Stock              T +43 1 2198790-27
Floridsdorfer Hauptstr. 1           F +43 1 2198790-927
A-1210 Wien                         M +43 664 88657566
                                    E roland.asmann at adesso.at
                                    W www.adesso.at

-------------------------------------------------------------
             >>> business. people. technology. <<<
-------------------------------------------------------------



More information about the Hippo-cms7-user mailing list