Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 2 [3] 4 5

Author Topic: DSLstats v6.5 released  (Read 7047 times)

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 5424
Re: DSLstats v6.5 released
« Reply #30 on: April 23, 2018, 05:39:12 AM »

I have got issues with dslstats just silently crashing, by silent I mean no error prompt, just closing down.  The event log even tho its set to save on exit, is wiped when this happens, so when its relaunched the first entries are when it is launched.  So I dont know how to diagnose this, Eric I can take this to pm if you prefer for further diagnosis.

This has seemed to start since I updated to 6.5 I have now reverted to 6.0.8 just to see if it still crashes, because I have also changed a few settings which may have triggered the problem.
Logged
Sky Fiber Pro - Billion 8800NL bridge & PFSense BOX running PFSense 2.4 - ECI Cab - LINE STATISTICS CLICK HERE

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39301
  • Penguins CAN fly
    • DSLstats
Re: DSLstats v6.5 released
« Reply #31 on: April 23, 2018, 11:21:16 AM »

I'm struggling to work out how to diagnose this. How soon does it crash after starting, and is it possible to relate the time of the crash to something happening at the time? Would it be possible to reverse your recent changes in the settings and see if it still crashes?

If you could give me a copy of your dslstats.ini file (with anything confidential removed) I can try to reproduce it on a Windows 8.1 system.
Logged
  Eric

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 5424
Re: DSLstats v6.5 released
« Reply #32 on: April 23, 2018, 01:50:11 PM »

I will send it, but I think I have already diagnosed it.
Logged
Sky Fiber Pro - Billion 8800NL bridge & PFSense BOX running PFSense 2.4 - ECI Cab - LINE STATISTICS CLICK HERE

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39301
  • Penguins CAN fly
    • DSLstats
Re: DSLstats v6.5 released
« Reply #33 on: April 23, 2018, 04:35:52 PM »

Thanks, I've received your PMs and responded.
Logged
  Eric

pluto

  • Just arrived
  • *
  • Posts: 12
Re: DSLstats v6.5 released
« Reply #34 on: May 09, 2018, 02:24:19 AM »

.... I think I have already diagnosed it.

What were your conclusions? I have a similar issue instant closure without warning the instant anything on the program's interface is touched :o

Windows 7, x64. Updated to 6.5.3 but this one is tricky. It sometimes doesn't happen until after several days of normal running.

But I also know, for a fact, that this problem goes back quite a long time I guess I'm just a bit more focussed on it at the moment.
« Last Edit: May 09, 2018, 02:38:44 AM by pluto »
Logged

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 5424
Re: DSLstats v6.5 released
« Reply #35 on: May 09, 2018, 02:25:26 PM »

It was when 2 programs were trying to access the files dslstats writes at the same time.

The older version was more elegant and threw up a warning prompt whilst the newer version just silently crashed.

Mine was nothing to do with touching the interface.
Logged
Sky Fiber Pro - Billion 8800NL bridge & PFSense BOX running PFSense 2.4 - ECI Cab - LINE STATISTICS CLICK HERE

konrado5

  • Reg Member
  • ***
  • Posts: 896
Re: DSLstats v6.5 released
« Reply #36 on: June 09, 2018, 01:55:08 AM »

 I've noticed on netstat that dslstats opens many telnet connection at once. However I suspect Netgear DGND3700v2 doesn't like many connections.
