stats page, stat post obsessing
can't get to stats.allstarlink.org page. also my node is unable to get there and its cause multiple, multiple instances of wget to appear. I don't think the statpost code is handling failures to get to the stats page very well. its kind of obsessing over retrys and not killing of the children. I killed off all of them just before I loaded the browser and went to hotmail to send this. I just checked and this is what I got. ps -ax output: 18197 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390510&s 18202 ? S 0:00 sleep 600 18224 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390522&s 18234 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390543&s 18235 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390556&s 18237 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390577&s 18238 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390589&s 18240 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390610&s 18242 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390622&s 18243 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390643&s 18246 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390655&s 18248 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390676&s 18250 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390689&s 18252 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390710&s 18254 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390722&s 18257 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390743&s 18258 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390755&s they don't seem to be chewing up too much cpu, I wonder if there is a switch to tell wget to die off and not replicate. Don W9DRR _________________________________________________________________ Hotmail® has ever-growing storage! Don’t worry about storage limits. http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutoria...
Don Russell wrote:
can't get to stats.allstarlink.org page.
also my node is unable to get there and its cause multiple, multiple instances of wget to appear. I don't think the statpost code is handling failures to get to the stats page very well. its kind of obsessing over retrys and not killing of the children. I killed off all of them just before I loaded the browser and went to hotmail to send this. I just checked and this is what I got.
ps -ax output:
18197 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390510&s 18202 ? S 0:00 sleep 600 18224 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390522&s 18234 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390543&s 18235 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390556&s 18237 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390577&s 18238 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390589&s 18240 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390610&s 18242 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390622&s 18243 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390643&s 18246 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390655&s 18248 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390676&s 18250 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390689&s 18252 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390710&s 18254 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390722&s 18257 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390743&s 18258 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390755&s
they don't seem to be chewing up too much cpu, I wonder if there is a switch to tell wget to die off and not replicate.
Don W9DRR
_________________________________________________________________ Hotmail® has ever-growing storage! Don’t worry about storage limits. http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutoria...
------------------------------------------------------------------------
_______________________________________________ App_rpt-users mailing list App_rpt-users@qrvc.com http://qrvc.com/mailman/listinfo/app_rpt-users Don,
stats.allstarlink.org is definitely down. We'll look in to it. I think you might have just uncovered a weakness in app_rpt. with statpost. It should not be spawning any more than one process at a time. If there is a process running, it should just toss out the statpost update and wait for a specific amount of time for it to finish, if it never finishes, it should be killed and a new wget process started. Would you be kind enough to log the issue in Mantis, and paste in the ps -ax output and suggested fix above? Steve WA6ZFT
Don Russell wrote:
can't get to stats.allstarlink.org page.
also my node is unable to get there and its cause multiple, multiple instances of wget to appear. I don't think the statpost code is handling failures to get to the stats page very well. its kind of obsessing over retrys and not killing of the children. I killed off all of them just before I loaded the browser and went to hotmail to send this. I just checked and this is what I got.
ps -ax output:
18197 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390510&s 18202 ? S 0:00 sleep 600 18224 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390522&s 18234 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390543&s 18235 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390556&s 18237 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390577&s 18238 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390589&s 18240 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390610&s 18242 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390622&s 18243 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390643&s 18246 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390655&s 18248 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390676&s 18250 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390689&s 18252 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390710&s 18254 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390722&s 18257 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390743&s 18258 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390755&s
they don't seem to be chewing up too much cpu, I wonder if there is a switch to tell wget to die off and not replicate.
Don W9DRR
_________________________________________________________________ Hotmail® has ever-growing storage! Don’t worry about storage limits. http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutoria...
------------------------------------------------------------------------
_______________________________________________ App_rpt-users mailing list App_rpt-users@qrvc.com http://qrvc.com/mailman/listinfo/app_rpt-users
There actually is a timeout switch for wget! Try adding --timeout=15 to the following line in rpt.conf like this: statpost_program=/bin/wget,-q,--timeout=15,--output-document=/dev/null Steve WA6ZFT
Stephen Rodgers wrote:
Don Russell wrote:
can't get to stats.allstarlink.org page.
also my node is unable to get there and its cause multiple, multiple instances of wget to appear. I don't think the statpost code is handling failures to get to the stats page very well. its kind of obsessing over retrys and not killing of the children. I killed off all of them just before I loaded the browser and went to hotmail to send this. I just checked and this is what I got.
ps -ax output:
18197 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390510&s 18202 ? S 0:00 sleep 600 18224 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390522&s 18234 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390543&s 18235 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390556&s 18237 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390577&s 18238 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390589&s 18240 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390610&s 18242 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390622&s 18243 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390643&s 18246 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390655&s 18248 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390676&s 18250 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390689&s 18252 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390710&s 18254 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390722&s 18257 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390743&s 18258 ? S 0:00 /usr/bin/wget -q --output-document=/dev/null http://stats.allstarlink.org/uhandler.php?node=2090&time=1243390755&s
they don't seem to be chewing up too much cpu, I wonder if there is a switch to tell wget to die off and not replicate.
Don W9DRR
_________________________________________________________________ Hotmail® has ever-growing storage! Don’t worry about storage limits. http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutoria...
------------------------------------------------------------------------
_______________________________________________ App_rpt-users mailing list App_rpt-users@qrvc.com http://qrvc.com/mailman/listinfo/app_rpt-users
There actually is a timeout switch for wget!
Try adding --timeout=15 to the following line in rpt.conf like this:
statpost_program=/bin/wget,-q,--timeout=15,--output-document=/dev/null
Steve WA6ZFT
_______________________________________________ App_rpt-users mailing list App_rpt-users@qrvc.com http://qrvc.com/mailman/listinfo/app_rpt-users
Update: You also have to specify *one try* only else it keeps trying: statpost_program=/bin/wget,-q,--timeout=15,--tries=1,--output-document=/dev/null Steve WA6ZFT
participants (2)
-
Don Russell -
Stephen Rodgers