I have a dedicated VPS, running the latest Tiny Tiny RSS v18.8 (79c5035). Nginx, PHP 7, PGSQL. I have about 150 feeds on an account which is regularly read and purged and another user which managed to rack up some 50,000 unread posts which I’ve subsequently purged. Running update_daemon2.php as a service, built-in plugins and
Everything was working fine for years until nine days ago, when feed updates began generating insane amounts of incoming traffic on each run (every 60 seconds), which I’ve noticed when I got an e-mail from my provider warning me that I’ve used up 0.78 TB out of my 1TB allotment, which never ever happens.
The traffic spike (some 60-100 mb) happens at the very end of the feed update, after it checks all the feeds, i.e. somewhere during this time:
[18:25:48/11293] Processed 21 feeds in 17.6000 (sec), 0.8381 (sec/feed avg)
[18:25:48/11293] Running housekeeping tasks for user 5…
[18:25:48/11293] Sending digests, batch of max 15 users, headline limit = 1000
[18:25:48/11293] All done.
[18:25:48/11293] cache/feeds: removed 0 files.
[18:25:48/11293] cache/images: removed 0 files.
[18:25:48/11293] cache/export: removed 0 files.
[18:25:48/11293] cache/upload: removed 0 files.
[18:25:48/11293] Removed 0 old lock files.
[18:25:48/11293] Removing old error log entries…
[18:25:48/11293] Feedbrowser updated, 110 feeds processed.
[18:25:48/11293] Purged 1 orphaned posts.
[18:25:48/11293] Removed 0 (feeds) 0 (cats) orphaned counter cache entries.
For the life of me, I can’t remember updating anything right before this weirdness started happening. I can’t be sure what version was running when this started happening, because I’ve updated to the latest github version since.
I’ve switched off image caching for all feeds, purged a lot of stuff, but no change. 60 mb might not seem too much, but 60 mb x 60 minutes x 24 hours amounts to almost 85 gigs of unaccounted-for traffic per day.
The email digest plugin is disabled globally.
Both update_daemon2.php and manual runs of update.php do this. I’ve switched from a service to updating every 15 minutes via cron to limit the traffic, but I’d love to find out the root cause of this.
An example of one such event, the smaller SSH window is running nload, I’ve manually run update.php --feeds in the left.
The bandwidth chart for my VPS:
So the question is, what function run at the end of the update could generate incoming traffic?