Code: [Select]
09 Jun 2018 00:51:53 Event Log saved to Snapshots folder, then cleared
09 Jun 2018 00:53:09 Timeout while retrieving stats
09 Jun 2018 00:53:09 No stats received
09 Jun 2018 00:53:35 Timeout while retrieving stats
09 Jun 2018 00:53:35 No stats received
09 Jun 2018 00:53:51 Timeout while retrieving stats
09 Jun 2018 00:53:51 No stats received
09 Jun 2018 00:54:18 Timeout while retrieving stats
09 Jun 2018 00:54:18 No stats received
09 Jun 2018 00:56:00 Timeout while retrieving stats
09 Jun 2018 00:56:00 No stats received
09 Jun 2018 00:58:30 Timeout while retrieving stats
09 Jun 2018 00:58:30 No stats received
09 Jun 2018 01:04:19 Timeout while retrieving stats
09 Jun 2018 01:04:19 No stats received
09 Jun 2018 01:06:12 Timeout while retrieving stats
09 Jun 2018 01:06:12 No stats received
09 Jun 2018 01:09:50 Timeout while retrieving stats
09 Jun 2018 01:09:50 No stats received
09 Jun 2018 01:10:57 Timeout while retrieving stats
09 Jun 2018 01:10:57 No stats received
09 Jun 2018 01:13:15 Timeout while retrieving stats
09 Jun 2018 01:13:15 No stats received
09 Jun 2018 01:14:54 Timeout while retrieving stats
09 Jun 2018 01:14:54 No stats received
09 Jun 2018 01:20:29 Timeout while retrieving stats
09 Jun 2018 01:20:29 No stats received
09 Jun 2018 01:21:30 Timeout while retrieving stats
09 Jun 2018 01:21:30 No stats received
09 Jun 2018 01:21:55 Timeout while retrieving stats
09 Jun 2018 01:21:55 No stats received
09 Jun 2018 01:22:20 Timeout while retrieving stats
09 Jun 2018 01:22:20 No stats received
09 Jun 2018 01:25:08 Timeout while retrieving stats
09 Jun 2018 01:25:08 No stats received
09 Jun 2018 01:25:27 Timeout while retrieving stats
09 Jun 2018 01:25:27 No stats received
09 Jun 2018 01:25:43 Timeout while retrieving stats
09 Jun 2018 01:25:43 No stats received
09 Jun 2018 01:26:51 Timeout while retrieving stats
09 Jun 2018 01:26:51 No stats received
09 Jun 2018 01:27:37 Timeout while retrieving stats
09 Jun 2018 01:27:37 No stats received
09 Jun 2018 01:30:04 Timeout while retrieving stats
09 Jun 2018 01:30:04 No stats received
09 Jun 2018 01:30:20 Timeout while retrieving stats
09 Jun 2018 01:30:20 No stats received
09 Jun 2018 01:31:02 Timeout while retrieving stats
09 Jun 2018 01:31:02 No stats received
09 Jun 2018 01:33:02 Timeout while retrieving stats
09 Jun 2018 01:33:02 No stats received
09 Jun 2018 01:33:58 Timeout while retrieving stats
09 Jun 2018 01:33:58 No stats received
09 Jun 2018 01:34:50 Timeout while retrieving stats
09 Jun 2018 01:34:50 No stats received
09 Jun 2018 01:36:09 Timeout while retrieving stats
09 Jun 2018 01:36:09 No stats received
09 Jun 2018 01:38:07 Timeout while retrieving stats
09 Jun 2018 01:38:07 No stats received
09 Jun 2018 01:38:23 Timeout while retrieving stats
09 Jun 2018 01:38:23 No stats received
09 Jun 2018 01:39:16 Timeout while retrieving stats
09 Jun 2018 01:39:16 No stats received
09 Jun 2018 01:43:16 Timeout while retrieving stats
09 Jun 2018 01:43:16 No stats received
09 Jun 2018 01:45:18 Timeout while retrieving stats
09 Jun 2018 01:45:18 No stats received
09 Jun 2018 01:45:42 Timeout while retrieving stats
09 Jun 2018 01:45:42 No stats received
09 Jun 2018 01:46:14 Timeout while retrieving stats
09 Jun 2018 01:46:14 No stats received
09 Jun 2018 01:46:46 Timeout while retrieving stats
09 Jun 2018 01:46:46 No stats received
09 Jun 2018 01:47:13 Timeout while retrieving stats
09 Jun 2018 01:47:13 No stats received
09 Jun 2018 01:47:49 Timeout while retrieving stats
09 Jun 2018 01:47:49 No stats received
09 Jun 2018 01:48:06 Timeout while retrieving stats
09 Jun 2018 01:48:06 No stats received
09 Jun 2018 01:51:19 Timeout while retrieving stats
09 Jun 2018 01:51:19 No stats received
09 Jun 2018 01:52:34 Timeout while retrieving stats
09 Jun 2018 01:52:34 No stats received
09 Jun 2018 01:55:15 Timeout while retrieving stats
09 Jun 2018 01:55:15 No stats received
09 Jun 2018 01:58:13 Timeout while retrieving stats
09 Jun 2018 01:58:13 No stats received
09 Jun 2018 02:02:28 Timeout while retrieving stats
09 Jun 2018 02:02:28 No stats received
09 Jun 2018 02:03:10 Timeout while retrieving stats
09 Jun 2018 02:03:10 No stats received
09 Jun 2018 02:03:49 Timeout while retrieving stats
09 Jun 2018 02:03:49 No stats received
09 Jun 2018 02:04:46 Timeout while retrieving stats
09 Jun 2018 02:04:46 No stats received
09 Jun 2018 02:07:00 Timeout while retrieving stats
09 Jun 2018 02:07:00 No stats received
09 Jun 2018 02:07:21 Timeout while retrieving stats
09 Jun 2018 02:07:21 No stats received
09 Jun 2018 02:09:09 Timeout while retrieving stats
09 Jun 2018 02:09:09 No stats received
09 Jun 2018 02:12:28 Timeout while retrieving stats
09 Jun 2018 02:12:28 No stats received
09 Jun 2018 02:13:01 Timeout while retrieving stats
09 Jun 2018 02:13:01 No stats received
09 Jun 2018 02:13:18 Timeout while retrieving stats
09 Jun 2018 02:13:18 No stats received
09 Jun 2018 02:13:58 Timeout while retrieving stats
09 Jun 2018 02:13:58 No stats received
09 Jun 2018 02:14:37 Timeout while retrieving stats
09 Jun 2018 02:14:37 No stats received
09 Jun 2018 02:19:43 Timeout while retrieving stats
09 Jun 2018 02:19:43 No stats received
09 Jun 2018 02:20:08 Timeout while retrieving stats
09 Jun 2018 02:20:08 No stats received
09 Jun 2018 02:22:14 Timeout while retrieving stats
09 Jun 2018 02:22:14 No stats received
09 Jun 2018 02:23:04 Timeout while retrieving stats
09 Jun 2018 02:23:04 No stats received
09 Jun 2018 02:24:11 Timeout while retrieving stats
09 Jun 2018 02:24:11 No stats received
09 Jun 2018 02:24:20 Incorrect login name or password
09 Jun 2018 02:25:46 Timeout while retrieving stats
09 Jun 2018 02:25:46 No stats received
09 Jun 2018 02:26:17 Timeout while retrieving stats
09 Jun 2018 02:26:17 No stats received
09 Jun 2018 02:26:49 Timeout while retrieving stats
09 Jun 2018 02:26:49 No stats received
09 Jun 2018 02:27:35 Timeout while retrieving stats
09 Jun 2018 02:27:35 No stats received
09 Jun 2018 02:28:00 Timeout while retrieving stats
09 Jun 2018 02:28:00 No stats received
09 Jun 2018 02:31:04 Timeout while retrieving stats
09 Jun 2018 02:31:04 No stats received
09 Jun 2018 02:36:22 Timeout while retrieving stats
09 Jun 2018 02:36:22 No stats received
09 Jun 2018 02:37:15 Timeout while retrieving stats
09 Jun 2018 02:37:15 No stats received
09 Jun 2018 02:39:40 Timeout while retrieving stats
09 Jun 2018 02:39:40 No stats received
09 Jun 2018 02:40:53 Timeout while retrieving stats
09 Jun 2018 02:40:53 No stats received
09 Jun 2018 02:43:42 Timeout while retrieving stats
09 Jun 2018 02:43:42 No stats received
09 Jun 2018 02:44:04 Timeout while retrieving stats
09 Jun 2018 02:44:04 No stats received
09 Jun 2018 02:45:31 Timeout while retrieving stats
09 Jun 2018 02:45:31 No stats received
09 Jun 2018 02:46:20 Timeout while retrieving stats
09 Jun 2018 02:46:20 No stats received
09 Jun 2018 02:51:00 Timeout while retrieving stats
09 Jun 2018 02:51:00 No stats received
09 Jun 2018 02:53:44 Timeout while retrieving stats
09 Jun 2018 02:53:44 No stats received

