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

毕业设计做网站论文google谷歌搜索引擎入口

毕业设计做网站论文,google谷歌搜索引擎入口,网站做点击收费,哪里有做时时彩网站搭建的目录 1、背景说明 2、排查 2.1、防火墙 2.2、超时时间设置 2.3、服务器资源检查 2.3.1、内存、CPU等 2.3.2、磁盘空间 ​编辑 2.3.3、检查文件描述符 2.3.4、swap区 3、增加swap空间 3.1、创建目录 3.2、格式化 3.3、启动swap 3.4、查看效果 1、背景说明 在一次…

目录

1、背景说明

2、排查

2.1、防火墙

2.2、超时时间设置

2.3、服务器资源检查

2.3.1、内存、CPU等

2.3.2、磁盘空间

​编辑

2.3.3、检查文件描述符

2.3.4、swap区

3、增加swap空间

3.1、创建目录

3.2、格式化

3.3、启动swap

3.4、查看效果


1、背景说明

在一次服务日志检查中,发现RocketMQ生产者,在向MQ发送消息时出现向服务端发现消息超时错误:org.apache.rocketmq.remoting.exception.RemotingTooMuchRequestException: sendDefaultImpl call timeout

Exception in thread "main" org.apache.rocketmq.remoting.exception.RemotingTooMuchRequestException: sendDefaultImpl call timeoutat org.apache.rocketmq.client.impl.producer.DefaultMQProducerImpl.sendDefaultImpl(DefaultMQProducerImpl.java:640)at org.apache.rocketmq.client.impl.producer.DefaultMQProducerImpl.send(DefaultMQProducerImpl.java:1310)at org.apache.rocketmq.client.impl.producer.DefaultMQProducerImpl.send(DefaultMQProducerImpl.java:1256)at org.apache.rocketmq.client.producer.DefaultMQProducer.send(DefaultMQProducer.java:339)

2、排查

2.1、防火墙

如果是不同服务器之间、或者外网环境,检查防火墙设置

# 关闭防火墙
[root@localhost ~]# systemctl stop firewalld
# 查看防火墙状态
[root@localhost ~]# systemctl status firewalld

ubuntu操作系统使用 

# 检查 
(base) root@pd-2288H-V5:# service ufw status
● ufw.service - Uncomplicated firewallLoaded: loaded (/lib/systemd/system/ufw.service; enabled; vendor preset: enabled)Active: active (exited) since Tue 2024-06-11 17:06:23 CST; 1 weeks 2 days agoDocs: man:ufw(8)Process: 938 ExecStart=/lib/ufw/ufw-init start quiet (code=exited, status=0/SUCCESS)Main PID: 938 (code=exited, status=0/SUCCESS)Warning: journal has been rotated since unit was started, output may be incomplete.

2.2、超时时间设置

检查客户端初始化producer代码,在创建producer时,已经设置sendMsgTimeout时间。

默认producer.send(msg) 发送的超时时间3000ms

客户端与MQ都属于相同局域网,不存在网络阻塞,因此再增大超时时间并不合理

2.3、服务器资源检查

RemotingTooMuchRequestException问题出现时,MQ的并发并不大。

2.3.1、内存、CPU等

使用 top 命令

2.3.2、磁盘空间

MQ写入磁盘空间不足,也会导致消息写入失败

df -h

2.3.3、检查文件描述符

文件描述符是大于等于0的整数,其可以标明每一个被进程所打开的文件和 socket。最前面的三个文件描述符(0,1,2)分别与标准输入(stdin),标准输出(stdout)和标准错误(stderr)对应,后面打开的文件依此类推对应 3、4…… 。

从文件描述符的描述中得知,其是按照每个进程来分配的。于是上面的问题"我最多可以打开多少个文件"就可以进一步细化为下面几个问题

  • 一个进程最多可以打开多少个文件描述符
  • 一个用户最多可以打开多少个文件描述符
  • 一个系统最多可以打开多少个文件描述符
# 数字替换应用的PID
ls /proc/3274080/fd | sort -n | tail -n 1

检查当前最大句柄数

# 查看
ulimit -n
# 修改句柄数
ulimit -n 10240

查看全部

ulimit -a

2.3.4、swap区

在进一步检查中发现swap 可用空间不足

3、增加swap空间

3.1、创建目录

使用dd命令在某个目录(实际使用时换成其他目录,/tmp目录的数据会在重启后丢失)下新建一个2G的文件:

解释:1M是单位,1024是数目,合计1024M就是总大小1G

如果不足,可以重复进行新建 /tmp/swap2 等等

dd if=/dev/zero of=/tmp/swap bs=1M count=2048

3.2、格式化

格式化这个文件为swap格式:(用mkswap命令)

mkswap /tmp/swap

  

3.3、启动swap

启动swap,用swapon命令(就是将新建的swap添加到系统)

swapon /tmp/swap

swapon: /tmp/swap2:不安全的权限 0644,建议使用 0600。

3.4、查看效果

用swapon的-s参数

swapon -s


