Forum for users of JoomlaWatch / ExtraWatch for Joomla, Wordpress, Drupal, Magento, Prestashop

JoomlaWatch / ExtraWatch has following features: live real-time visitor statistics, location of your visitors on a map, blocking of users based on bad word list, front-end counters, click heat map, definition of goals and rules, graphs, directory size monitoring, monitoring of increase of database data in time, nightly email reports, interactive HTML5 chart of traffic flow within your website, SEO report with keyword statistics and keyword position trends

Welcome, Guest
Please Login or Register.    Lost Password?

Massive bandwidth use
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Massive bandwidth use
#1393
Massive bandwidth use 8 Years, 2 Months ago Karma: 0
Hi,

I installed the latest version of JoomlaWatch and have since experienced a massive change in bandwidth being consumed.

It appears when I view the stats in admin as the bandwidth is being used by my own IP address.

It has happened with multiple sites at different times over the last week or so but I can't see where the problem lies.

It seems to be when my last view was in admin and I exit the page by closing the browser. It doesn't seem to happen if I move to a different page and then close the browser.

From my log files I see the program looping:
GET /components/com_joomlawatch/visits.php?rand=1359603882&timeID=1223141732507 HTTP/1.1

GET /components/com_joomlawatch/stats.php?rand=1359603882&timeID=1223141735805&tab=0 HTTP/1.1

These two lines are repeated hundreds of times and between them they consume 50Kb of bandwidth.

Has anyone else experienced this and is there any clue to prevent it happening again?

In the meantime I have disabled the module in my Joomla installations and so am nor receiveg any more live stats.

regards,
Jim
jimmuk (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1399
Re:Massive bandwidth use 8 Years, 2 Months ago Karma: 31
Hi,
as you can see :

GET /components/com_joomlawatch/visits.php?rand=1359603882&timeID=1223141732507 HTTP/1.1


GET /components/com_joomlawatch/stats.php?rand=1359603882&timeID=1223141735805&tab=0 HTTP/1.1

this is an interval in seconds. So, every 2 seconds there is a request, what is basically normal, when you want the stats apear as "live".
But you are right, I will put there a notice, that this consumes bandwidth. Because everytime it needs to be refreshed. If you want the component to consume less bandwith, you can increase this interval to let's say 10 seconds or more.<br><br>Post edited by: matto, at: 2008/10/06 16:06
matto (Admin)
Moderator
Posts: 770
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1403
Re:Massive bandwidth use 8 Years, 1 Month ago Karma: 0
Hi Matto,

Thank you for the reply.

My problem is that in the space of an hour over 1 GB of bandwidth was consumed.

This means the visits and stats were being refreshed hundreds and hundreds of times and seemed to be in a loop.

Is there any explanation for this..?

regards
jimmuk
jimmuk (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1404
Re:Massive bandwidth use 8 Years, 1 Month ago Karma: 31
How many times per hour ?
matto (Admin)
Moderator
Posts: 770
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1407
Re:Massive bandwidth use 8 Years, 1 Month ago Karma: 0
Hello again,

I'm afraid I can't tell. The episode happened as the day passed over midnight and I only captured the raw logs for the period after I had suspended JoomlaWatch. I was able to see the first 10 minutes or so into the next day when JoomlaWatch had still been active and this showed a couple of hundred lines of refresh and each pair (visit and stats) used around 50KB of bandwidth.

The previous days logs are not retained and so weren't available but my ISP had alerted me that bandwidth was excessive and I had to stop JoomlaWatch running.

To rack up 1Gb of bandwidth there must have been around 10,000 refreshes of each pair of requests. e.g (1,000,000,000 / 50,000) / 2

This works out at around 660 requests per hour.

I hope this is making sense and as my bandwidth is excessive I cannot turn JoomlaWatch back on to try and track down the problem.

regards,
Jim
jimmuk (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1409
Re:Massive bandwidth use 8 Years, 1 Month ago Karma: 31
Hi Jim,
660 requests per hour = 11 requests per minute = approx. one request every 5 seconds. This is how it's supposed to be, because then, you would not see the information updates in &quot;real time&quot;. That's why it's polling it in intervals.
This can be changed in settings, and you can set it the way, that it will be refershing eg. every 10, 20 seconds or more.

But you are right, some users are not aware of that, that it might consume some bandwidth.
To avoid such situations I will put some traffic counter into that backend and some warning message to make sure that user won't leave it running for a long time.
matto (Admin)
Moderator
Posts: 770
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1426
Re:Massive bandwidth use 8 Years, 1 Month ago Karma: 0
Hello again,

I really appreciate the time you have spent looking at this however I'm not sure you understand what I mean.

The application will continue to update so long as there is a visitor visiting my website - this is clear.

However it appears the application is continuing to send update requests when there is no visitor to the website.

The massive bandwidth was used by a single visitor - that visitor was me looking at my own front page.

I left the website and viewed a different website on the browser but JoomlaWatch continued to send requests even though there was no visitor on the site.

All the bandwidth was consumed by my own IP address even though I was no longer viewing the website...!

It is likely I had been viewing through the admin and also on the frontpage of the website on two different browser pages at the same time. I then closed down both views but JoomlaWatch continued to send requests.

I use Mozilla Firefox and both views would have been on seperate tabs. Both tabs were changed to othe websites and neither the admin view or front page view were active on my browser yet the application continued..

Does this make any sense..?

Jim
jimmuk (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1496
Re:Massive bandwidth use 8 Years, 1 Month ago Karma: 31
However it appears the application is continuing to send update requests when there is no visitor to the website.

Yes, that's right. That's why you have to make sure that you won't keep it open all night an go away. I've added a traffic counter and a warning that it consumes some bandwidth.
matto (Admin)
Moderator
Posts: 770
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1