ROS 不定时重启的请进....
本人的ROS不定时重启..换了N台主机,N个版本,还是一样的老问题,最近.把限速(queue list)关了,已稳定用了不3天..以前是平均一天重启3次.人多时重启5次左右 希望有这样问题的朋友帮忙测试... 如内存较少可考虑添加内存,然后可考虑内存或cpu质量................... 系统资源耗尽狗 让ROS自动重启的 要是关了狗 后果就是死机不是重启 可以试试 3楼的方法早就试过了..没用.哈哈.在测试限速中. 你这个好像是人多流量大才会重启...
建议把硬件换好一点的.
我3天前也有一台不停的重启,没人用都会重启.
最后换了三件头cpu,主板和内存,到现在没有重启过. 这个问题我都问了好多人了。。
唉 都说是硬件问题。。
开始曾经好多天不重启啊 关掉所有限速策略,测试几天 呵呵,我以前也这样,后来把分时间段限速关了就好了 已经4天了.手动加上了50个限速测试中... 稳定了5天,符上PCQ限速.希望还在为这个问题烦的.可以测试:
10M的动态限速...
/ queue type
add name="Down_5M" kind=pcq pcq-rate=5000000 pcq-limit=100 pcq-classifier=dst-address pcq-total-limit=10000
add name="Down_4M" kind=pcq pcq-rate=4000000 pcq-limit=80 pcq-classifier=dst-address pcq-total-limit=9000
add name="Down_3M" kind=pcq pcq-rate=3000000 pcq-limit=60 pcq-classifier=dst-address pcq-total-limit=7000
add name="Down_2M" kind=pcq pcq-rate=2000000 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=5000
add name="Down_1M" kind=pcq pcq-rate=1000000 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=5000
add name="Down_768k" kind=pcq pcq-rate=768000 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=4000
add name="Down_512k" kind=pcq pcq-rate=512000 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=3000
add name="Down_384k" kind=pcq pcq-rate=384000 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=2000
add name="Down_256k" kind=pcq pcq-rate=256000 pcq-limit=20 pcq-classifier=dst-address pcq-total-limit=2000
add name="Down_128k" kind=pcq pcq-rate=128000 pcq-limit=10 pcq-classifier=dst-address pcq-total-limit=1000
add name="Down_64k" kind=pcq pcq-rate=64000 pcq-limit=10 pcq-classifier=dst-address pcq-total-limit=1000
add name="Up_5M" kind=pcq pcq-rate=5000000 pcq-limit=100 pcq-classifier=src-address pcq-total-limit=10000
add name="Up_4M" kind=pcq pcq-rate=4000000 pcq-limit=80 pcq-classifier=src-address pcq-total-limit=9000
add name="Up_3M" kind=pcq pcq-rate=3000000 pcq-limit=60 pcq-classifier=src-address pcq-total-limit=7000
add name="Up_2M" kind=pcq pcq-rate=2000000 pcq-limit=50 pcq-classifier=src-address pcq-total-limit=5000
add name="Up_1M" kind=pcq pcq-rate=1000000 pcq-limit=50 pcq-classifier=src-address pcq-total-limit=5000
add name="Up_768k" kind=pcq pcq-rate=768000 pcq-limit=50 pcq-classifier=src-address pcq-total-limit=4000
add name="Up_512k" kind=pcq pcq-rate=512000 pcq-limit=50 pcq-classifier=src-address pcq-total-limit=3000
add name="Up_384k" kind=pcq pcq-rate=384000 pcq-limit=50 pcq-classifier=src-address pcq-total-limit=2000
add name="Up_256k" kind=pcq pcq-rate=256000 pcq-limit=20 pcq-classifier=src-address pcq-total-limit=2000
add name="Up_128k" kind=pcq pcq-rate=128000 pcq-limit=10 pcq-classifier=src-address pcq-total-limit=1000
add name="Up_64k" kind=pcq pcq-rate=64000 pcq-limit=10 pcq-classifier=src-address pcq-total-limit=1000
/ queue simple
add name="256k" target-addresses=192.168.0.0/21 dst-address=0.0.0.0/0 \
interface=lan parent=none priority=8 \
queue=Up_128k/Down_256k limit-at=0/0 max-limit=0/0 \
total-queue=default disabled=yes
add name="512k" target-addresses=192.168.0.0/22 dst-address=0.0.0.0/0 \
interface=lan parent=none priority=8 \
queue=Up_384k/Down_512k limit-at=0/0 max-limit=0/0 \
total-queue=default disabled=yes
add name="768k" target-addresses=192.168.0.0/22 dst-address=0.0.0.0/0 \
interface=lan parent=none priority=8 \
queue=Up_512k/Down_768k limit-at=0/0 max-limit=0/0 \
total-queue=default disabled=yes
add name="1M" target-addresses=192.168.0.0/22 dst-address=0.0.0.0/0 \
interface=lan parent=none priority=8 queue=Up_768k/Down_1M \
limit-at=0/0 max-limit=0/0 total-queue=default disabled=yes
add name="2M" target-addresses=192.168.0.0/22 dst-address=0.0.0.0/0 \
interface=lan parent=none priority=8 queue=Up_1M/Down_2M \
limit-at=0/0 max-limit=0/0 total-queue=default disabled=yes
add name="3M" target-addresses=192.168.0.0/22 dst-address=0.0.0.0/0 \
interface=lan parent=none priority=8 queue=Up_2M/Down_3M \
limit-at=0/0 max-limit=0/0 total-queue=default disabled=yes
add name="4M" target-addresses=192.168.0.0/22 dst-address=0.0.0.0/0 \
interface=lan parent=none priority=8 queue=Up_3M/Down_4M \
limit-at=0/0 max-limit=0/0 total-queue=default disabled=yes
add name="5M" target-addresses=192.168.0.0/22 dst-address=0.0.0.0/0 \
interface=lan parent=none priority=8 queue=Up_4M/Down_5M \
limit-at=0/0 max-limit=0/0 total-queue=default disabled=no
/ system script
add name="d256" source="/queue sim disablek" \
policy=ftp,reboot,read,write,policy,test,winbox,password
add name="e256" source="/queue sim enable 256k\n/queue sim enable 512k\n/queue sim enable 768k\n/queue sim enable 1M\n/queue sim enable 2M\n/queue sim enable 3M\n/queue sim enable 4M" \
policy=ftp,reboot,read,write,policy,test,winbox,password
add name="d512" source="/queue sim disable 512k\n/queue sim disable 256k" \
policy=ftp,reboot,read,write,policy,test,winbox,password
add name="e512" source="/queue sim enable 512k\n/queue sim enable 768k\n/queue sim enable 1M\n/queue sim enable 2M\n/queue sim enable 3M\n/queue sim enable 4M" \
policy=ftp,reboot,read,write,policy,test,winbox,password
add name="d768" source="/queue sim disable 768k\n/queue sim disable 512k\n/queue sim disable 256k" \
policy=ftp,reboot,read,write,policy,test,winbox,password
add name="e768" source="/queue sim enable 768k\n/queue sim enable 1M\n/queue sim enable 2M\n/queue sim enable 3M\n/queue sim enable 4M" \
policy=ftp,reboot,read,write,policy,test,winbox,password
add name="d1M" source="/queue sim disable 1M\n/queue sim disable 768k\n/queue sim disable 512k\n/queue sim disable 256k" \
policy=ftp,reboot,read,write,policy,test,winbox,password
add name="e1M" source="/queue sim enable 1M\n/queue sim enable 2M\n/queue sim enable 3M\n/queue sim enable 4M" \
policy=ftp,reboot,read,write,policy,test,winbox,password
add name="d2M" source="/queue sim disable 2M\n/queue sim disable 1M\n/queue sim disable 768k\n/queue sim disable 512k\n/queue sim disable 256k" \
policy=ftp,reboot,read,write,policy,test,winbox,password
add name="e2M" source="/queue sim enable 2M\n/queue sim enable 3M\n/queue sim enable 4M" \
policy=ftp,reboot,read,write,policy,test,winbox,password
add name="d3M" source="/queue sim disable 3M\n/queue sim disable 2M\n/queue sim disable 1M\n/queue sim disable 768k\n/queue sim disable 512k\n/queue sim disable 256k" \
policy=ftp,reboot,read,write,policy,test,winbox,password
add name="e3M" source="/queue sim enable 3M\n/queue sim enable 4M" \
policy=ftp,reboot,read,write,policy,test,winbox,password
add name="d4M" source="/queue sim disable 4M\n/queue sim disable 3M\n/queue sim disable 2M\n/queue sim disable 1M\n/queue sim disable 768k\n/queue sim disable 512k\n/queue sim disable 256k" \
policy=ftp,reboot,read,write,policy,test,winbox,password
add name="e4M" source="/queue sim enable 4M" \
policy=ftp,reboot,read,write,policy,test,winbox,password
/ tool traffic-monitor
add name="256kon" interface=wan traffic=received trigger=above \
threshold=8000000 on-event=e256 comment="" disabled=no
add name="256koff" interface=wan traffic=received trigger=below \
threshold=7000000 on-event=d256 comment="" disabled=no
add name="512kon" interface=wan traffic=received trigger=above \
threshold=6000000 on-event=e512 comment="" disabled=no
add name="512koff" interface=wan traffic=received trigger=below \
threshold=5000000 on-event=d512 comment="" disabled=no
add name="768kon" interface=wan traffic=received trigger=above \
threshold=4000000 on-event=e768 comment="" disabled=no
add name="768koff" interface=wan traffic=received trigger=below \
threshold=3000000 on-event=d768 comment="" disabled=no
add name="1Mon" interface=wan traffic=received trigger=above \
threshold=2000000 on-event=e1M comment="" disabled=no
add name="1Moff" interface=wan traffic=received trigger=below \
threshold=1000000 on-event=d1M comment="" disabled=no
add name="2Mon" interface=wan traffic=received trigger=above \
threshold=1000000 on-event=e2M comment="" disabled=no
add name="2Moff" interface=wan traffic=received trigger=below \
threshold=900000 on-event=d2M comment="" disabled=no
add name="3Mon" interface=wan traffic=received trigger=above \
threshold=800000 on-event=e3M comment="" disabled=no
add name="3Moff" interface=wan traffic=received trigger=below \
threshold=700000 on-event=d3M comment="" disabled=no
add name="4Mon" interface=wan traffic=received trigger=above \
threshold=600000 on-event=e4M comment="" disabled=no
add name="4Moff" interface=wan traffic=received trigger=below \
threshold=500000 on-event=d4M comment="" disabled=no
页:
[1]