Skip to main content

Performance Troubleshooting

Optimize Pentora for faster scans and lower resource usage.

Slow Scans​

Symptoms​

Scans take longer than expected.

Diagnosis​

# Enable verbose logging
pentora scan --targets 192.168.1.0/24 -vv

# Check for bottlenecks in logs

Solutions​

1. Increase Rate Limit​

pentora scan --targets 192.168.1.0/24 --rate 5000

2. Increase Concurrency​

pentora scan --targets 192.168.1.0/24 --concurrency 200

3. Use Quick Profile​

pentora scan --targets 192.168.1.0/24 --profile quick

4. Disable Fingerprinting​

pentora scan --targets 192.168.1.0/24 --no-fingerprint

5. Skip Vulnerability Checks​

pentora scan --targets 192.168.1.0/24 --no-vuln

High Memory Usage​

Symptoms​

pentora process using > 2GB RAM

Solutions​

1. Reduce Concurrency​

engine:
max_parallel_nodes: 5
scanner:
concurrency: 50

2. Limit Context Size​

engine:
data_context:
max_size: 500MB

3. Process in Batches​

# Split large target list
split -l 1000 targets.txt batch-

# Scan batches sequentially
for batch in batch-*; do
pentora scan --target-file $batch
done

High CPU Usage​

Solutions​

1. Reduce Workers​

server:
workers: 2

2. Limit Parallel Nodes​

engine:
max_parallel_nodes: 4

Network Bottlenecks​

Solutions​

1. Rate Limiting​

pentora scan --targets 192.168.1.0/24 --rate 1000

2. Timeouts​

pentora scan --targets 192.168.1.0/24 --timeout 2s

Disk I/O Issues​

Solutions​

1. Use Faster Storage​

Move workspace to SSD.

2. Disable Artifacts​

workspace:
scans:
keep_artifacts: false
keep_pcaps: false

3. Enable Compression​

workspace:
scans:
compress: true

Benchmarking​

# Benchmark different profiles
time pentora scan --targets test-network.txt --profile quick
time pentora scan --targets test-network.txt --profile standard
time pentora scan --targets test-network.txt --profile deep

See Configuration Overview for tuning options.