Wiki & documentation
BookStack VPS requirements: RAM, CPU, disk, and what actually uses them
BookStack is a self-hosted wiki that sorts documentation into shelves, books, chapters and pages. It's a PHP (Laravel) app on a MySQL or MariaDB database, with no search engine, queue server or headless browser to feed, so it's one of the lightest multi-user apps you can host. The install docs list software only: PHP 8.2 or newer and MySQL 8.0 or MariaDB 10.6 or newer. Elsewhere the project says it "can easily be ran on a 1GB RAM VM", and its developer has said the public demo runs on one CPU core and 512 MB. Two independent tests this autumn put BookStack plus MariaDB at roughly 165 to 215 MB. What changes the size is the database you pick (MySQL 8.4 at its defaults weighs more than BookStack does), the PHP memory needed to resize big images, and how many people edit at once.
Sizing guide
Our recommendations, derived from the sourced figures below. Not measurements.
| Scenario | RAM | vCPU | Why |
|---|---|---|---|
| Personal, family or small-team wiki, MariaDB (Docker or tuned MySQL) | 1 GB | 1 | The project says BookStack "can easily be ran on a 1GB RAM VM", and its demo runs on 1 core and 512 MB. Two published tests put BookStack plus MariaDB at 165–215 MB, so the OS, Docker and a reverse proxy fit beside it. Add 1 GB of swap and keep OPcache on. Not yet measured by us. |
| Team wiki with MySQL 8.4 at defaults (official Ubuntu script), large image uploads, or other apps on the box | 2 GB | 2 | Our estimate, not a measurement. MySQL 8.4 at its defaults held 434 MB with no tables in one test (on the WordPress page), more than BookStack and MariaDB together. Big images can need a 256M–512M PHP memory_limit per request. The developer suggested 2 cores for a ~150-user wiki; one admin guessed 2 GB lasts to about 1,000 monthly users. |
| Hundreds of active users and editors, external PDF renderer, local_secure images | 4 GB | 2 | Our estimate. More PHP workers at once, a database cache sized to your content, and WeasyPrint or another renderer if you replace dompdf. A 100+ user wiki on 4 cores / 8 GB was called overkill by its admin, so this is half that. Past this, move the database and sessions off the box as the docs describe. |
Official requirements
| Item | What the project says | Source |
|---|---|---|
| Requirements | PHP 8.2 or newer, runnable from the command line, with the curl, dom, gd, iconv, mbstring, mysqlnd, openssl, pdo, pdo_mysql, tokenizer, xml and zip extensions (ldap and exif optional). MySQL 8.0 or newer or MariaDB 10.6 or newer, one database. Git, Composer 2.2 or newer, and any PHP-compatible web server | BookStack docs: Installation, Requirements checked Nov 17, 2026 |
| Hardware | The install docs give no RAM, CPU or disk figure. The project's own site: "It's fundamentally a modern PHP application using MySQL as a datastore. It can easily be ran on a 1GB RAM VM, and its resource usage scales with system activity." | BookStack: An Open Source Microsoft Teams Wiki Alternative checked Nov 17, 2026 |
| Hosting type | "BookStack does not currently support shared PHP hosting." You need a VPS or another server where you can run php, git and Composer from the command line | BookStack docs: Installation, Shared Hosting checked Nov 17, 2026 |
| Ubuntu install script | Official scripts for a fresh Ubuntu 26.04, 24.04 or 22.04. The 26.04 script installs Apache, MySQL 8.4 and PHP 8.5 (FPM), "could OVERWRITE any existing web setup", and doesn't set up mail or system security. It prints a random admin password instead of the old default login | BookStack docs: Installation, Ubuntu 26.04 Installation Script checked Nov 17, 2026 |
| Docker | No official image. The docs point to community images from LinuxServer.io and solidnerd. The LinuxServer.io image runs on x86-64 and arm64, serves on port 6875 and needs a separate MariaDB/MySQL database; it has shipped PHP OPcache since 4 Jan 2025 | LinuxServer.io docs: linuxserver/bookstack checked Nov 17, 2026 |
| Image sizes | lscr.io/linuxserver/bookstack latest (v26.09.3-ls298, built 17 Nov 2026): 95.9 MB compressed for amd64, 96.3 MB for arm64. lscr.io/linuxserver/mariadb latest (11.8.9): 132.8 MB amd64, 129.3 MB arm64. Summed from the layer sizes in the registry manifests (our check) | GitHub Container Registry: linuxserver/bookstack checked Nov 17, 2026 |
| Search, cache and sessions | Search uses BookStack's own index inside the database, so there's no separate search engine to run. Cache and sessions use the local filesystem by default; the database, Memcached or Redis are options, mainly for multi-server setups | BookStack docs: Commands (Regenerate the Search Index); Cache & Session Configuration checked Nov 17, 2026 |
| PDF export | dompdf (inside PHP) by default, with limited rendering. You can set EXPORT_PDF_COMMAND to an external renderer such as WeasyPrint, optionally in its own container, with a 15-second default timeout. wkhtmltopdf has been deprecated since v24.05 | BookStack docs: PDF Rendering checked Nov 17, 2026 |
| Uploads and storage | Images in public/uploads and attachments in storage/uploads by default, or in S3-compatible storage. local_secure image storage is "more system resource intensive" because BookStack serves every image itself. NGINX limits uploads to 1 MB by default; uploads over 128 MB may need PHP memory_limit 256M | BookStack docs: Configuring File Uploads checked Nov 17, 2026 |
| Backups | No built-in backup. Dump the database with mysqldump and archive .env, public/uploads, storage/uploads and themes. Keep the old APP_KEY on restore: it encrypts things like multi-factor credentials | BookStack docs: Backup and Restore checked Nov 17, 2026 |
| Current version | v26.09.3, released 11 Nov 2026, a security release (draft and trashed-page image access, draft content visibility, recycle-bin deletion on book/chapter conversion). It followed security releases v26.05.3, v26.05.4, v26.05.5 and v26.09.2 between July and October | BookStack releases (GitHub mirror; the main repository is on Codeberg) checked Nov 17, 2026 |
| PHP security | On 21 Oct 2026 the project advised taking internet-facing instances offline until a critical PHP fix was applied. Fixed versions: PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 (Ubuntu backports keep older version numbers) | BookStack blog: Critical PHP Security Release checked Nov 17, 2026 |
What people report in practice
Individual reports, not controlled tests. Versions, hardware and settings differ, so treat these as data points, not guarantees.
-
165 MB idle for a fresh install (BookStack 57 MB + MariaDB 108 MB). After creating 20 books with 200 pages through the API and serving 1,000 page views and 100 searches, 10 at a time: 215 MB peak, settling at 213 MB, mostly MariaDB caching the new pages. Disk: 1,176 MB fresh, 1,241 MB with the sample content, images included
SizeMyServer, 4 Nov 2026; BookStack v26.09.2 (LinuxServer.io) + MariaDB 11.8.9, docker stats summed, on an 8 vCPU / 16 GB VM, not a small VPS
Test site SizeMyServer: BookStack RAM & server requirements · checked Nov 17, 2026
-
With a small demo book in place, docker stats showed about 78–89 MiB for the BookStack container and 94–96 MiB for MariaDB, on a fresh Ubuntu 24.04 VM with 2 vCPUs and 1.8 GB. The login page answered about 36 seconds after the first start, while MariaDB initialised and migrations ran
uptime.bet blog, 2 Nov 2026; BookStack 26.09.2 (LinuxServer.io) + MariaDB 11.4.9; one quiet user
Blog uptime.bet: BookStack 26.09.2, a self-hosted wiki with Docker Compose · checked Nov 17, 2026
-
BookStack's developer: "the demo instance, runs all on 1 cpu core and 512MB of RAM." For a support wiki of about 150 users, mostly text with some images, he suggested starting with 2 CPU cores, 1 GB of RAM and about 50 GB of storage, then scaling. Another admin runs 100+ users who upload about 10 MB each per week on 4 cores and 8 GB, which he called overkill
GitHub issue, Feb–Mar 2023
GitHub GitHub BookStack #4071: What are the optimal requirements of a server to host Bookstack? · checked Nov 17, 2026
-
ApacheBench, 50 requests to /status at 5 concurrent: mean 264 ms without OPcache and 36 ms with it on an amd64 VM; 821 ms and 100 ms on a Raspberry Pi 4 with USB SSD. The reporter's 2 GB / 1 vCPU amd64 VM had served pages at normal speed, with and without a copy of his real data
GitHub issue, Jan 2025, LinuxServer.io image v24.12; LinuxServer.io added OPcache to the image the next day
GitHub GitHub BookStack #5385: Slow Page Load Times (500-700ms) on ARM64 Devices · checked Nov 17, 2026
-
Uploading a 2.2 MB, 5840×4140 photo produced "Failed to handle image upload and/or create thumbnails due to system resource limits". The developer: likely the PHP memory_limit; doubling it to 256M fixed it
GitHub issue, Jan 2024, v23.10.4, LinuxServer.io image on a Synology NAS
GitHub GitHub BookStack #4754: problem with thumbnail creation · checked Nov 17, 2026
-
An LDAP user with a profile picture of about 2 MB caused HTTP 500 on every login: PHP hit its 128 MB limit (134217728 bytes) while resizing the avatar. memory_limit = 512M in php-local.ini fixed it, and the LDAP docs now carry a warning
GitHub issue, Sep–Oct 2024, v24.05.4, LinuxServer.io image
GitHub GitHub BookStack #5223: potential risks/memory usage of LDAP avatar imports · checked Nov 17, 2026
-
One admin who has run a public BookStack on a VPS for 18 months guessed "a 2gb of ram plan should last quite a while perhaps 1,000 monthly users"
Reddit r/BookStack, Nov 2024; the commenter calls it an estimate, not a measurement
Reddit r/BookStack: How to cloud host secure and cheap · checked Nov 17, 2026
-
"Bookstack runs with 50mb ram" on one user's server, next to bitwarden_rs at 25 MB and Pi-hole at 6 MB, answering whether a 2 GB Raspberry Pi 4 could run all three
Reddit r/selfhosted, Jun 2020; old version, and the database isn't counted
Reddit r/selfhosted: Is RPi 4 with 2GB RAM enough for this? · checked Nov 17, 2026
Our measurements: coming soon
We haven't measured BookStack yet, so there are no VPSfit lab numbers on this page. When we do, they'll show the app version, the plan it ran on, the date, and the raw data. Here's what we'll record:
- Idle and 24-hour RAM of BookStack v26.09 with MariaDB 11.8 (Docker) and with the official Ubuntu 26.04 script's MySQL 8.4, defaults and tuned, on a 1 GB plan
- Peak memory of one PHP worker while uploading and resizing a 20-megapixel photo, and while exporting a long book to PDF with dompdf
- Requests per second for logged-in page views on 1 and 2 vCPU, with OPcache on
- Disk used per 1,000 pages with typical screenshots
What drives BookStack's RAM use
The database, not BookStack
In both published tests the database took more memory than BookStack's PHP container: MariaDB 94–139 MB against 57–89 MB for the app (SizeMyServer, uptime.bet). The official Ubuntu 26.04 script installs MySQL 8.4 without tuning (install docs), and MySQL 8.4 at defaults held 434 MB with no tables in a separate test, mostly the InnoDB buffer pool and Performance Schema (tport.cloud). On 1 GB, use MariaDB, or turn the Performance Schema off and shrink the buffer pool. Search lives in the same database, so there's no second engine to budget for.
PHP workers and memory_limit
Each request runs in its own PHP process, and memory_limit is the ceiling for one of them. Ordinary page views stay small (215 MB total at 10 concurrent requests in the SizeMyServer test), but resizing a large photo or avatar can need 256M–512M for that single request (#4754, #5223). Raise the limit only as far as you need, and keep the number of PHP-FPM workers times that limit within the RAM left after the database.
OPcache decides how fast a small CPU feels
BookStack loads many framework files on each request. Without OPcache, a test VM averaged 264 ms per request to a tiny status endpoint; with it, 36 ms (#5385). The LinuxServer.io image has included OPcache since January 2025 (image docs); on a manual install, check that php -m lists Zend OPcache before you buy more vCPUs.
Disk: images and attachments
The app and database images are about 230 MB compressed, and a fresh Docker install used about 1.2 GB of disk in one test. After that, disk grows with what people upload: images (plus their resized copies) and attachments (upload docs). One admin reported about 10 MB per user per week for 100+ users (#4071). We haven't measured growth for a typical wiki. S3-compatible storage moves uploads off the VPS disk.
PDF export and image privacy
PDF export runs dompdf inside PHP by default; an external renderer such as WeasyPrint in its own container adds that process's memory (PDF docs), which we haven't measured. The local_secure and local_secure_restricted storage modes route every image through PHP, which the docs call more resource intensive; test a page with many images before switching on a small plan.
Gotchas on a VPS
- Change the default login. Manual and Docker installs start with
[email protected]/password(LinuxServer.io docs). Change it before the site is reachable. The Ubuntu 26.04 script generates a random password instead. - Patch PHP, not just BookStack. In October 2026 the project told internet-facing instances to go offline until a critical PHP fix was in place (BookStack blog). Re-pull the Docker image even if the tag hasn't changed, or run your OS updates, and check the PHP version the web server actually uses.
- APP_URL must match the address you open. A mismatch between
APP_URLand the hostname in the browser ended in a "419 Page Expired" at login in one test (uptime.bet). If you change domains later, runbookstack:update-urlafter a database backup (commands). - Port 6875 is open to the internet. The LinuxServer.io example publishes
6875:80on every interface, and Docker's published ports bypass UFW (Docker docs). Bind it to127.0.0.1:6875:80behind your reverse proxy, and never publish the database port. - Raise upload limits in three places. BookStack's
FILE_UPLOAD_SIZE_LIMIT, PHP'supload_max_filesize/post_max_size, and NGINX'sclient_max_body_size(1 MB by default) all apply (upload docs). If big photos fail with "system resource limits", raisememory_limit(in the LinuxServer.io image:/config/php/php-local.ini). - The Ubuntu script is for a fresh server only. It installs Apache, MySQL and PHP and can overwrite an existing web setup (install docs). Don't run it on a VPS that already hosts other sites; use Docker or a manual install there.
- Back up the database and the uploads. There's no built-in backup: dump the database and copy
.env,public/uploads,storage/uploadsandthemesoff the server, and keep the originalAPP_KEY(backup docs). We haven't tested a restore ourselves yet.
Cheapest plans that fit
BookStack personal or small-team wiki (MariaDB): 1 GB RAM and 1+ vCPU
Threshold: Project: "can easily be ran on a 1GB RAM VM"; published tests 165–215 MB with MariaDB. Not yet measured by us (source). Only plans with at least 1 vCPU are listed.
| Provider & plan | RAM | vCPU | Disk | Price / month | Terms | Source |
|---|---|---|---|---|---|---|
| Contabo Cloud VPS 4 | 8 GB | 4 shared | 100 GB SSD | €4.40 excl. VAT · ≈ $4.93 |
24-month term (effective monthly rate) | contabo.com checked Nov 12, 2026 |
| Vultr Cloud Compute Regular 1 GB | 1 GB | 1 shared, previous-gen Intel | 25 GB SSD | $5.00 before tax |
Monthly price, hourly billing | vultr.com checked Nov 12, 2026 |
| DigitalOcean Basic 1 GiB | 1 GB | 1 shared | 25 GB SSD | $6.00 before tax |
Monthly cap, per-second billing | digitalocean.com checked Nov 12, 2026 |
| Hetzner CPX02 (Regular Performance) | 1 GB | 1 shared, AMD | 20 GB NVMe | €5.49 excl. VAT · ≈ $6.16 |
Monthly cap, hourly billing | hetzner.com checked Nov 12, 2026 |
BookStack team wiki, MySQL 8.4 defaults or large uploads: 2 GB RAM and 2+ vCPU
Threshold: Our estimate, not a measurement: MySQL 8.4 defaults at 434 MB in one test, 256M–512M PHP limits for big images, and the developer's 2-core advice for ~150 users (source). Only plans with at least 2 vCPUs are listed.
| Provider & plan | RAM | vCPU | Disk | Price / month | Terms | Source |
|---|---|---|---|---|---|---|
| Contabo Cloud VPS 4 | 8 GB | 4 shared | 100 GB SSD | €4.40 excl. VAT · ≈ $4.93 |
24-month term (effective monthly rate) | contabo.com checked Nov 12, 2026 |
| Contabo Cloud VPS 6 | 12 GB | 6 shared | 200 GB SSD (or 100 GB NVMe) | €6.00 excl. VAT · ≈ $6.73 |
24-month term (effective monthly rate) | contabo.com checked Nov 12, 2026 |
| Contabo Cloud VPS 8 | 24 GB | 8 shared | 300 GB SSD (or 150 GB NVMe) | €11.20 excl. VAT · ≈ $12.56 |
24-month term (effective monthly rate) | contabo.com checked Nov 12, 2026 |
| Hostinger KVM 2 | 8 GB | 2 AMD EPYC | 100 GB NVMe | $14.99 intro $8.79 before tax |
Prepaid intro rate; renews at $14.99/mo | hostinger.com checked Nov 12, 2026 |
BookStack with hundreds of active users: 4 GB RAM and 2+ vCPU
Threshold: Our estimate, not a measurement: more concurrent PHP workers and database cache; a 100+ user wiki on 4 cores / 8 GB was called overkill (source). Only plans with at least 2 vCPUs are listed.
| Provider & plan | RAM | vCPU | Disk | Price / month | Terms | Source |
|---|---|---|---|---|---|---|
| Contabo Cloud VPS 4 | 8 GB | 4 shared | 100 GB SSD | €4.40 excl. VAT · ≈ $4.93 |
24-month term (effective monthly rate) | contabo.com checked Nov 12, 2026 |
| Contabo Cloud VPS 6 | 12 GB | 6 shared | 200 GB SSD (or 100 GB NVMe) | €6.00 excl. VAT · ≈ $6.73 |
24-month term (effective monthly rate) | contabo.com checked Nov 12, 2026 |
| Contabo Cloud VPS 8 | 24 GB | 8 shared | 300 GB SSD (or 150 GB NVMe) | €11.20 excl. VAT · ≈ $12.56 |
24-month term (effective monthly rate) | contabo.com checked Nov 12, 2026 |
| Hostinger KVM 2 | 8 GB | 2 AMD EPYC | 100 GB NVMe | $14.99 intro $8.79 before tax |
Prepaid intro rate; renews at $14.99/mo | hostinger.com checked Nov 12, 2026 |
Prices checked Nov 12, 2026 on each provider's official pricing page. EUR prices converted at the ECB rate of Nov 11, 2026 (1 € = $1.1127) only for ranking. See every plan on the cheapest 2 GB, 4 GB and 8 GB VPS pages.