A concurrent request limit controls how many requests from one IP are still being processed. It can help with long exports and handlers that keep connections open. It is separate from requests per second or minute.
You need Правила (Rules), Ограничить (Limit), and spare rule capacity. Replace example.com and /exports/ with your domain and actual handler path. The example threshold of 5 needs testing against your workload.
Configure an export limit
- Open WebShield → example.com → Правила → Добавить правило (Rules → Add rule).
- Name it
Concurrent exportsand select Ограничить (Limit). - Set Запросы с одного IP (Requests per IP) to не ограничивать (unlimited) if no frequency limit is required.
- Set Одновременные запросы (Concurrent requests) to не больше (at most), value
5. - Under При превышении (On excess), choose Логировать (Log) if available, or Блокировать (429) (Block) for a controlled test.
- Set Адрес → Начинается с → /exports/ (Path starts with). If required, add Метод → В списке → GET (Method in list) in the same group.
- Click Сохранить правило (Save rule) and allow deployment.
This covers /exports/report.csv, but not /exports without its trailing slash. Add a separate OR group if that path also runs exports.
Test simultaneous processing
Check one normal export first. Then run several long test requests from one IP at an agreed time. Inspect excess or rejection counters. A completed request frees its slot, so the test needs requests that remain in progress together.
Long downloads and chats can occupy slots throughout their operation. Users behind a shared IP also share capacity. Raise the threshold or disable the rule if normal usage suffers. Moving this rule does not change its effect. A trusted IP exception bypasses limits only; the simulator does not count occupied slots.