---
schema_version: "1"
id: 9f450d3fd5a1bec32ea25da6f89d832b5f81cbbb00b610cb2300b939088533f9
title: 服务器进程限制
collection: tableau
version: current
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/current/zh-cn/server/distrib_process.md
canonical_url: https://help.tableau.com/current/server/zh-cn/distrib_process.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 927d0606c6d45b77cca0ba879666208f01b28e0a8d70dabe5b4b836b138c0c61
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/current/server/zh-cn/cli_pending-changes.htm#pending-changes-apply)。