---
schema_version: "1"
id: 27f4ea84b0f7bc9c0d7118d9b2f0a5812d0283c0f300dea85fe425b62f199d91
title: 伺服器處理序限制
collection: tableau
version: current
locale: zh-tw
portal_url: https://docs.salesforce.com/tableau/current/zh-tw/server/distrib_process.md
canonical_url: https://help.tableau.com/current/server/zh-tw/distrib_process.htm
source_site: help.tableau.com
content_type: documentation
content_hash: fcf8420e5e7f26b0d63ca2dd7290e5c0f0e0fdccc1aeff5ef383cd41dcaf2595
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-tw/cli_pending-changes.htm#pending-changes-apply)。