Rocview freezing while monitoring many sensors

Moderators: dadolphs, Moderators

Rocview freezing while monitoring many sensors

Postby Eriko » 06.08.2017, 09:35

Hi

I've a issue with Rocview while I'm monitoring the sensors.
It seems to me that the 'sensor monitoring' window asks a lot of resources of a computer.
When a couple of sensors sensing at the same moment then the sensor monitoring can get overloaded and get stuck which results that I've to restart Rocview.

Luckily the sensor monitor is only needed while checking a new layed or changed track.

There is no hurry for me but it will be nice to get solved over time.

Greetings,
Erik K
H0 Märklin M&K-rails
Uhlenbrok Intellibox Basic
Ubuntu 14.04 x64 & 16.04 x64
Eriko
 

Re: Rocview crashing while monitoring sensors

Postby smitt48 » 06.08.2017, 09:58

Hi Erik,

Please add your trc files, your plan and your ini files.

Tom
Kind regards,
Tom Smit
Kralendijk, Bonaire - Dutch Caribbean

Märklin M & K-rails with ECoS2 (4.1.4) - WinXP as server, 10
RoSoft: S88n & WDD switch & SDD signal decoders
Display: Tri-ang from 1950's, Märklin from early 1960's
In build phase
smitt48
 

Re: Rocview crashing while monitoring sensors

Postby Eriko » 06.08.2017, 10:23

Hi Tom
It seems undepending from the layout but I will make an issue.

At the moment I can't make the required trc files since I'm traveling right now.
I will make them at soon I'm back at my modeltrain club and can reproduce the issue.

Also some additional information.
Most sensors are connected with s88 and a few with Loconet.
The sensitivity of getting stuck depend on how powerful the computer is.

Greeings,
Erik
You do not have the required permissions to view the files attached to this post.
H0 Märklin M&K-rails
Uhlenbrok Intellibox Basic
Ubuntu 14.04 x64 & 16.04 x64
Eriko
 

Re: Rocview crashing while monitoring sensors

Postby rjversluis » 06.08.2017, 11:19

Hi Erik,

if all trace levels are activated and Rocview has its trace panel visible, then the event queue of the graphic part of the OS will get overloaded.
I can easily reproduce this in case I send 1000 sensor messages within a few ms to the clients.

I will try to optimise the refresh of the sensor monitor...
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Re: Rocview crashing while monitoring sensors

Postby Eriko » 06.08.2017, 21:21

Hi Rob

I recognize you comments. Nice it is easily reproducible (this time. :wink: ).
When possible again I will see what happens if I turn off the trace levels.

Optimisation is always good.
Not always the most visible and rewarding thing to do, but helps with the stability of the program.
Especially on less powerful machines.

Greeting,
Erik
H0 Märklin M&K-rails
Uhlenbrok Intellibox Basic
Ubuntu 14.04 x64 & 16.04 x64
Eriko
 

Re: Rocview crashing while monitoring sensors

Postby rjversluis » 07.08.2017, 04:14

Hi Erik,

I improved the monitor performance in revision 12.520.
Please test and report.
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Re: Rocview freezing while monitoring many sensors

Postby Eriko » 09.08.2017, 20:55

Hi Rob

I will at soon as I'm able to.
But that can take a week or two.

Greetings,
Erik
H0 Märklin M&K-rails
Uhlenbrok Intellibox Basic
Ubuntu 14.04 x64 & 16.04 x64
Eriko
 


Return to Basic topics