Vigiora

How many cameras can one server handle? Let the server measure it

Four things limit how many cameras a recording server can take: how fast its disk writes, how much disk is free, the processor and the network link. Here is how to do the sums by hand, and how the Capacity card in Vigiora Server 1.6.28 measures all four and tells you the number.

· 5 min read · View as Markdown

Share
A sample capacity figure with four bars for disk write speed, disk space, CPU and network, and the lowest one marked as the limit

How many cameras can I put on this machine? It is the first question before buying a server, and the question that comes back every time you add a camera. Forum answers range from "four" to "a hundred", and both can be right, because the answer is not one number. It is the lowest of four.

This article shows the four limits, the sums you can do on paper, and the card in Vigiora Server that does them from measurements instead of guesses.

The four limits#

A recording server does one simple job per camera: it reads a video stream from the network and writes it to disk. Vigiora copies the camera's video as it arrives, without re-encoding it, so the work is mostly moving bytes. Four things can run out.

LimitWhat runs outWhen it bites
Disk spaceRoom for every camera's retentionMany days kept, main streams, a small disk
Disk write speedHow fast the disk takes the videoSD cards, USB sticks, old or busy disks
ProcessorCores for live view and motion detectionSmall boards, many people watching at once
NetworkThe link between cameras and serverWi-Fi, 100 Mbit/s ports, cameras on a slow switch

The server can take as many cameras as the smallest of the four allows. Making the other three bigger changes nothing.

The sums by hand#

You need one figure per camera: its bit rate. The system requirements give typical ones for continuous recording.

Camera streamBit rateDisk per day
1920 × 1080 at 15 fps3.1 Mbit/sabout 33 GB
2560 × 1440 at 15 fps5.5 Mbit/sabout 58 GB
640 × 360 at 15 fps (sub-stream)0.35 Mbit/sabout 4 GB

Take a 4 TB disk and 14 days of retention as the example.

  • Disk space. A 1080p camera needs 33 GB × 14 days, about 460 GB. The disk holds 8 cameras. Record the sub-stream instead and each camera needs about 56 GB, so the same disk holds around 70.
  • Disk write speed. One 1080p camera writes about 0.4 MB per second. A hard disk writes 100 MB per second or more, so it is almost never the limit. A cheap SD card or USB stick that sustains 10 MB per second is a different story.
  • Network. Thirty 1080p cameras send about 93 Mbit/s. That fills a 100 Mbit/s port and is nothing on a gigabit link.
  • Processor. There is no clean formula. Recording is light, but live view in the browser and motion detection add load per camera, and it depends on the machine.

So in this example the disk decides: 8 cameras on main streams, and with sub-streams the limit moves from disk space to whichever of the other three is weakest. That is why two honest people give two different answers for "the same" server.

The sums have two weak points. The bit rates are typical, not yours: a quiet corridor writes far less than a car park with moving trees, as our measured figures per camera show. And nobody knows their disk's sustained write speed or their real processor load from memory.

Let the server measure it#

From version 1.6.28, Vigiora Server measures the four limits on the machine it runs on. Open System, then the Storage tab, and find the Capacity card. It reads, for example:

This server can take about 29 more cameras like the ones it has (limited by disk space).

A sample capacity figure with four bars for disk write speed, disk space, CPU and network, and the lowest one marked as the limit
The idea of the Capacity card as a chart: four limits, and the lowest one is the answer. A sample figure with example numbers, not a screenshot of a server.

Three details make this better than the sums on paper.

  • "Like the ones it has." The card does not assume a typical camera. It uses what your own cameras really send, measured on your server. Only a server with no cameras yet counts in typical 1080p cameras.
  • It names the limit. Under the headline the card lists each limit on its own (disk write speed, disk space, CPU, network) and what it measured: how fast the disk writes, the free space, the load and the number of cores, the memory, the link speed and how much video the cameras are sending.
  • It counts what is already promised. Free space is not all yours to give away. The cameras you already have still need room to fill their retention, so the card takes that off first.

That sentence above is from our own home-lab server: seven cameras, 1.6 TB free, a 32-core processor that is almost idle and a gigabit link. Processor and network had room for far more. The disk did not.

The server checks by itself a few minutes after it starts, when it has no check from the last 7 days. Click Check now to measure again after you add cameras or change a disk. The same report is in the API, so a script or an AI agent can read it too.

What to do about each limit#

  1. Limited by disk space

    The cheapest fixes are settings, not hardware. Record the sub-stream on cameras where detail matters less, and shorten retention where nobody looks back: see Main stream or sub-stream?. On the same Storage tab, Recording compression makes recordings older than 7 days take about a third to a fifth of the space, for cameras kept longer than that. It is off until you switch it on, and it is not undone, so read Compress old recordings first. Lowering retention deletes older video, so export what you need before.

  2. Limited by disk write speed

    Move the recordings to a faster disk. An internal hard disk or SSD is fine. SD cards and USB sticks are the usual cause.

  3. Limited by CPU

    Look at what else the machine is doing. A server that also runs other programs has less to give. If the load stays high with only Vigiora, this machine is at its size.

  4. Limited by network

    Put the server on wired Ethernet and check the port really runs at gigabit speed. An old cable or switch can hold a link at 100 Mbit/s without telling anyone.

Then click Check now again and see which limit is the lowest now. It is often a different one.

The short answer#

For a home or a small shop, a modest machine records more cameras than most people expect, and the disk fills long before the processor struggles. You do not have to take our word for it, or a forum's. Install the server, add the cameras you have, and read the card. Recording is free on every camera, with no limit on how many: download Vigiora.

Share

Try it on your own cameras

Vigiora Server is free with unlimited cameras. AI on 2 cameras is free during our promotion. Install it on a Linux machine with one command.