You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Guy Katz <gk...@allot.com> on 2006/08/07 09:28:28 UTC
Re: hot blogs hit count persistency
Hello;
I am still confused about the "hot blogs" count system.
It seems like the referrer table is "zeroing" often.
Note that I have many server restarts - should this affect the "hot
blogs" count? Also. The
org.apache.roller.presentation.TurnoverReferersTask\ is uncommented,
does this mean that every day the hot blog count should be "zero'ed"?
Below is a mysql query on the referrer table I executed today. Of
course, the roller weblogger had more hits in the last few days.
I would appreciate your help.
Thanks in advance.
mysql> select id,dayhits,totalhits from referer;
+----------------------------------+---------+-----------+
| id | dayhits | totalhits |
+----------------------------------+---------+-----------+
| ff8080810ce76212010ce76c4ab40002 | 1 | 1 |
| ff8080810ce76212010ce76bcafb0001 | 4 | 4 |
+----------------------------------+---------+-----------+
>If you are using the latest source tree (there was a reorg of some
packages
>after 2.3), that class is called:
>org.apache.roller.ui.core.tasks.TurnoverReferersTask
>--a.
----- Original Message -----
From: "Anil Gangolli" <an...@busybuddha.org>
To: <ro...@incubator.apache.org>
Sent: Saturday, July 22, 2006 8:18 AM
Subject: Re: hot blogs hit count persistency
>
> Ok. Try looking at you referer table in the database directly with a
> mySQL client. If it is nonempty, the entries there are probably just
too
> old to be counted by the "hot blogs" query. If it is empty it
suggests
> that either the cleanup ran or an improper export/reimport.
>
> The periodic cleanup task is
> org.apache.roller.presentation.TurnoverReferersTask.
>
> It can be executed daily within the server by adding/uncommenting the
> following snippet in
> your roller.properties / roller-custom.properties file.
>
> ---
> # Comma separated list of task classnames to be executed once per day
> tasks.daily=org.apache.roller.presentation.TurnoverReferersTask
> ---
>
> The class also has a main method that allows it to be run (with
requisite
> classpath) directly from, e.g., a cron job.
>
> --a.
>
>
> ----- Original Message -----
> From: "Guy Katz" <gk...@allot.com>
> To: <ro...@incubator.apache.org>
> Sent: Saturday, July 22, 2006 12:50 AM
> Subject: RE: hot blogs hit count persistency
>
>
> thanks;
> can you please ellaborate about the periodic cleanup task? i did not
know
> such a thing existed. i thought the hit count just keeps on growing
and
> growing... is the periodic task configurable in any way?
> thanks
>
>
> -----Original Message-----
> From: Anil Gangolli [mailto:anil@busybuddha.org]
> Sent: Thu 7/20/2006 7:13 PM
> To: roller-user@incubator.apache.org
> Subject: Re: hot blogs hit count persistency
>
> It's computed by a query on the recent referrer counts which are
stored in
> the "referer" (sic.) table. Perhaps you didn't export these, or you
> cleared them out, or the periodic cleanup task ran and cleared them
out?
>
> --a.
>
>
> ----- Original Message -----
> From: "Guy Katz" <gk...@allot.com>
> To: <ro...@incubator.apache.org>
> Sent: Thursday, July 20, 2006 4:58 AM
> Subject: hot blogs hit count persistency
>
>
> Hi all;
>
> Is the hit number for "hot blogs" saved in the DB? (Which table?).
>
> For some reason the number was reset for all my blogs in my roller web
> app.
>
> I am doing some testing, dumping the DB and populating the DB from
time
> to time but I can't find a reason for why the number was reset to 0.
>
> I am using roller 2.3/tomcat 5.5.17/mysql 4.1.16
>
> Thanks in advance.
>
>
>
>
>
>
Re: hot blogs hit count persistency
Posted by Dave Johnson <sn...@gmail.com>.
The hot blogs list is supposed to be a daily hit count. The
TurnoverReferrersTask is designed to clear the hit counts every night
at midnight.
- Dave
On 8/7/06, Guy Katz <gk...@allot.com> wrote:
> Hello;
>
> I am still confused about the "hot blogs" count system.
>
> It seems like the referrer table is "zeroing" often.
>
> Note that I have many server restarts - should this affect the "hot
> blogs" count? Also. The
> org.apache.roller.presentation.TurnoverReferersTask\ is uncommented,
> does this mean that every day the hot blog count should be "zero'ed"?
>
>
>
> Below is a mysql query on the referrer table I executed today. Of
> course, the roller weblogger had more hits in the last few days.
>
> I would appreciate your help.
>
> Thanks in advance.
>
>
>
> mysql> select id,dayhits,totalhits from referer;
>
> +----------------------------------+---------+-----------+
>
> | id | dayhits | totalhits |
>
> +----------------------------------+---------+-----------+
>
> | ff8080810ce76212010ce76c4ab40002 | 1 | 1 |
>
> | ff8080810ce76212010ce76bcafb0001 | 4 | 4 |
>
> +----------------------------------+---------+-----------+
>
>
>
>
>
>
>
> >If you are using the latest source tree (there was a reorg of some
> packages
> >after 2.3), that class is called:
>
> >org.apache.roller.ui.core.tasks.TurnoverReferersTask
>
> >--a.
>
>
> ----- Original Message -----
> From: "Anil Gangolli" <an...@busybuddha.org>
> To: <ro...@incubator.apache.org>
> Sent: Saturday, July 22, 2006 8:18 AM
> Subject: Re: hot blogs hit count persistency
>
>
> >
> > Ok. Try looking at you referer table in the database directly with a
> > mySQL client. If it is nonempty, the entries there are probably just
> too
> > old to be counted by the "hot blogs" query. If it is empty it
> suggests
> > that either the cleanup ran or an improper export/reimport.
> >
> > The periodic cleanup task is
> > org.apache.roller.presentation.TurnoverReferersTask.
> >
> > It can be executed daily within the server by adding/uncommenting the
> > following snippet in
> > your roller.properties / roller-custom.properties file.
> >
> > ---
> > # Comma separated list of task classnames to be executed once per day
> > tasks.daily=org.apache.roller.presentation.TurnoverReferersTask
> > ---
> >
> > The class also has a main method that allows it to be run (with
> requisite
> > classpath) directly from, e.g., a cron job.
> >
> > --a.
> >
> >
> > ----- Original Message -----
> > From: "Guy Katz" <gk...@allot.com>
> > To: <ro...@incubator.apache.org>
> > Sent: Saturday, July 22, 2006 12:50 AM
> > Subject: RE: hot blogs hit count persistency
> >
> >
> > thanks;
> > can you please ellaborate about the periodic cleanup task? i did not
> know
> > such a thing existed. i thought the hit count just keeps on growing
> and
> > growing... is the periodic task configurable in any way?
> > thanks
> >
> >
> > -----Original Message-----
> > From: Anil Gangolli [mailto:anil@busybuddha.org]
> > Sent: Thu 7/20/2006 7:13 PM
> > To: roller-user@incubator.apache.org
> > Subject: Re: hot blogs hit count persistency
> >
> > It's computed by a query on the recent referrer counts which are
> stored in
> > the "referer" (sic.) table. Perhaps you didn't export these, or you
> > cleared them out, or the periodic cleanup task ran and cleared them
> out?
> >
> > --a.
> >
> >
> > ----- Original Message -----
> > From: "Guy Katz" <gk...@allot.com>
> > To: <ro...@incubator.apache.org>
> > Sent: Thursday, July 20, 2006 4:58 AM
> > Subject: hot blogs hit count persistency
> >
> >
> > Hi all;
> >
> > Is the hit number for "hot blogs" saved in the DB? (Which table?).
> >
> > For some reason the number was reset for all my blogs in my roller web
> > app.
> >
> > I am doing some testing, dumping the DB and populating the DB from
> time
> > to time but I can't find a reason for why the number was reset to 0.
> >
> > I am using roller 2.3/tomcat 5.5.17/mysql 4.1.16
> >
> > Thanks in advance.
> >
> >
> >
> >
> >
> >
>
>
>
>
>