mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2024-11-22 00:07:21 -06:00
Update services-and-run.md
This commit is contained in:
parent
bb15bcb528
commit
903fc282c4
@ -1,20 +1,40 @@
|
||||
# LibreQoS daemons
|
||||
# LibreQoS systemd service daemons
|
||||
|
||||
lqosd
|
||||
|
||||
- Manages actual XDP code. Build with Rust.
|
||||
- Manages actual XDP code.
|
||||
- Coded in Rust.
|
||||
- Runs the GUI available at http://a.b.c.d:9123
|
||||
|
||||
lqos_scheduler
|
||||
|
||||
- lqos_scheduler handles statistics and performs continuous refreshes of LibreQoS' shapers, including pulling from any enabled CRM Integrations (UISP, Splynx).
|
||||
- On start: Run a full setup of queues
|
||||
- Every 30 minutes: Update queues, pulling new configuration from CRM integration if enabled
|
||||
- Minute interval is adjustable with the setting `queue_refresh_interval_mins` in `/etc/lqos.conf`.
|
||||
- lqos_scheduler performs continuous refreshes of LibreQoS' shapers, including pulling from any enabled CRM Integrations (UISP, Splynx).
|
||||
- Actions:
|
||||
- On start: Run a full setup of queues
|
||||
- Every X minutes: Update queues, pulling new configuration from CRM integration, if enabled.
|
||||
- The default minute interval is 30, so the refresh occurs every 30 minutes by default.
|
||||
- The minute interval is adjustable with the setting `queue_refresh_interval_mins` in `/etc/lqos.conf`.
|
||||
|
||||
## Checking service status
|
||||
|
||||
```
|
||||
sudo systemctl status lqosd lqos_scheduler
|
||||
```
|
||||
|
||||
If the status of one of the two services shows 'failed', examine why using journalctl, which shows the full status of the service. For example, if lqosd failed, you would run:
|
||||
```
|
||||
sudo journalctl -u lqosd -b
|
||||
```
|
||||
Press the End key on the keyboard to take you to the bottom of the log to see the latest updates to that log.
|
||||
|
||||
Lqosd will provide specific reasons it failed, such as an interface not being up, an interface lacking multi-queue, or other cocnerns.
|
||||
|
||||
## Debugging lqos_scheduler
|
||||
|
||||
In the background, lqos_scheduler runs scheduler.py, which in turn runs LibreQoS.py
|
||||
In the background, lqos_scheduler runs the Python script scheduler.py, which in turn runs the Python script LibreQoS.py
|
||||
|
||||
- scheduler.py: performs continuous refreshes of LibreQoS' shapers, including pulling from any enabled CRM Integrations (UISP, Splynx).
|
||||
- LibreQoS.py: creates and updates queues / shaping of devices
|
||||
|
||||
One-time runs of these individual components can be very helpful for debugging and to make sure everything is correctly configured.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user