[rrd-users] Re: rrd update hangs?
Wendy Faulkner
faulkner at eco.utexas.edu
Mon Jul 9 20:46:29 MEST 2001
More info - I'm running other rrds with no problem at all. Nothing has changed
- 3 of them just stopped working at midnight.
I recreate the rrd
rrdtool create daily.rrd --start 994654800 --step 3600
DS:received:GAUGE:6000:U:U DS:delivered:GAUGE:6000:U:U
DS:bounced:GAUGE:6000:U:U RRA:MAX:0.5:1:600 DS:deferred:GAUGE:6000:U:U
RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
and I can truss the command (solaris 2.6)
truss /usr/local/rrdtool-1.0.33/bin/rrdtool update /opt/Mail/daily.rrd 994654800:1970:2048:176:210
execve("/usr/local/rrdtool-1.0.33/bin/rrdtool", 0xEFFFF900, 0xEFFFF914) argc =
4
stat("/opt/freeware/rrdtool-1.0.33/bin/rrdtool", 0xEFFFF5E0) = 0
open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
open("/usr/X11r6/lib/libm.so.1", O_RDONLY) Err#2 ENOENT
open("/home/wfaulkne/lib/libm.so.1", O_RDONLY) Err#2 ENOENT
open("/usr/lib/libm.so.1", O_RDONLY) = 3
fstat(3, 0xEFFFF37C) = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xEF7B0000
mmap(0x00000000, 155648, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xEF780000
mmap(0xEF7A4000, 7309, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
3, 81920) = 0xEF7A4000
munmap(0xEF796000, 57344) = 0
memcntl(0xEF780000, 7796, MC_ADVISE, 0x0003, 0, 0) = 0
close(3) = 0
open("/usr/X11r6/lib/libc.so.1", O_RDONLY) Err#2 ENOENT
open("/home/wfaulkne/lib/libc.so.1", O_RDONLY) Err#2 ENOENT
open("/usr/lib/libc.so.1", O_RDONLY) = 3
fstat(3, 0xEFFFF37C) = 0
mmap(0xEF7B0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xEF7B0000
mmap(0x00000000, 704512, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xEF680000
mmap(0xEF722000, 29984, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
3, 598016) = 0xEF722000
open("/dev/zero", O_RDONLY) = 4
mmap(0xEF72A000, 4144, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
k4, 0) = 0xEF72A000
munmap(0xEF714000, 57344) = 0
memcntl(0xEF680000, 101660, MC_ADVISE, 0x0003, 0, 0) = 0
close(3) = 0
open("/usr/X11r6/lib/libdl.so.1", O_RDONLY) Err#2 ENOENT
open("/home/wfaulkne/lib/libdl.so.1", O_RDONLY) Err#2 ENOENT
open("/usr/lib/libdl.so.1", O_RDONLY) = 3
fstat(3, 0xEFFFF37C) = 0
mmap(0xEF7B0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xEF7B0000
close(3) = 0
open("/usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1", O_RDONLY) = 3
fstat(3, 0xEFFFF1E4) = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xEF770000
mmap(0x00000000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xEF760000
close(3) = 0
mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 4, 0) =
0xEF750000
close(4) = 0
munmap(0xEF770000, 8192) = 0
time() = 994704208
open("/opt/Mail/daily.rrd", O_RDWR) = 3
brk(0x0006F950) = 0
brk(0x00071950) = 0
fstat64(3, 0xEFFFCD40) = 0
brk(0x00071950) = 0
brk(0x00073950) = 0
ioctl(3, TCGETA, 0xEFFFCCCC) Err#25 ENOTTY
read(3, " R R D\0 0 0 0 1\0\0\0\0".., 8192) = 8192
llseek(3, 0, SEEK_CUR) = 8192
lseek(3, 0xFFFFEAEC, SEEK_CUR) = 2796
fcntl(3, F_SETLK, 0xEFFFCED0) (sleeping...)
and it hangs here forever. Any ideas? Thx.
Wen
> I've been running some scripts which use rrdtool to update 5 different mail
> dbs and graph them. On midnight on Friday, 3 of the 5 started failing. Any
> attempts to update them just hangs - I got lots of errors from crons and there
> were lots of hung rrd processes in the ps listing. I killed all of those, and
> tried by hand without success. So I deleted the rrd files and recreated them
> the same as I had before, and they still won't update. The same scripts didn't
> change, the hung processes just look like
>
> root 23419 23418 0 09:01:52 pts/3 0:00
> /usr/local/rrdtool-1.0.33/bin/rrdtool update /opt/Mail/daily.rrd 994654800:1970
>
>
> 2 of the 5 are working fine. I'm just completely befuddled because this all
> worked perfectly until midnight on Friday. Anyone have any suggestions? I
> just can't fathom why they hang....
>
>
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Wendy Faulkner Don't knock on Death's door.
> faulkner at eco.utexas.edu Ring the bell and run away.
> http://www.eco.utexas.edu/~faulkner He hates that.
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
>
> --
> 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://www.ee.ethz.ch/~slist/rrd-users
> WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
>
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Wendy Faulkner Don't knock on Death's door.
faulkner at eco.utexas.edu Ring the bell and run away.
http://www.eco.utexas.edu/~faulkner He hates that.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list