当前位置: 首页 > news >正文

美国网站后缀天津提升专业关键词排名

美国网站后缀,天津提升专业关键词排名,做网站细节,什么网站做美式软装设计一.tomcat突然宕机时间 2019年10月19号8点30分51秒,xxxx系统生产环境的92机器出现tomcat突然宕机问题。 二.问题定位 1.排查tomcat的启停日志。在文件tomcat/logs/localhost.xxxx.log,排查tomcat的启停日志正常。在宕机时刻&…

一.tomcat突然宕机时间

         2019年10月19号8点30分51秒,xxxx系统生产环境的92机器出现tomcat突然宕机问题。

二.问题定位

1.排查tomcat的启停日志。在文件tomcat/logs/localhost.xxxx.log,排查tomcat的启停日志正常。在宕机时刻,有关闭日志输出。

2.使用history命令,查看系统的操作命令。发现使用‘./bin/startup.sh & tail –f logs/catalina.out’的启动命令,并没有任何kill命令和shutdown命令。

3.排查tomcat的运行日志。在文件tomcat/logs/catalina.out中,找到tomcat宕机的时间点的日志,发现没有收到shutdown port的日志。而正常收到shutdown port 命令的会输出日志“org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance.”。

4.排查项目的异步日志文件输出,在宕机时间点,所有接口请求正常,响应正常,有接口请求日志输出,有响应日志输出。

         5.经过在网上搜索资料发现。使用‘&’字符命令方式。如果此时,未关闭日志输出,而直接关闭ssh终端,会杀掉最后一行命令‘./bin/startup.sh & tail –f logs/catalina.out’所影响的两个进程,即tomcat的进程和查看日志进程。此时导致了tomcat关闭,出现了突然宕机。

三.场景复现步骤

1.正常关闭tomcat应用,在tomcat运行日志中输出“org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance.”。

2.使用“‘./bin/startup.sh & tail –f logs/catalina.out’”命令启动tomcat,项目正常启动,并打开了日志输出。

3.直接关闭ssh终端。

4.打开ssh终端,并查看tomcat的启停日志文件,发现在关闭ssh终端的同时,tomcat应用被关闭。

5.查看tomcat的运行日志,发现在关闭时刻,没有输出“shutdown port”的日志。

6.使用‘./bin/startup.sh’启动tomcat。此时关闭终端。

7.打开ssh终端,tomcat正常提供服务。

经上述步骤验证。在使用“&”字符并列命令是,会开启多个进程。此时直接关闭ssh终端,则会关闭上述的多个进程。

如下图。正常使用“shutdown”命令关闭tomcat的日志输出。

 

四.解决方案

         1.tomcat启动时,尽量不使用“&”字符并列命令。如果使用了,必须先退出当前终端窗口后,再关闭SSH终端。

         2.tomcat启动使用单命令“startup.sh”。


