[rrd-users] Re: segmentation fault with graph command
Alex van den Bogaerdt
alex at ergens.op.het.net
Wed Sep 14 04:21:00 MEST 2005
On Tue, Sep 13, 2005 at 03:02:52PM -0700, Kate Ericson wrote:
> (http://tech.teragrid.org/inca/TG/html/rrd_dump) look a little strange
> though:
>
> <!-- 1990-02-05 04:56:32 PST / 634222592 --> <row><v> NaN </v></row>
> ...
> <!-- 2005-08-31 05:56:32 PDT / 1125492992 --> <row><v> NaN </v></row>
> <!-- 2005-09-02 05:56:32 PDT / 1125665792 --> <row><v> NaN </v></row>
> ...
> <!-- 2038-01-18 04:56:32 PST / 2147432192 --> <row><v> NaN </v></row>
This is highly unusual. It looks as if there is a computation problem.
Note: 2147432192 is very near to 2147483647 (2**31 -1), usually a sign
of trouble.
> <!-- 1901-12-14 22:28:16 PST / -2147362304 --> <row><v> NaN </v></row>
Dito when the number is near -2147483648 (2**31, becomes negative)
This is where the problem occurs:
<!-- 2038-01-13 22:28:16 PST / 2147063296 --> <row><v> NaN </v></row>
<!-- 2038-01-15 22:28:16 PST / 2147236096 --> <row><v> NaN </v></row>
<!-- 2038-01-17 22:28:16 PST / 2147408896 --> <row><v> NaN </v></row>
-->here
<!-- 1901-12-14 16:00:00 PST / -2147385600 --> <row><v> NaN </v></row>
<!-- 1901-12-16 16:00:00 PST / -2147212800 --> <row><v> NaN </v></row>
<!-- 1901-12-18 16:00:00 PST / -2147040000 --> <row><v> NaN </v></row>
You have a problem with the amount of data you try to collect. There are
52560 rows in your database. At two days per row, this means 105120 days.
That's 288 years. As you can see, RRDtool cannot handle this; it fails
somewhere in 1901. I believe the documentation mentions something like
1970 but I could very well be wrong on this.
When you generate a database now, it sort of means "start=end-288y end=now"
Are you really trying to store data for 288 years? May I ask why?
Alex
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-users
mailing list