[App_rpt-users] stats page, stat post obsessing
Stephen Rodgers
sales at qrvc.com
Wed May 27 03:34:31 UTC 2009
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_Tutorial_Storage1_052009
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> App_rpt-users mailing list
>> App_rpt-users at 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 at 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
More information about the App_rpt-users
mailing list