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