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