Get your free beta license ↗
CMDCommand · run as root on the server · web family

urbestack-web-server-set

First published 25 Oct 20260.2.16Unchanged since publication

Usage

# urbestack-web-server-set [--set NAME=VALUE]... [--clear NAME]... [--restart] [--accept-warnings] [--dry-run]

Description

From the command's --help output
Sets or clears Apache settings in zz-urbestack-web-server.conf. UrbeStack writes only this file,
which Apache reads after its own configuration files. Use --set NAME=VALUE to set an override
and --clear NAME to remove it so Apache's own configuration determines the value again. Repeat
either option to change more than one setting.

For the event MPM, the settings are StartServers, ServerLimit, ThreadLimit, ThreadsPerChild,
MaxRequestWorkers, MinSpareThreads, MaxSpareThreads, MaxConnectionsPerChild, and
AsyncRequestWorkerFactor. The connection settings are Timeout, KeepAlive, KeepAliveTimeout, and
MaxKeepAliveRequests.

UrbeStack tests the full Apache configuration with the new file in place. If the test fails,
UrbeStack restores the previous configuration. If Apache warns that it would adjust a value
while reading the file, saving requires --accept-warnings. For example, Apache may adjust
ThreadsPerChild if it exceeds ThreadLimit, or MaxRequestWorkers if it falls between multiples of
ThreadsPerChild or exceeds ServerLimit multiplied by ThreadsPerChild.

By default, UrbeStack reloads Apache gracefully across all sites and lets requests in progress
finish. The running master keeps its existing ServerLimit and ThreadLimit values until a full
restart. Use --restart to restart Apache immediately and apply those changes. A full restart
drops open connections. If Apache fails to come back up, UrbeStack restores the previous file
and starts Apache with it.

Options

Find other commands that accept these options

Same in the API

This operation runs the command.
urbestack-web-server-
Generated from release 0.2.35 (current) · urbestack-web-server-set --help outputThis entry has been unchanged since it was first published in release 0.2.16 on 25 Oct 2026.
urbestack.com/docs/commands/urbestack-web-server-set/