---
schema_version: "1"
id: fc4d8bf7475590b0ab9822ceac21a63d656698891f6d5dc2985104c03a6d26d8
title: 服务器进程限制
collection: tableau
version: next
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/next/zh-cn/server/distrib_process.md
canonical_url: https://help.tableau.com/v0.0/server/zh-cn/distrib_process.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 5f81d4135474f387dc6712b282ecc641c49048a2d0f1e1e467247b0d4b005940
description: Change server process instance limits using the service.max_procs configuration option.
---
[跳转到主要内容](#main-content)

# 服务器进程限制

在为 Tableau Server 重新配置进程时，您可以增加的进程实例数额有所限制。默认情况下，限制设置为 8。如果您的计算机有足够的 RAM 和 CPU 内核，并且想要设置超过此限制的值，则可以使用 `service.max_procs` 配置选项来更改限制。对于每个进程实例，Tableau 建议运行进程的计算机至少具有 1 GB RAM 和 1 个逻辑 CPU 内核。

更改允许的最大进程数：

1. 键入以下命令，其中 `number` 是要允许的进程实例的最大数目：
    
    `tsm configuration set -k service.max_procs -v <number>`
    
    例如：
    
    `tsm configuration set -k service.max_procs -v 10`
2. 接下来键入：
    
    `tsm pending-changes apply`
    
    如果待定更改需要重新启动服务器，`pending-changes apply` 命令将显示一个提示，告知您将进行重新启动。即使服务器已停止，此提示也会显示，但在这种情况下不会重新启动。您可以使用 `--ignore-prompt` 选项隐藏提示，但这样做不会改变重新启动行为。如果更改不需要重新启动，则会在不提示的情况下应用更改。有关详细信息，请参见[tsm pending-changes apply](https://help.tableau.com/v0.0/server/zh-cn/cli_pending-changes.htm#pending-changes-apply)。