[dsc] dsc presenter bug?
Jose Romero
jromero at rcp.pe
Wed Mar 3 19:53:31 UTC 2010
Hi Duane,
I modified in grapher.pm ploticus_arg("-maxrows", "20000") to
ploticus_arg("-maxrows", "40000") and the problem continue (only with Source
Ports graph)
I added "2>/tmp/ploticus.stderr" in ploticus.pm and I see the following in
the ploticus.stderr file:
pl proc getdata: error 406: Data input truncated... too many data fields
(try raising -maxfields)
cat: stdout: Broken pipe
I don't Know where put the -maxfields argument and its value. Can you help
me?
Regards
Jose
-----Mensaje original-----
De: Duane Wessels [mailto:wessels at measurement-factory.com]
Enviado el: Miércoles, 03 de Marzo de 2010 12:45 p.m.
Para: Tobias Winter
CC: Jose Romero; dsc at measurement-factory.com
Asunto: Re: [dsc] dsc presenter bug?
On Wed, 3 Mar 2010, Tobias Winter wrote:
> On 03/03/2010 04:35 PM, Jose Romero wrote:
>> Hi,
>>
>> I have installed the dsc-200911111630.tar DSC version and I see a similar
>> problem but in my case it's in the "Source Ports Graph".
> Same here. I just took 'By Node' as example because I assume the data
> gets lost at the same portion of code for the various types of graphs.
>
> I so far ~ruled out a out-of-memory-kill of ploticus.
>
> My best guess is that an array is out of space or something.
Its a good possibility that ploticus is complaining about too
much data (but we don't see it because its stderr is lost).
In grapher.pm you'll find this line:
ploticus_arg("-maxrows", "20000");
you might try doubing that. Note however that ploticus has other
default limits that might be a factor.
To debug more in ploticus.pm find the function ploticus_begin and
then add something like "2>/tmp/ploticus.stderr" to the end of the
$cmd that gets spawned.
DW
More information about the dsc
mailing list