[Xymon] scvstatus gives error on version 30, but not on version 28

Herald ten Dam herald.ten.dam at icu-it.nl
Thu Mar 5 08:03:48 CET 2020


Hi,

I recently upgraded from version 28 to version 30. Everything works except some Trends pages. These trend pages include a lot of grapics coming from rrd directories with more than 750 rrd's in it. Directories with around 200 work and give no error.

I made a strace with version 30 and gives this for the error:
stat("./guests,VMSERVP.rrd", {st_mode=S_IFREG|0755, st_size=19640, ...}) = 0
stat("./fcp_read,SLD544A_5C50.rrd", {st_mode=S_IFREG|0755, st_size=19640, ...}) = 0
stat("./vnicin,SLD531A_VSR1BHH.rrd", {st_mode=S_IFREG|0755, st_size=19640, ...}) = 0
stat("./vnicout,SLD516A_VSR1ADAT.rrd", {st_mode=S_IFREG|0755, st_size=19640, ...}) = 0
stat("./disk,SFS,VMSYS,XCHANGE.rrd", {st_mode=S_IFREG|0755, st_size=38624, ...}) = 0
stat("./fcp_read,SLD550A_5C51.rrd", {st_mode=S_IFREG|0755, st_size=19640, ...}) = 0
stat("./fcp_write,SLD538A_5C50.rrd", {st_mode=S_IFREG|0755, st_size=19640, ...}) = 0
stat("./guests,WAVEWRKS.rrd", {st_mode=S_IFREG|0755, st_size=19640, ...}) = 0
getdents(3, /* 0 entries */, 32768)     = 0
close(3)                                = 0
brk(0x1ea3d000)                         = 0x1ea3d000
brk(0x1ea3b000)                         = 0x1ea3b000
open("/dev/tty", O_RDWR|O_NOCTTY|O_NONBLOCK) = 3
writev(3, [{iov_base="*** Error in `", iov_len=14}, {iov_base="/home/xymon/server/bin/svcstatus"..., iov_len=36}, {iov_base="': ", iov_len=3}, {iov_base="corrupted size vs. prev_size", iov_len=28}, {iov_base=": 0x", iov_len=4}, {iov_base="000000001ea10fe0", iov_len=16}, {iov_base=" ***\n", iov_len=5}], 7*** Error in `/home/xymon/server/bin/svcstatus.cgi': corrupted size vs. prev_size: 0x000000001ea10fe0 ***
) = 106
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3ff8bdf5000
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
getpid()                                = 37079
gettid()                                = 37079
tgkill(37079, 37079, SIGABRT)           = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=37079, si_uid=1000} ---
+++ killed by SIGABRT (core dumped) +++
Aborted (core dumped)

version 28 gives the next part (not completely):
stat("./fcp_read,SLD544A_5C50.rrd", {st_mode=S_IFREG|0755, st_size=19640, ...}) = 0
stat("./vnicin,SLD531A_VSR1BHH.rrd", {st_mode=S_IFREG|0755, st_size=19640, ...}) = 0
stat("./vnicout,SLD516A_VSR1ADAT.rrd", {st_mode=S_IFREG|0755, st_size=19640, ...}) = 0
stat("./disk,SFS,VMSYS,XCHANGE.rrd", {st_mode=S_IFREG|0755, st_size=38624, ...}) = 0
stat("./fcp_read,SLD550A_5C51.rrd", {st_mode=S_IFREG|0755, st_size=19640, ...}) = 0
stat("./fcp_write,SLD538A_5C50.rrd", {st_mode=S_IFREG|0755, st_size=19640, ...}) = 0
stat("./guests,WAVEWRKS.rrd", {st_mode=S_IFREG|0755, st_size=19640, ...}) = 0
getdents(3, /* 0 entries */, 32768)     = 0
close(3)                                = 0
brk(0x1b843000)                         = 0x1b843000
fstat(1, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
openat(AT_FDCWD, "/home/xymon/server/web/trends_header", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=1079, ...}) = 0
read(3, "<!DOCTYPE HTML>\n<HTML>\n<HEAD>\n<T"..., 1079) = 1079
close(3)                                = 0
openat(AT_FDCWD, "/home/xymon/server/etc/xymonmenu.cfg", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=4251, ...}) = 0
read(3, "<div id=\"menue\">\n    <div class="..., 4096) = 4096
read(3, "      <a class=\"inner\" href=\"$XY"..., 4096) = 155
read(3, "", 4096)                       = 0
close(3)

I'm no c programmer, so can someone look into this error?

Regards,
Herald ten Dam
Database Specialist Oracle, Medior z/VM

ICU IT Services BV
Transistorstraat 55b  I  1322 CK  ALMERE

M 06 – 28 891 653  I  E herald.ten.dam at icu-it.nl<mailto:herald.ten.dam at icu-it.nl>
T 088 – 5 234 123  I  www.icu-it.nl<https://mail.tonec.nl/owa/redir.aspx?C=VXsWzolNszaPfEV0NyI4hHlHi_HLsvmJPdc-hUPEoam3bq_3CljVCA..&URL=http%3a%2f%2fwww.icu-it.nl%2f>  I  KvK 32135776
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20200305/a9061032/attachment.htm>


More information about the Xymon mailing list