Page 1 of 1

Download Bandwidth Data function hangs at summer time start day

Posted: Fri Apr 03, 2026 2:28 pm
by Maro
Gargoyle Version:1.15.X (Built 20260322-1116 git@ebe19d5a)
Model:TP-Link Archer C6U v1
Time Zone: UTC+01:00
Router CPU is 2C/4T
Using IPv4 adresses only.

At summer time start day Download Bandwidth Data function hangs (bandwidth.csv file is only partially transfered).

Status -> Bandwidth Usage -> Download Bandwidth Data section -> Download Now button

2026-03-28 23:59:59 works
2026-03-29 00:00:00 hangs
2026-03-29 02:00:00 time skips to 03:00:00 - summer time start
2026-03-29 03:00:00 still hangs
2026-03-30 00:00:00 still hangs
2026-03-30 02:00:00 works

When it hangs, top console output is:
PID PPID USER STAT VSZ %VSZ %CPU COMMAND
14214 14201 root R 1224 1% 25% bw_get -i bdist3-download-hour-24 -h -t

Router restart in time interval 2026-03-29 00:00:00 - 02:00:00 does not solve problem.
Router restart after 2026-03-29 03:00:00 does solve problem.


Steps to reproduce:
set NTP Servers to Custom non existing servers.
Console command: date -s "2026-03-28 23:59:00"
Status -> Bandwidth Usage -> Bandwidth Usage Table section -> Delete Data button
Wait to 2026-03-29 00:00:00
Status -> Bandwidth Usage -> Download Bandwidth Data section -> Download Now button

Re: Download Bandwidth Data function hangs at summer time start day

Posted: Sun Apr 05, 2026 9:54 am
by Lantis
Thanks for reporting this bug as well, and for providing a SUPER HELPFUL set of steps to reproduce the bug!!

I've put in a fix which should correct the issue (due to a quirk in mktime and dst).
https://github.com/lantis1008/gargoyle/ ... 2b6d9e7931

I'm currently away for Easter, I'll endeavour to have a new build out by the weekend to resolve this bug.
Although this piece of code tends to work 364 days of the year so we aren't likely to see immediate benefits, however it will pass your reproduction steps.