htdig: sleeper


Brian Roberson (brianr@bst.tj)
Sun, 29 Mar 1998 19:59:12 -0600 (CST)


I compiled/installed htdig 3 about 3 months ago, did a dig, everything
worked great, decided that my content changed enough to run another dig
and rundig sleeps. and as for calling the individual progs it will sleep
with htdig. I did notice that if i indexed a relatively small site
/directory it will go fine.

output of 'strace ./htdig -v -s' ( tail of it )

sin_addr=inet_addr("0.0.0.0")}, 16) = 0
send(5, "Ri\1\0\0\1\0\0\0\0\0\0\3www\3bst"..., 28, 0) = 28
select(6, [5], NULL, NULL, {5, 0}) = 1 (in [5], left {5, 0})
recvfrom(5, "Ri\205\200\0\1\0\1\0\2\0\2\3www\3"..., 1024, 0,
{sin_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")},
[16]) = 130
close(5) = 0
connect(4, {sin_family=AF_INET, sin_port=htons(80),
sin_addr=inet_addr("24.3.225.109")}, 16
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Then it will just sit there, doing a ps auxwww will show the process
sleeping.

any clues??

and then a shot of ( tail of it )
'strace ./rundig -v'

read(3, "#! /bin/sh\n\n#\n# rundig\n#\n# "..., 602) = 602
sigprocmask(SIG_BLOCK, [INT CHLD], []) = 0
lseek(3, -429, SEEK_CUR) = 173
fork(
New server: www.bst.tj, 80
) = 397
sigprocmask(SIG_SETMASK, [], NULL) = 0
sigprocmask(SIG_BLOCK, [CHLD], []) = 0
sigprocmask(SIG_SETMASK, [], NULL) = 0
sigprocmask(SIG_BLOCK, [CHLD], []) = 0
sigaction(SIGINT, {0x805b580, [], 0}, {0x804b600, [HUP INT ILL TRAP ABRT
BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0}) = 0
wait4(-1,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Brian Roberson
BrainStorm Technologies
http://www.bst.tj/
RTFM @ http://www.rtfm.tj/
LiNUX Try it, you'll like it
http://www.linux.org

----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-request@sdsu.edu containing the single word "unsubscribe" in
the body of the message.



This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:25:50 PST