not remembering previous day's usage

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

5loth
Posts: 3
Joined: Mon Jul 05, 2010 12:33 am

not remembering previous day's usage

Post by 5loth »

Hi,

firstly thanks for making gargoyle, however after installing yesterday I have 1 major issue.

Running Linksys WRT54GL, with 1.2.4 firmware.

Yesterday it was recording web usage fine (my primary reason for using gargoyle), however now when I look at daily usage yesterdays usage is back to 0, and it is recording todays usage (see screenshot below). Is this a known issue? I could shift to the latest experimental version if that will fix the issue.

Image

5loth
Posts: 3
Joined: Mon Jul 05, 2010 12:33 am

Re: not remembering previous day's usage

Post by 5loth »

ok following up,

the rest of the days have been showing usage fine, however when I try view the months usage, It is not calculating correctly, as per screenshot below. What would be awesome would be being able to input a specific date range :)

hopefully I can get a response to this, even if its trying the latest version, or again is this a known issue or something new?

Image

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: not remembering previous day's usage

Post by Eric »

Thanks for reporting this.

One other person reported something similar about a month ago, but I could never replicate the problem (so I couldn't track down/fix it). I'll revisit the problem and see if I can figure out what is going on. this definitely looks like a bug.

I have noticed the first time point getting zeroed out like you describe once or twice, but I haven't encountered a situation where the numbers don't add up. I've been meaning to check on the zeros, but I haven't figured out exactly what causes it (again I can't reliably replicate it -- I've just noticed it when checking on something else, and if I re-intall/reflash in testing that issue, the zeros are gone and I can't replicate them again).

elyask87
Posts: 8
Joined: Mon Jun 07, 2010 10:09 am

Re: not remembering previous day's usage

Post by elyask87 »

I'm also experiencing the same bug on my WRT54GL running Gargoyle 1.3.3.

I installed Gargoyle on Aug 4, until yesterday it was properly recording all data. Today I checked the usage and the month value has gone down, upon checking the daily usage Aug 4 values have reset to 0.

I had this same issue with the stable version of Gargoyle (1.2.4). No idea how to replicate it.

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: not remembering previous day's usage

Post by DoesItMatter »

While it does seem a bit early to see a pattern, I notice that
both of these people with the issues are running WRT54GL's

Eric, you think they are having memory problems?

Possibly running out of RAM and that's causing issues?

Anyone having this issue with routers that have 32MB of RAM?

I do know Backfire took a little more RAM than prior Gargoyle's.
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

thecrazy
Posts: 20
Joined: Mon Aug 09, 2010 11:33 pm

Re: not remembering previous day's usage

Post by thecrazy »

I also have this problem.
I have a WRT54G v2.0 with 32mb RAM

Im also having a problem with quotas... dont think the problem is related but just in case... http://www.gargoyle-router.com/phpbb/vi ... ?f=6&t=796

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: not remembering previous day's usage

Post by Eric »

Don't worry, I haven't forgotten about this bug -- it's just proven a real pain to debug.

DoesitMatter: No, I'm 99% sure this is not a memory issue. There's a bug in there, somewhere. The problem is finding it.

What's happening is the last time point is getting zeroed under some very specific set of circumstances, that I have yet to identify. I think that a reboot is necessary to trigger it, but it doesn't always happen after a reboot.

The reason the numbers aren't adding up is that when you compare shorter time scales and the longer time scales after the last time point got zeroed, different amounts of time are lost and they don't add up. As far as I can tell it's just the last time point that changes -- everything else remains accurate.

What I really need in order to fix this, is a procedure for reproducing it 100% of the time from a clean install. I've seen it pop up myself once or twice, but I haven't been able to figure out what it was that caused it to happen, or to get it to happen again reliably.

I'll have another crack at fixing the problem this weekend, but it's a nasty little bug.

thecrazy
Posts: 20
Joined: Mon Aug 09, 2010 11:33 pm

Re: not remembering previous day's usage

Post by thecrazy »

Is there anything I can do to help?
Some files/logs you may want from our routers?

or

Would it help you to access my router via telnet/ssh?

thecrazy
Posts: 20
Joined: Mon Aug 09, 2010 11:33 pm

Re: not remembering previous day's usage

Post by thecrazy »

FYI I'm no longer having this issue with my WRT since downgrading from 1.3.3 to 1.2.4

Had other issues as well and they all cleared up with this downgrade.

thecrazy
Posts: 20
Joined: Mon Aug 09, 2010 11:33 pm

Re: not remembering previous day's usage

Post by thecrazy »

A little update;

Today I started having miscalculation of the bandwith usage on the bandwidth_distribution.sh page. The quota still seem to track the usage properly and still no memory errors.

all that on version 1.2.4

Post Reply