Skip to content

What server specifications do I need to handle X clicks per day?

Start at 2 vCPU / 4 GB RAM, with at least 50 GB of SSD. Plans under about $20/month are usually too small.

The Ubuntu 24.04 installer (ff1.sh) already tunes PHP, PHP-FPM, OPcache, MariaDB, and ClickHouse for that size. You do not need to run a second sizing step on a server of that size.

There is no clicks-per-day figure for the current installer. The old load tests used PHP 5.6 and do not apply to this stack.

If the VPS is larger than 2 vCPU / 4 GB, run the optimization script and pick the preset closest to the real CPU and RAM:

Terminal window
wget https://licensing.funnelflux.com/installers/ubuntu_24/optimize-server.sh
sudo bash optimize-server.sh

The same commands are in Installing FunnelFlux.

The script prints the detected RAM and CPU cores, then asks you to choose. These are the presets it offers:

Choice Preset CPU / RAM Script label
1 Small Server 2 vCPU / 4 GB Basic usage
2 Medium Server 4 vCPU / 8 GB Medium traffic
3 Large Server 8 vCPU / 16 GB High traffic
4 XLarge Server 8 vCPU / 32 GB Heavy usage
5 XXLarge Server 16 vCPU / 64 GB Enterprise
6 Custom Settings Manual configuration
7 Exit without changes

The labels in that table are the script’s own menu text. They are not a clicks-per-day rating.

Pick the numbered preset whose CPU and RAM are closest to the VPS you rented. Choice 6 is listed, but it is not implemented. It prints the config file paths and does not apply a preset. Choice 7 exits without writing anything.

For choices 1–5 it shows a preview, then asks before it writes anything. It backs up the current configs first.

It retunes:

  • PHP memory limit, max execution time, and upload limits
  • the PHP-FPM pool (max children and spare servers)
  • OPcache memory and max files
  • MariaDB InnoDB buffer pool, log file size, and max connections
  • ClickHouse caches, max server memory, max concurrent queries, max merge size, and background pool size

It also sets vm.swappiness to 10 and vm.vfs_cache_pressure to 50, raises file-descriptor limits, and adds log rotation for the FunnelFlux cache logs. It asks again before restarting php8.4-fpm, mariadb, clickhouse-server, and nginx.

Run the script as root, or with sudo, on a server that already has FunnelFlux installed.