事实:阿里员工排查问题的工具清单,总有一款适合你!

优采云 发布时间: 2022-10-10 01:11

  事实:阿里员工排查问题的工具清单,总有一款适合你!

  作者:红魔七号<br />链接:https://yq.aliyun.com/articles/69520?utm_content=m_10360

  这是一篇来自阿里巴巴内部技术论坛的文章文章。原文在阿里巴巴内部受到好评。作者已将此文章开放给云栖社区供外部访问。文章内容已被部分删除,主要是介绍只能在阿里巴巴内部使用的工具,以及一些只能通过阿里巴巴内网访问的链接。

  前言

  我在日常工作中经常会遇到很多棘手的问题。在解决问题的同时,也有一些工具发挥着相当大的作用。我把它们写在这里。首先,它们被用作笔记,以便我以后忘记它们时可以快速阅读它们。二是分享。希望看到这篇文章的同学,能拿出自己觉得对日常生活很有帮助的工具,大家一起进步。

  废话不多说,开始吧。

  Linux 命令类

  尾巴

  最常用的tail -f

  tail -300f shopbase.log #倒数300行并进入实时*敏*感*词*文件写入模式<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />

  grep

  grep forest f.txt     #文件查找<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />grep forest f.txt cpf.txt #多文件查找<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />grep 'log' /home/admin -r -n #目录下查找所有符合关键字的文件<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />cat f.txt | grep -i shopbase    <br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />grep 'shopbase' /home/admin -r -n --include *.{vm,java} #指定文件后缀<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />grep 'shopbase' /home/admin -r -n --exclude *.{vm,java} #反匹配<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />seq 10 | grep 5 -A 3    #上匹配<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />seq 10 | grep 5 -B 3    #下匹配<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />seq 10 | grep 5 -C 3    #上下匹配,平时用这个就妥了<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />cat f.txt | grep -c 'SHOPBASE'<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />

  awk

  1.基本命令

  awk '{print $4,$6}' f.txt<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />awk '{print NR,$0}' f.txt cpf.txt    <br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />awk '{print FNR,$0}' f.txt cpf.txt<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />awk '{print FNR,FILENAME,$0}' f.txt cpf.txt<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />awk '{print FILENAME,"NR="NR,"FNR="FNR,"$"NF"="$NF}' f.txt cpf.txt<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />echo 1:2:3:4 | awk -F: '{print $1,$2,$3,$4}'<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />

  2.匹配

  awk '/ldb/ {print}' f.txt   #匹配ldb<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />awk '!/ldb/ {print}' f.txt  #不匹配ldb<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />awk '/ldb/ && /LISTEN/ {print}' f.txt   #匹配ldb和LISTEN<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />awk '$5 ~ /ldb/ {print}' f.txt #第五列匹配ldb<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />

  3. 内置变量

  NR:NR表示awk执行后根据记录分隔符读取数据的次数。默认记录分隔符是换行符,所以默认是读取的数据行数。NR 可以理解为 Number of Record 的缩写。

  FNR:awk处理多个输入文件时,处理完第一个文件后,NR不是从1开始,而是继续累加,所以出现了FNR。每当处理一个新文件时,FNR 从 1 开始计数,FNR 可以理解为 File Number of Record。

  NF:NF表示当前记录被划分的字段数,NF可以理解为字段数。

  寻找

  sudo -u admin find /home/admin /tmp /usr -name *.log(多个目录去找)<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />find . -iname *.txt(大小写都匹配)<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />find . -type d(当前目录下的所有子目录)<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />find /usr -type l(当前目录下所有的符号链接)<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />find /usr -type l -name "z*" -ls(符号链接的详细信息 eg:inode,目录)<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />find /home/admin -size +250000k(超过250000k的文件,当然+改成-就是小于了)<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />find /home/admin f -perm 777 -exec ls -l {} ; (按照权限查询文件)<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />find /home/admin -atime -1  1天内访问过的文件<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />find /home/admin -ctime -1  1天内状态改变过的文件    <br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />find /home/admin -mtime -1  1天内修改过的文件<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />find /home/admin -amin -1  1分钟内访问过的文件<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />find /home/admin -cmin -1  1分钟内状态改变过的文件    <br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />find /home/admin -mmin -1  1分钟内修改过的文件<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />

  pgm

  批量查询满足条件的vm-shopbase的日志

  pgm -A -f vm-shopbase 'cat /home/admin/shopbase/logs/shopbase.log.2017-01-17|grep 2069861630'<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />

  沙皇

  tsar 是我们公司自己的采集工具。非常好用,并且将历史采集的数据持久化在磁盘上,所以我们快速查询历史系统数据。当然,也可以查询实时应用。它安装在大多数机器上。

  tsar  ###可以查看最近一天的各项指标<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />

  tsar --live ###可以查看实时指标,默认五秒一刷<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />

  tsar -d 20161218 ###指定查看某天的数据,貌似最多只能看四个月的数据<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />

  tsar --mem<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />tsar --load<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />tsar --cpu<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />###当然这个也可以和-d参数配合来查询某天的单个指标的情况 <br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />

  最佳

  上面除了看一些基础资料,剩下的就是配合查询vm的各种问题

  ps -ef | grep java<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />top -H -p pid<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />

  得到线程的十进制转十六进制后,jstack去查看线程在做什么

  其他

  netstat -nat|awk  '{print $6}'|sort|uniq -c|sort -rn <br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />#查看当前连接,注意close_wait偏高的情况,比如如下<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />

  故障排除工具

  跟踪

  首先要说的是btrace。它确实是生产环境和预发布故障排除的一大杀手。没有介绍什么的。直接上代码

  1、查看当前是谁调用了ArrayList的add方法,只打印当前ArrayList大小大于500的线程的调用栈

  @OnMethod(clazz = "java.util.ArrayList", method="add", location = @Location(value = Kind.CALL, clazz = "/.*/", method = "/.*/"))<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />public static void m(@ProbeClassName String probeClass, @ProbeMethodName String probeMethod, @TargetInstance Object instance, @TargetMethodOrField String method) {<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />   if(getInt(field("java.util.ArrayList", "size"), instance) > 479){<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />       println("check who ArrayList.add method:" + probeClass + "#" + probeMethod  + ", method:" + method + ", size:" + getInt(field("java.util.ArrayList", "size"), instance));<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />       jstack();<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />       println();<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />       println("===========================");<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />       println();<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />   }<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />}<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />

  2.*敏*感*词*当前服务方法调用时返回的值和请求的参数

  @OnMethod(clazz = "com.taobao.sellerhome.transfer.biz.impl.C2CApplyerServiceImpl", method="nav", location = @Location(value = Kind.RETURN))<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />public static void mt(long userId, int current, int relation, String check, String redirectUrl, @Return AnyType result) {<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />   println("parameter# userId:" + userId + ", current:" + current + ", relation:" + relation + ", check:" + check + ", redirectUrl:" + redirectUrl + ", result:" + result);<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />}

  

  欲了解更多信息,请访问:

  注意:

  经过观察,1.3.9的release输出不稳定,需要多触发几次才能看到正确的结果

  当正则表达式匹配跟踪类时,必须控制范围,否则应用程序很可能会因为 CPU 满运行而死机。

  由于字节码注入的原理,如果想让应用恢复正常,需要重启应用。

  格雷斯

  说说几个很棒的功能(有些功能和btrace有重叠):

  sc -df xxx:输出当前类的详细信息,包括源码位置和类加载器结构

  跟踪类方法:我真的很喜欢这个功能!很久以前就可以在 JProfiler 中看到这个特性。打印出当前方法调用的耗时,分解到每个方法。

  javaOS大小

  只是一个功能

  classes:通过修改字节码,改变class的内容,立即生效。所以你可以快速的在某处做一个日志来查看输出,但缺点是对代码的侵入性太强。但是,如果您知道自己在做什么,那确实是一件好事。

  其他功能 Grays 和 btrace 都可以轻松完成,更不用说。

  JProfiler

  之前判断很多问题都得通过JProfiler,但是现在Grays和btrace基本可以做到。另外,问题基本上是生产环境(网络隔离),所以基本不用,但还是要标记一下。

  请移步官网

  大杀手

  日食MAT

  可以作为eclipse的插件使用,也可以作为单独的程序打开。

  详情请移步

  java 三轴,哦不,是七

  JP

  我只使用一个命令:

  sudo -u admin /opt/taobao/java/bin/jps -mlvV<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />

  堆栈

  常见用法:

  sudo -u admin /opt/taobao/install/ajdk-8_1_1_fp1-b52/bin/jstack 2815<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />

  本机+java堆栈:

  sudo -u admin /opt/taobao/install/ajdk-8_1_1_fp1-b52/bin/jstack -m 2815<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />

  金信息

  可以看到系统启动参数,如下

  sudo -u admin /opt/taobao/install/ajdk-8_1_1_fp1-b52/bin/jinfo -flags 2815<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />

  地图

  两种用途

  1.检查堆

  sudo -u admin /opt/taobao/install/ajdk-8_1_1_fp1-b52/bin/jmap -heap 2815<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />

  2.转储

  sudo -u admin /opt/taobao/install/ajdk-8_1_1_fp1-b52/bin/jmap -dump:live,format=b,file=/tmp/heap2.bin 2815<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />

  或者

  sudo -u admin /opt/taobao/install/ajdk-8_1_1_fp1-b52/bin/jmap -dump:format=b,file=/tmp/heap3.bin 2815<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />

  3.看看谁被堆占用了?使用 zprofiler 和 btrace,排查问题更加强大

  sudo -u admin /opt/taobao/install/ajdk-8_1_1_fp1-b52/bin/jmap -histo 2815 | head -10<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />

  jstat

  jstat参数很多,但是一个就够了

  sudo -u admin /opt/taobao/install/ajdk-8_1_1_fp1-b52/bin/jstat -gcutil 2815 1000 <br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />

  数据库

  今天也经常使用jdb。

  可以使用jdb进行预调试,假设你预发布的java_home是/opt/taobao/java/,远程调试端口是8000。那么

  

  sudo -u admin /opt/taobao/java/bin/jdb -attach 8000。

  以上出现代表jdb启动成功。您可以为以后的调试设置断点。

  具体参数可以看Oracle官方说明

  CH*敏*感*词*B

  CH*敏*感*词*B感觉在很多情况下可以看到更多有趣的东西,所以就不详细描述了。查询信息听说jstack、jmap等工具都是基于它的。

  sudo -u admin /opt/taobao/java/bin/java -classpath /opt/taobao/java/lib/sa-jdi.jar sun.jvm.hotspot.CLHSDB<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />

  更多细节可以在 R 的这篇文章中看到

  Intellij IDEA 插件

  关键推动者

  你不能记住一次快捷键,但你总能记住几次,对吧?

  行家助手

  分析maven依赖的好帮手。

  虚拟机选项

  1. 你的类是从哪个文件加载的?

  -XX:+TraceClassLoading<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />结果形如[Loaded java.lang.invoke.MethodHandleImpl$Lazy from D:programmejdkjdk8U74jrelib<br />t.jar]<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />

  2.应用挂起并输出dump文件

  -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/home/admin/logs/java.hprof

  jar包冲突

  把它写成单独的标题会不会太过分了?每个人都或多或少地处理过这个烦人的案例。如果我不相信下面的这么多计划,为什么我不能处理你?

  mvn dependency:tree > ~/dependency.txt

  输入所有依赖项

  mvn dependency:tree -Dverbose -Dincludes=groupId:artifactId

  只打印指定 groupId 和 artifactId 的依赖关系

  -XX:+TraceClassLoading

  添加了 vm 启动脚本。加载类的详细信息在tomcat启动脚本中可见

  -verbose

  添加了 vm 启动脚本。加载类的详细信息在tomcat启动脚本中可见

  greys:sc

  grays的sc命令也可以清楚的看到当前类是从哪里加载的

  tomcat-classloader-locate

  下面的 url 可以用来知道当前类是从哪里加载的

  curl:8006/classloader/locate?class=org.apache.xerces.xs.XSObjec

  其他

  dmesg

  如果你发现你的java进程已经无声无息地消失了,几乎没有留下任何线索,那么dmesg很可能已经有了你想要的。

  sudo dmesg|grep -i kill|less<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />

  寻找关键字oom_killer。找到的结果类似于以下内容:

  [6710782.021013] java invoked oom-killer: gfp_mask=0xd0, order=0, oom_adj=0, oom_scoe_adj=0<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />[6710782.070639] [] ? oom_kill_process+0x68/0x140 <br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />[6710782.257588] Task in /LXC011175068174 killed as a result of limit of /LXC011175068174 <br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />[6710784.698347] Memory cgroup out of memory: Kill process 215701 (java) score 854 or sacrifice child <br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />[6710784.707978] Killed process 215701, UID 679, (java) total-vm:11017300kB, anon-rss:7152432kB, file-rss:1232kB<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />

  上图显示对应的java进程被系统的OOM Killer杀死,得分为854。

  解释一下OOM杀手(Out-Of-Memory killer),它监控机器的内存资源消耗。当机器内存耗尽时,该机制会扫描所有进程(根据一定的规则、内存使用情况、时间等计算),挑选出得分最高的进程,然后将其杀死以保护机器。

  dmesg日志时间转换公式:

  日志实际时间 = 格林威治 1970-01-01 +(当前时间秒数 - 系统启动秒数 + dmesg 打印的日志时间)秒:

  date -d "1970-01-01 UTC `echo "$(date +%s)-$(cat /proc/uptime|cut -f 1 -d' ')+12288812.926194"|bc ` seconds"<br style="font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;" />

  剩下的就是看为什么内存这么大,会触发OOM-Killer。

  新技能获得

  限速器

  想要精细控制QPS?比如这样的场景,你调用一个接口,对方明明需要你把你的QPS限制在400,你怎么控制?这就是 RateLimiter 发挥作用的地方。细节可以移动

  总结:免费检测文章相似度的工具-文本相似度计算工具

  检测文章相似度的免费软件,检测文章相似度的软件是什么,总之就是一个原创检测工具,相信很多朋友都在用这个功能来检测自己什么原创 是 文章 的度数吗?做好文章真的只需要检测文章的相似度吗?答:肯定不行,你还需要突出文章的中心和文章的核心,不管你是自媒体人还是网站SEO人。都需要关注文章的核心词,因为无论是自媒体平台还是搜索引擎都使用中文分词算法提取核心词进行推荐和排名。今天给大家分享一个免费的智能检测文章 相似度软件还包括文章自动提示、火文爆文自动分词计算提取、自动全网文章采集、文章编辑、智能伪原创 等都是免费的。请参考图1、图2、图3、图4、图5、

  作为优化专家,现场优化和非现场优化是非常重要的过程。随着百度算法的不断更新,外链的作用越来越小。这时,站内优化开始成为站长们关注的重点。安徽人才银行的站长也在做现场优化。除了每天定时定量发布文章,他发现还有一个内容创作也很重要,却被很多SEOer忽略了!

  如果你从事了一段时间的优化工作,那么每天的工作内容一定是固定的,更新站点文章,发布外部链接,添加友情链接等等。当然,有些站长会花很多时间每天找准确的关键词,然后写一两篇关于关键词原创文章的文章,这些工作其实都是优化专员要做的,但是我不知道为什么,很多委员每天都努力加文章,发外链,找友情链接,可是网站的SEO数据还是没动!这时候,指导开始担心了,“你不是每天都在做事吗?”

  作为优化专家,你一定是受委屈的。你每天忙到没有椅子活不下去,但你的工作还是没有得到引导和肯定,所以他们基本上不知道你每天都这么忙,还以为你很闲。如果您在公司中一直处于这种情况,那么是时候改变 SEO 策略了。毕竟,只要把数据变成成果,导游就能发现你的才华,认可你的工作。

  

  除了每天努力采集伪原创,写原创,加关键词到站内,同样每天都在停止优化工作的小编推荐一下今天给大家。其中一种方法其实很常见,但优化专家可能从来没有想过使用它,那就是——创建各种相关的栏目页面!比如安徽人才银行,作为人才招聘平台,除了求职者、招聘公司、招聘岗位的必要简历外,我们还可以为其填写更多的栏目页,从而增加网站在收录的同时,还可以通过收录来完善网站的关键词库!

  关于seo,一般来说网站的排名不会明显下降,除非搜索引擎的流量很小,而且这种情况不会偶尔出现。网站一旦得到相应的权重或排名,就不要更改版块和文章,甚至是文章的标题,否则会导致排名明显下降。

  1. 网站标题变更

  网站标题是网站精髓的升华,不可随意更改。如果因为网站的需要和后期用户的需要而改变,会导致网站的权重排名有明显的下降,所以应该尽可能多的改变可能的。关键词优化不容易,取得一定的成绩太难了,应该珍惜。

  

  为什么 seo网站 排名突然下降?

  2. 网站 修改

  很多网站为了寻求更好的发展,通常会时不时的更换版本,但这会导致权重下降。当网站的用户体验很好时,最好不要修改版本,因为网站的数据不会出错。

  3.内容质量突然下降

  网站长期坚持高质量的内容输出。如果突然变化,质量下降或者文章内容与网站无关,时机会降低用户的转化率。当网站达到一定成绩后,如果没有根据发展需要定期更新,甚至敷衍了事,都会导致网站的排名下降。返回搜狐,查看更多

0 个评论

要回复文章请先登录注册


官方客服QQ群

微信人工客服

QQ人工客服


线