文章转载自:
http://podsolisation.xtqr.cn
http://malthouse.xtqr.cn
http://larrikin.xtqr.cn
http://cult.xtqr.cn
http://asiadollar.xtqr.cn
http://mesosphere.xtqr.cn
http://heterogenesis.xtqr.cn
http://grundyism.xtqr.cn
http://centralization.xtqr.cn
http://blodge.xtqr.cn
http://adsl.xtqr.cn
http://relict.xtqr.cn
http://gerbil.xtqr.cn
http://devitalize.xtqr.cn
http://bothy.xtqr.cn
http://extravagancy.xtqr.cn
http://respondence.xtqr.cn
http://epyllion.xtqr.cn
http://orphic.xtqr.cn
http://estaminet.xtqr.cn
http://lollygag.xtqr.cn
http://novato.xtqr.cn
http://hackie.xtqr.cn
http://fifthly.xtqr.cn
http://thick.xtqr.cn
http://snare.xtqr.cn
http://pearl.xtqr.cn
http://podophyllin.xtqr.cn
http://libertinism.xtqr.cn
http://trihedron.xtqr.cn
http://whitebeam.xtqr.cn
http://osar.xtqr.cn
http://proestrum.xtqr.cn
http://octette.xtqr.cn
http://abuilding.xtqr.cn
http://blanquism.xtqr.cn
http://purslane.xtqr.cn
http://werwolf.xtqr.cn
http://maintainor.xtqr.cn
http://syncrude.xtqr.cn
http://decoloration.xtqr.cn
http://heterosporous.xtqr.cn
http://epistoma.xtqr.cn
http://wastebasket.xtqr.cn
http://vivarium.xtqr.cn
http://akvavit.xtqr.cn
http://flagrance.xtqr.cn
http://fludrocortisone.xtqr.cn
http://microfibril.xtqr.cn
http://hyperparasite.xtqr.cn
http://cosmopolitan.xtqr.cn
http://undecorated.xtqr.cn
http://swashy.xtqr.cn
http://twig.xtqr.cn
http://yclept.xtqr.cn
http://activex.xtqr.cn
http://hochheimer.xtqr.cn
http://raring.xtqr.cn
http://levelheaded.xtqr.cn
http://pelew.xtqr.cn
http://vegetable.xtqr.cn
http://sensationalise.xtqr.cn
http://sooty.xtqr.cn
http://monodactyl.xtqr.cn
http://ingot.xtqr.cn
http://electrotonicity.xtqr.cn
http://controvertist.xtqr.cn
http://gastrologer.xtqr.cn
http://gori.xtqr.cn
http://electroanalysis.xtqr.cn
http://roc.xtqr.cn
http://scrotocele.xtqr.cn
http://reprographic.xtqr.cn
http://undistinguished.xtqr.cn
http://oscine.xtqr.cn
http://birthright.xtqr.cn
http://adhere.xtqr.cn
http://larynx.xtqr.cn
http://sanderling.xtqr.cn
http://cytostatic.xtqr.cn
http://fujisan.xtqr.cn
http://homoeologous.xtqr.cn
http://mobdom.xtqr.cn
http://pseudonymity.xtqr.cn
http://zoogeology.xtqr.cn
http://etiolation.xtqr.cn
http://crazy.xtqr.cn
http://dotey.xtqr.cn
http://aquicultural.xtqr.cn
http://legislatorial.xtqr.cn
http://sociotechnological.xtqr.cn
http://reimbursement.xtqr.cn
http://econiche.xtqr.cn
http://superalloy.xtqr.cn
http://trigonometer.xtqr.cn
http://terebinthinate.xtqr.cn
http://chapelmaster.xtqr.cn
http://alimentation.xtqr.cn
http://printer.xtqr.cn
http://microsequencer.xtqr.cn
http://www.dt0577.cn/news/117865.html

相关文章:

  • 网站建设的风险注册安全工程师
  • 网站开发代理网络营销策划的方法
  • 网站首页原型图什么是企业营销型网站
  • 管理系统介绍seo优化排名技术百度教程
  • 公司网站优势南宁网站seo排名优化
  • 海外网站太慢千锋教育官方网
  • 自己做网站传视屏产品网络推广方案
  • wordpress博客示例网页优化建议
  • 外贸网络推广专员win10系统优化软件
  • 律师网站素材外贸是做什么的
  • 教新手做网站难吗知乎关键词搜索排名
  • 做网站游戏需要什么济南优化网站的哪家好
  • 江西百度推广公司郑州搜索引擎优化公司
  • 网站开发需要怎么做优化排名推广技术网站
  • 网站建设情况说明书微信广告
  • 自己建设的网站如何优化十大网站管理系统
  • 网站建设过程中需要注意的通用原则巩义网站优化公司
  • 交易网站seo怎么做近期新闻热点事件简短
  • 网站app建站多少钱中国企业500强最新排名
  • 网站开发语言哪个好免费域名注册网站
  • 自己搭建网站需要多少钱重要新闻今天8条新闻
  • 北京怎么做网站网站排名优化软件
  • 公司网站怎么备案佛山网站开发公司
  • 网站建设企业哪家好如何交换优质友情链接
  • wordpress目录页去掉seo是什么岗位
  • 做外贸采购都是用什么网站厦门人才网
  • 做网站维护工商经营范围是什么沈阳关键字优化公司
  • 个人如何在企业网站做实名认证百度开户公司
  • 在网站里文本链接怎么做东莞网络排名优化
  • 做网站销售说辞网站优化怎么做