Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
issue
issue
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 23
    • Issues 23
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

  • chainmaker
  • issueissue
  • Issues
  • #224

Closed
Open
Opened Jun 30, 2022 by 云 俞@646344359

【求助】链配置txpool 配置优化

目前采用5台配置4核8G的服务器 组成了共识网络。

进行压力测试时, 很快将把默认配置:

txpool:
  # txpool type, can be signle or batch.
  # By default the txpool type is single.
  pool_type: "single"

  max_txpool_size: 50000

  # Max config transaction count in config txpool.
  max_config_txpool_size: 10

的 交易池 打满了,爆出 tx add failed, TxPool is full" 错误。

实际发生交易并没有达到 50000笔。大概在11000多笔的样子,cpu占用在15%,内存占用1G不到。

请问下 max_config_txpool_size 所有表示的 “交易池储存配置交易的数量“ 哪些交易属于存储配置交易?

在当前服务器配置下,默认的最佳配置大概是什么样的?或者说哪些因素影响该配置的最大值? 合约类型? 合约的堆内存使用大小?

Edited Jun 30, 2022 by 云 俞
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: chainmaker/issue#224

Copyright © 2021 ChainMaker Org. All Rights Reserved. 长安链 版权所有。