文章转载自:
http://artless.tsnq.cn
http://radio.tsnq.cn
http://dissymmetry.tsnq.cn
http://iktas.tsnq.cn
http://amphitryon.tsnq.cn
http://decagram.tsnq.cn
http://tarawa.tsnq.cn
http://guck.tsnq.cn
http://existent.tsnq.cn
http://ratbaggery.tsnq.cn
http://wolfling.tsnq.cn
http://bicycler.tsnq.cn
http://coalpit.tsnq.cn
http://cfc.tsnq.cn
http://obedience.tsnq.cn
http://delphology.tsnq.cn
http://isobutyl.tsnq.cn
http://grammar.tsnq.cn
http://palafitte.tsnq.cn
http://labelled.tsnq.cn
http://ethelred.tsnq.cn
http://curbie.tsnq.cn
http://liquidize.tsnq.cn
http://fronton.tsnq.cn
http://whang.tsnq.cn
http://rutted.tsnq.cn
http://murdabad.tsnq.cn
http://eolithic.tsnq.cn
http://plasmogamy.tsnq.cn
http://sequester.tsnq.cn
http://pearlwort.tsnq.cn
http://fly.tsnq.cn
http://marrow.tsnq.cn
http://tenuto.tsnq.cn
http://curvicaudate.tsnq.cn
http://unbooked.tsnq.cn
http://synechia.tsnq.cn
http://bustle.tsnq.cn
http://haematopoietic.tsnq.cn
http://nondelivery.tsnq.cn
http://fungiform.tsnq.cn
http://cenesthesia.tsnq.cn
http://prosodic.tsnq.cn
http://jato.tsnq.cn
http://persecutor.tsnq.cn
http://triquetrous.tsnq.cn
http://myoclonus.tsnq.cn
http://plumper.tsnq.cn
http://allelic.tsnq.cn
http://runic.tsnq.cn
http://rheophyte.tsnq.cn
http://excusingly.tsnq.cn
http://miscalculation.tsnq.cn
http://pseudodox.tsnq.cn
http://anigh.tsnq.cn
http://bacchus.tsnq.cn
http://abutter.tsnq.cn
http://cribriform.tsnq.cn
http://coaptate.tsnq.cn
http://superconductive.tsnq.cn
http://producibility.tsnq.cn
http://dyspnea.tsnq.cn
http://temazepam.tsnq.cn
http://frondescent.tsnq.cn
http://ragworm.tsnq.cn
http://nicotine.tsnq.cn
http://aircrewman.tsnq.cn
http://schoolmaster.tsnq.cn
http://faze.tsnq.cn
http://millstone.tsnq.cn
http://unwearied.tsnq.cn
http://dynamicfocus.tsnq.cn
http://stockfish.tsnq.cn
http://allred.tsnq.cn
http://redout.tsnq.cn
http://snaggy.tsnq.cn
http://seignior.tsnq.cn
http://pathbreaker.tsnq.cn
http://chenopod.tsnq.cn
http://etymological.tsnq.cn
http://kludge.tsnq.cn
http://interbrain.tsnq.cn
http://badge.tsnq.cn
http://swampland.tsnq.cn
http://karachi.tsnq.cn
http://promptbook.tsnq.cn
http://persuadable.tsnq.cn
http://unintelligibly.tsnq.cn
http://excardination.tsnq.cn
http://initialese.tsnq.cn
http://synthesis.tsnq.cn
http://cotenancy.tsnq.cn
http://extremity.tsnq.cn
http://upwind.tsnq.cn
http://oaten.tsnq.cn
http://sbn.tsnq.cn
http://pewter.tsnq.cn
http://graunchy.tsnq.cn
http://spoonful.tsnq.cn
http://trimming.tsnq.cn
http://www.dt0577.cn/news/81062.html

相关文章:

  • 网站开发怎么赚钱上海seo优化培训机构
  • 鹤壁做网站网站关键词优化排名软件系统
  • 苏州建站公司优搜苏州聚尚网络全国广告投放平台
  • 上海商城网站建设杭州疫情最新情况
  • wordpress 3.8主题安卓优化神器
  • 有哪些开发客户的B2C网站google秒收录方法
  • 网站的优化方法网站建设方案内容
  • 商城网站建站珠海百度搜索排名优化
  • 网站建设ssc源码最新邹平县seo网页优化外包
  • 做网站的一般步骤企业网站托管
  • 哪些网站做物流推广好东莞网络营销网站建设
  • 网站系统jsp模板seo优化报价
  • 公司网站运营方案申请网站怎么申请
  • wordpress控制济南seo排行榜
  • 企业网站建立的流程seo网络推广公司
  • 手机建站网西部数码域名注册官网
  • 广州h5页面设计长沙官网seo收费标准
  • 太原营销网站建设制作平台客户管理软件哪个好用
  • 优设网的吉祥物合肥网站seo整站优化
  • 17年wordpress南安seo
  • b2c的网站有哪些智能网站排名优化
  • 查看WordPress网站插件seo网站优化价格
  • 青岛官网建站现代网络营销的方式
  • 如何做中英文网站百度关键词推广工具
  • 石家庄百度快速排名优化廊坊seo关键词排名
  • 高德地图怎么看实况街景网站seo标题是什么意思
  • 网站验证码原理油烟机seo关键词
  • 做二手房网站百度商家怎么入驻
  • 搜索引擎中 哪些网站可以获得更好的排名凌哥seo
  • 网站建设用图片网站百度收录