here any possibility  to change the DSLAM code in order to use one telnet connection?
Logged

j0hn

  • Kitizen
  • ****
  • Posts: 1806
Re: DSLstats v6.5 released
« Reply #37 on: June 09, 2018, 03:09:50 AM »

It does only use 1 telnet connection.

It opens telnet session.
It gathers the specified stats.
It closes the telnet session.

1 min later....

It opens telnet session.
It gathers the specified stats.
It closes the telnet session.

Your problem is your sample time is only about 15 seconds.
With older/slower modems this is too much.
Try increasing the sample time.
60 seconds is more than sufficient.
« Last Edit: June 09, 2018, 03:13:31 AM by j0hn »
Logged
BT FTTC 55/10 ECI now Huawei cab
Zyxel VMG1312-B10A bridge mode with 1508 MTU + Asus RT-AC68U running Asuswrt-Merlin

konrado5

  • Reg Member
  • ***
  • Posts: 896
Re: DSLstats v6.5 released
« Reply #38 on: June 09, 2018, 05:14:42 PM »

I sample stats every second but I haven't had this problem on D-Link DSL-2740B. Perhaps it would be good solution to open telnet session without closing it.
Logged

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39301
  • Penguins CAN fly
    • DSLstats
Re: DSLstats v6.5 released
« Reply #39 on: June 09, 2018, 06:39:44 PM »

