Print

Print


Yes, this solves the thread problem. Cool.

There is a new problem where some plots are not getting scaled correctly - 
the occupancy plots in SensorOccupancyPlotsDriver (SVT monitoring) and the 
occupancy/rate plots in EcalMonitoringPlots (ECal monitoring) have their Y 
or Z scales set to unreasonable values so you can't see the histograms.

The thing these all have in common is that they are not filled in the 
"usual way" (Histogram1D.fill(binX) or Histogram2D.fill(binX, binY)) - 
these are all reset periodically and filled with precalculated values 
using Histogram1D.fill(binX,occupancy), Histogram2D.fill(binX, binY, 
occupancy) or Histogram2D.add(hist2D).

Clicking on the plotted histogram resets the scale, as does clearing and 
re-plotting the plotter (this is what I've done, for now).

On Mon, 11 May 2015, McCormick, Jeremy I. wrote:

> Hi,
>
> I saw the log book entries and emails about the monitoring app being a prolific "thread factory" that spawned many timer threads (which were used to redraw the plots), and this eventually locked up the machines in the counting house when the app was left on for a long time.
>
> The problem is tracked by this JIRA issue.
>
> https://jira.slac.stanford.edu/browse/HPSJAVA-504
>
> So I believe that I have fixed this by rewriting some code in the monitoring app plotting backend which does the plot updates.  This is deployed to the Maven repo as jfreechart-aida-experimental 1.7-SNAPSHOT (prior version we were using wa 1.6).  I have also updated HPS Java trunk to use this new version.
>
> My testing on EcalMonitoringFinal.lcsim with run 5077 indicates this is *much* better in terms of thread management.  There should only be a few threads now that are used for redrawing the plots, and the timer threads no longer should pile up as the app runs.  Please test this new configuration and let me know if it fixes the issue.
>
> Thanks.
>
> --Jeremy
>
> ########################################################################
> Use REPLY-ALL to reply to list
>
> To unsubscribe from the HPS-SOFTWARE list, click the following link:
> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1