前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家。点击跳转到教程。

1. 按官方说明用 docker 部署 rocketmq ,启动 broker 报错:

OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threads appropriately using -XX:ParallelGCThreads=N
/opt/rocketmq-4.2.0/bin/runbroker.sh: line 71:    22 Killed

2. 按提示找到 对应文件

find / -name *runbroker.sh

查找结果有3个同名文件 ,我不知道是改哪个,于是3个都改了。

/var/lib/docker/overlay2/0aa7531560625ec8a0439bc215ef4628de9c8734ee83a0c503c13127ee723ee0/diff/opt/rocketmq-4.2.0/bin/runbroker.sh
/var/lib/docker/overlay2/cf56ab981f4fb785fc7a78efa1445ff605796bfa4c7f2ae2f621c5a5171408ee/merged/opt/rocketmq-4.2.0/bin/runbroker.sh
/var/lib/docker/overlay2/e0da31f0283ae25bbf6a949d2ebef676f5949f97f6001a4d4c4d63b7bece6c29/diff/opt/rocketmq-4.2.0/bin/runbroker.sh

3. 修改默认大小空间配置,原本是设置的为 4G、4G、8G,我的服务器内存没有那么大。改小就行了,见整个红框中设置。

黄框中是我改后的设置,上面注释掉的那行是原本配置。

改为:JAVA_OPT="${JAVA_OPT} -server -Xms256m -Xmx256m -Xmn128m"

解决:If the number of processors is expected to increase from one, then you should configure the numbe相关推荐

  1. OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one......

    启动kafka的脚本程序报如下所示的错误: OpenJDK 64-Bit Server VM warning: If the number of processors is expected to i ...

  2. 问题:OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one...

    问题:OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, t ...

  3. 成功解决ValueError: too many values to unpack (expected 2)

    成功解决ValueError: too many values to unpack (expected 2) 目录 解决问题 解决思路 解决方法 解决问题 ValueError: too many v ...

  4. 成功解决ValueError: not enough values to unpack (expected 2, got 1)

    成功解决ValueError: not enough values to unpack (expected 2, got 1) 目录 解决问题 解决思路 解决方法 解决问题 解决Python中出现的V ...

  5. 使用pymysql报错:pymysql.err.InternalError: Packet sequence number wrong - got 5 expected 1

    环境:Python 3.8.5 在使用pymysql去数据库查询数据时,出现了如下错误: Exception ignored in: <function MysqlPoolClient.__de ...

  6. 解决input[type=number]无法显示非数字字符的问题

    在移动端webview实现的页面中,有数字的地方必须使用input type="number"类型的input,否则触发后的键盘为全键盘,而非数字键盘.但另外的一个问题是,inpu ...

  7. 解决 JSP 页面报错 equal symbol expected

    前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家.点击跳转到教程. 1.报错:org.apache.jasper.JasperException: /WEB-INF/j ...

  8. 解决The total number of locks exceeds the lock table size错误

    mysql在进行大批量的数据操作时,会报"The total number of locks exceeds the lock table size",特别是执行create.up ...

  9. 解决ValueError: Iterable over raw text documents expected, string object received.

    运行脚本,发现会报 ValueError: Iterable over raw text documents expected, string object received.这种错误, 分析发现是传 ...

最新文章

  1. ASP.NET Core 2.2中的Endpoint路由
  2. 强化学习教父Richard Sutton新论文探索决策智能体的通用模型:寻找跨学科共性...
  3. lua 的正则表达式之坑
  4. Linux大文件切割命令split
  5. python中扑克牌类设计_Python类的基础设计、使用
  6. 人工智能AI实战100讲(二)-自动驾驶传感器之激光雷达(二)激光雷达配置车型介绍
  7. JavaSE--类加载器
  8. vb6 枚举对象属性
  9. 脚本语言(确认补遗)
  10. MySQL数据库“局部”乱码
  11. 原生JS大揭秘—事件循环机制Event Loop
  12. 微服务架构实战:Swagger规范RESTful API
  13. ps4手柄驱动linux,GeForce 344.11正式版驱动:支持GTX 980/970,集成DSR选项
  14. localhost已拒绝连接
  15. 「文末送书」如何让数据分析不脱离业务?
  16. cordova 实现第三方登录及分享,qq,微信,微博
  17. src refspec master does not match any问题
  18. matlab时间坐标,[Matlab]以时间为横坐标作图
  19. 苹果应用分身_你喜欢用苹果手机拍照!不学会这4个功能,怪不得拍不出好照片...
  20. APK瘦身记,如何实现高达53%的压缩效果

热门文章

  1. 数据结构中“图”的相关概念理解
  2. 查找算法-(顺序查找、二分查找、插值查找、斐波那契查找)
  3. NoSql理解+传统关系型数据库ACID+Nosql的CAP+BASE的理解
  4. CCIE理论-第一篇-SDN概念复习
  5. 【ZOJ - 4024】Peak(模拟,水题)
  6. 【POJ - 3160】Father Christmas flymouse(Tarjan缩点,DAG最长路)
  7. 【ZOJ - 3212 】K-Nice (构造)
  8. 【CodeForces - 485A】Factory (水题,抽屉原理,tricks)
  9. 【CodeForces - 768C】Jon Snow and his Favourite Number(思维,技巧,套路,数学异或,循环节,trick)
  10. 【qduoj - 夏季学期创新题】矩形剖分(递归,dp)