It's been discussed before, and I'm not going to do that. In my opinion, sampling every second is not sensible or helpful.

Logged
  Eric

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 31578
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: DSLstats v6.5 released
« Reply #40 on: June 09, 2018, 09:47:04 PM »

I've noticed on netstat that dslstats opens many telnet connection at once.

I sample stats every second.

1 second isn't sufficient time to gather stats even on the fastest systems.  I'm not surprised it shows as having multiple sessions open.   The next session(s) will be starting before the previous have finished.

Quote
Perhaps it would be good solution to open telnet session without closing it.

No because there are several modems where it could become a problem because they only allow one open telnet session at a time.   
Some people use both DSLstats and HG612 stats and many times in the past it has caused issues if they both have telnet sessions open at the same time - which is why Eric had to code "HG612 stat compatibility" into DSLstats so that DSLstats' session would be finished before HG612 modem stats would open a session.  This is ignoring any manual telnet sessions where a user is logging in to change configs etc.   

Although I'm currently using a Zyxel VMG8324 on f/w that will allow more than one concurrent session,  I also have a few other modems which wont - such as a VMG8924 (which I should really put on because of the wifi).    How would it be fair to implement something which would cause problems for other modems just so that you can run every 1 second.    As mentioned by J0hn, every minute is more than sufficient to get a good overview of line health.
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

konrado5

  • Reg Member
  • ***
  • Posts: 896
Re: DSLstats v6.5 released
« Reply #41 on: June 09, 2018, 10:49:07 PM »

1 second isn't sufficient time to gather stats even on the fastest systems.
But on D-Link DSL-2740B it doesn't cause any problems. It causes problems on Netgear DGND3700v2.   
Quote
No because there are several modems where it could become a problem because they only allow one open telnet session at a time.
Why couldn't dslstats use the same telnet session  all the time? I understand it would cause problems if refresh rate is 30s (somebody couldn't log to telnet in this situation). But it would be helpful at 1s refresh rate.
Logged

burakkucat

  • Global Moderator
  • Senior Kitizen
  • *
  • Posts: 23628
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: DSLstats v6.5 released
« Reply #42 on: June 10, 2018, 12:05:00 AM »

Please stop your unreasonable behaviour right now.

DSLstats will not be modified to suit your requirements. I suggest that you write you own utility, then you can have every feature doing exactly what you require.

This thread is now locked.
« Last Edit: June 10, 2018, 03:52:17 PM by burakkucat »
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

konrado5

  • Reg Member
  • ***
  • Posts: 896
Re: DSLstats v6.5 released
« Reply #43 on: June 10, 2018, 04:20:29 PM »

I don't understand why my behaviour is unreasonable. I merely explain why kitz argumentation is unconvincing for me. Many people proposed additional features to DSLStats.
Logged

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 31578
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: DSLstats v6.5 released
« Reply #44 on: June 10, 2018, 06:52:06 PM »

Quote
I merely explain why kitz argumentation is unconvincing for me.

Because if implemented in the way you are requesting, it would cause problems for those who have modems which only allow 1 telnet session at a time of which there are quite a few.

As I explained that some of us run both DSLstats and HG612modem stats.   Eric had to specifically code something so that DSLstats session closed before HG612 stats ran..  otherwise they clashed and caused either DSLstats for HG612 stats to crash. Keeping the session open would mean that those who run HG612 stats would see frequent crashes and have no stats recorded.     

When it takes circa 7 seconds (perhaps longer on slower systems) to login and gather stats, then it is no wonder you're seeing multiple sessions if you are running every 1 second.

Quote
Many people proposed additional features to DSLStats.

...  and Eric will usually do his best to add the feature if it is beneficial for all. 

What you are requesting is unreasonable.   I have no idea how many people run HG612 modem stats, nor how many people use DSLstats but for the later you are probably talking multiple hundreds of users.   
For the sake of you being able to run stats once per second..  there's a high probability that it would crash stats for a heck of a lot of other users.  :(
Stats once per min is sufficient to gauge line health. 
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker
Pages: 1 2 [3] 4 5
 

anything