Skip to main content

Common Issues

GPU Not Accessible

Symptoms:
  • Error: could not select device driver "nvidia"
  • Error: no NVIDIA GPU devices found
  • Lightning ASR fails to start
Diagnosis:
If driver version is below 470, update:
Verify /etc/docker/daemon.json contains:
Restart Docker after changes:

License Validation Failed

Symptoms:
  • Error: License validation failed
  • Error: Invalid license key
  • Services fail to start
Diagnosis: Check license-proxy logs:
Check .env file:
Ensure there are no:
  • Extra spaces
  • Quotes around the key
  • Line breaks
Correct format:
Test connection to license server:
If this fails, check:
  • Firewall rules
  • Proxy settings
  • DNS resolution
If the key appears correct and network is accessible, your license may be:
  • Expired
  • Revoked
  • Invalid
Contact support@smallest.ai with:
  • Your license key
  • License-proxy logs
  • Error messages

Model Download Failed

Symptoms:
  • Lightning ASR stuck at startup
  • Error: Failed to download model
  • Error: Connection timeout
Diagnosis: Check Lightning ASR logs:
Check .env file:
Test URL accessibility:
Models require ~20-30 GB:
Free up space if needed:
Download model manually and use volume mount:
Update docker-compose.yml:
For slow connections, increase download timeout:

Port Already in Use

Symptoms:
  • Error: port is already allocated
  • Error: bind: address already in use
Diagnosis: Find what’s using the port:
If another service is using the port:
Or kill the process:
Modify docker-compose.yml to use different port:
Access API at http://localhost:8080 instead
Old containers may still be bound:

Out of Memory

Symptoms:
  • Container killed unexpectedly
  • Error: OOMKilled
  • System becomes unresponsive
Diagnosis: Check container status:
Lightning ASR requires minimum 16 GB RAMCheck current memory:
Prevent one service from consuming all memory:
Add swap space (temporary solution):
Use smaller model or reduce batch size:

Container Keeps Restarting

Symptoms:
  • Container status shows Restarting
  • Logs show crash loop
Diagnosis: View recent logs:
Common exit codes:
  • 137: Out of memory (OOMKilled)
  • 139: Segmentation fault
  • 1: General error
Temporarily disable restart to debug:
Start manually and watch logs:
Ensure required services are healthy:
All should show Up (healthy) or Up

Slow Performance

Symptoms:
  • High latency (>500ms)
  • Low throughput
  • GPU underutilized
Diagnosis: Monitor GPU usage:
Check container resources:
Ensure GPU is not throttling:
Enable persistence mode:
For maximum performance (loses isolation):
Use Redis with persistence disabled for speed:
Scale Lightning ASR workers:

Performance Optimization

Best Practices

1

Use Persistent Volumes

Cache models to avoid re-downloading:
2

Enable GPU Persistence Mode

Reduces GPU initialization time:
3

Optimize Container Resources

Allocate appropriate CPU/memory:
4

Monitor and Tune

Use monitoring tools:

Benchmark Your Deployment

Test transcription performance:
Expected performance:
  • Cold start: First request after container start (5-10 seconds)
  • Warm requests: Subsequent requests (50-200ms)
  • Real-time factor: 0.05-0.15x (60s audio in 3-9 seconds)

Debugging Tools

View All Logs

Follow Specific Service

Last N Lines

Save Logs to File

Execute Commands in Container

Check Container Configuration

Network Debugging

Test connectivity between containers:

Health Checks

API Server

Expected: {"status": "healthy"}

Lightning ASR

Expected: {"status": "ready", "gpu": "NVIDIA A10"}

License Proxy

Expected: {"status": "valid"}

Redis

Expected: PONG

Log Analysis

Common Log Patterns

Getting Help

Before Contacting Support

Collect the following information:
1

System Information

2

Container Status

3

Logs

4

Configuration

Sanitize and include:
  • docker-compose.yml
  • .env (remove license key)

Contact Support

Email: support@smallest.ai Include:
  • Description of the issue
  • Steps to reproduce
  • System information
  • Logs and configuration
  • License key (via secure channel)

What’s Next?

STT Configuration

Advanced configuration options

API Reference

Integrate with your applications