Docker Troubleshooting
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:
Solution 1: Restart Docker
Solution 2: Reinstall NVIDIA Container Toolkit
Solution 3: Update NVIDIA Driver
If driver version is below 470, update:
Solution 4: Check Docker Daemon Configuration
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:
Solution 1: Verify License Key
Check .env file:
Ensure there are no:
- Extra spaces
- Quotes around the key
- Line breaks
Correct format:
Solution 2: Check Network Connectivity
Test connection to license server:
If this fails, check:
- Firewall rules
- Proxy settings
- DNS resolution
Solution 3: Contact Support
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:
Solution 1: Verify Model URL
Check .env file:
Test URL accessibility:
Solution 2: Check Disk Space
Models require ~20-30 GB:
Free up space if needed:
Solution 3: Manual Download
Download model manually and use volume mount:
Update docker-compose.yml:
Solution 4: Increase Timeout
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:
Solution 1: Stop Conflicting Service
If another service is using the port:
Or kill the process:
Solution 2: Change Port
Solution 3: Remove Old Containers
Old containers may still be bound:
Out of Memory
Symptoms:
- Container killed unexpectedly
- Error:
OOMKilled - System becomes unresponsive
Diagnosis:
Check container status:
Solution 1: Increase System Memory
Lightning ASR requires minimum 16 GB RAM
Check current memory:
Solution 2: Add Memory Limits
Prevent one service from consuming all memory:
Solution 3: Enable Swap
Add swap space (temporary solution):
Solution 4: Optimize Model Loading
Use smaller model or reduce batch size:
Container Keeps Restarting
Symptoms:
- Container status shows
Restarting - Logs show crash loop
Diagnosis:
View recent logs:
Solution 1: Check Exit Code
Common exit codes:
137: Out of memory (OOMKilled)139: Segmentation fault1: General error
Solution 2: Disable Auto-Restart
Temporarily disable restart to debug:
Start manually and watch logs:
Solution 3: Check Dependencies
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:
Solution 1: Optimize GPU Usage
Ensure GPU is not throttling:
Enable persistence mode:
Solution 2: Increase CPU Allocation
Solution 3: Use Host Network
For maximum performance (loses isolation):
Solution 4: Optimize Redis
Use Redis with persistence disabled for speed:
Solution 5: Add More Workers
Scale Lightning ASR workers:
Performance Optimization
Best Practices
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
Successful Startup
License Issues
GPU Issues
Network Issues
Getting Help
Before Contacting Support
Collect the following information:
Contact Support
Email: support@smallest.ai
Include:
- Description of the issue
- Steps to reproduce
- System information
- Logs and configuration
- License key (via secure channel)

