Skip to main content

Server Process Settings

Learning Focus

By the end of this lesson you will understand how OpenLiteSpeed process settings work, what to tune, and how to verify your configuration.

What Process Settings Control

Server process settings shape how OpenLiteSpeed starts workers, which user it runs as, and how it behaves during restarts or high load.

Key Settings

SettingDefaultWhat It Does
UsernobodyLinux user the server runs as
GroupnogroupLinux group the server runs as
Priority0Process niceness (lower = higher priority)
Max WorkersAutoNumber of worker processes
CPU Affinity0Bind workers to specific CPU cores

Checking Current Settings

# Check which user OpenLiteSpeed runs as
ps aux | grep lshttpd | head -5

# Check process count
ps aux | grep lshttpd | grep -v grep | wc -l

# Check resource usage
top -p $(pgrep -d',' lshttpd)

Configuring in WebAdmin

  1. Navigate to Server ConfigurationGeneral
  2. Adjust User, Group, and Priority as needed
  3. Navigate to Server ConfigurationTuning
  4. Adjust worker-related settings
  5. Save and Graceful Restart
info

In most cases, the defaults work well. Only tune process settings after measuring actual performance under your workload.

Key Takeaways

  • Process settings shape the server's stability envelope under real traffic.
  • The server user (typically nobody) affects file permissions throughout the stack.
  • Tune conservatively and measure before changing defaults.

What's Next