System Information
Root users can monitor deployment instances, resource usage, node sync status, and cross-instance system tasks, and remove records for offline instances.
- Only Root users can access this page. In the sidebar, go to “Admin” → “System Information.”
- View each instance’s operational status, resource usage, and sync status, monitor system tasks, remove records for offline instances, and clean up task history.
- This page is for monitoring and cleanup only. System tasks are created automatically or triggered by actions in Channel Management or Operations Settings.
Note
- Each instance is a New API process identified by
NODE_NAME. - Only Master instances run scheduled background tasks. Worker instances continue to report instance information and leave system tasks for Master instances to claim.
- A system task represents a batch of background maintenance, checks, or polling. User-submitted image, music, and video tasks are tracked separately. For example,
Async Task Pollingrepresents one background pass that checks the status of application tasks.
System Information Overview
- System Information – Instances and System Tasks

The page has two panels, “Instances” and “System Tasks.”
Note
If an instance shows “Offline,” the “Sync” column shows “Update Failed,” or a system task remains “Pending,” see Frequently Asked Questions.
Panel Overview
| Panel | Purpose | Auto-Refresh Behavior | Available Actions |
|---|---|---|---|
| Instances | Shows operational status, resource usage, and heartbeat reports for the current deployment. Administrators can check instance health and see whether each node has loaded the latest settings and data. | Refreshes every 30 seconds. When any node is out of sync, the “Sync” column refreshes every 3 seconds. | Refresh manually. Delete one or all offline instance records. |
| System Tasks | Shows system maintenance tasks that run across instances and their execution status. Administrators can track current progress and review past runs. | Refreshes every 8 seconds while tasks are pending or running. Auto-refresh pauses when idle. Click “Refresh” to check for new tasks. Task history refreshes each time as well. | Refresh manually. Filter and clean up task history. |
Instance Fields
| Field | Definition | Source and Constraints | Notes |
|---|---|---|---|
| Instance | The node identity used in instance reports and database records. The second line shows the actual hostname. | Set by NODE_NAME. If unset, it falls back to the operating system hostname. | Instances that share a node name write to the same record and overwrite each other’s status. If NODE_NAME is unset, a yellow warning icon appears next to the name. Click it to view a configuration example. |
| Status | “Online” means the last report was 90 seconds ago or less. “Offline” means more than 90 seconds have elapsed since the last report. | Determined by the time of the most recent report. | This status tracks the application heartbeat only. Upstream services, the database, and Redis have separate health signals. See Instance Status. |
| Role | master or worker. | Set by NODE_TYPE. A value of NODE_TYPE=slave assigns the worker role. An unset value or any other value assigns the master role. | Hover to see “The master instance runs scheduled background tasks.” or “Worker instances do not run master-only background tasks.” |
| Sync | Whether the node has loaded the latest settings and data. | Reported by each node. | Shows “Synced,” “Updating,” or “Update Failed.” Hover to see the status and errors for each sync item on the node. This column only indicates whether the node’s in-memory data is current. Request health is tracked separately. See Sync Status. |
| CPU | The instance’s CPU usage percentage. | The most recent CPU sample from the performance monitor. | Samples can lag behind current usage. With performance monitoring disabled, the column displays 0% regardless of actual usage. |
| Memory | The instance’s memory usage percentage. | The most recent memory sample from the performance monitor. | In a container, the monitor uses the container’s memory limit when available and falls back to host memory usage otherwise. Both measurements cover more than the memory used by the individual New API process. |
| Storage | Usage of the file system that contains the disk cache path. | If no disk cache path is configured, the monitor uses the file system that contains the system temporary directory. | Hover to see “Used,” “Available,” and “Total.” The figures cover only that file system. |
| Version | The New API version running on this instance. | The build or runtime version of the instance process. | Use this field to identify version mismatches during multi-instance upgrades. |
| Runtime Environment | A platform such as linux/amd64. | The Go runtime’s GOOS/GOARCH values. | Identifies the operating system and CPU architecture only. |
| Start Time | When the current run of the instance began. | The instance process’s start time. | Updates when the instance restarts. |
| Last Report | The time of the last successful write of the instance heartbeat. | Recorded automatically by the system. | The page shows a relative time. Hover to see the full timestamp. |
Note
- The rings next to CPU, memory, and storage usage use fixed colors for quick scanning. Green indicates usage below 70%, yellow indicates usage from 70% to below 90%, and red indicates usage of 90% or higher.
- When performance monitoring is enabled, the monitor samples CPU and memory about every 5 seconds and uses container cgroup limits when available. Each instance reports its latest sample every 30 seconds. When performance monitoring is disabled, CPU and memory display 0%, and storage usage continues to be measured. Check the last report time and external monitoring when investigating an issue. For the toggle and thresholds, see Operations Settings › Performance.
System Task Fields
“Active Tasks” lists pending or running tasks. “Task History” lists succeeded and failed tasks, newest first, with 20 entries per page. Both tables use the same columns.
| Field | Definition | Source and Constraints | Notes |
|---|---|---|---|
| Type | Shows the Chinese name with the task identifier below it. | Recorded by the system according to the task type. | Unrecognized task types display the raw identifier. |
| Status | Pending, Running, Succeeded, or Failed. | Recorded by the system. | The status tracks the lifecycle of the system task batch. Individual items can have separate outcomes. See System Task Status. |
| Progress | Shows 0–100% when a valid numeric value is available. | Written by the node executing the task. | Tasks without numeric progress show -. The page omits processed and total counts. |
| Executing Instance | The identifier of the Master executor that claimed the task. “... Sync” tasks show - because they are handled without an executor claim. | Recorded by the system. | The identifier usually consists of the node name and a random suffix. Use the node name alone when you need NODE_NAME. |
| Updated At | The latest time the task was claimed, its progress was recorded, or its final status was set. | Recorded by the system. | This is a single timestamp for the most recent of those events. The page shows a relative time. Hover to see the full timestamp. |
| Details | Shows error text for failed tasks. For pending “... Sync” tasks, it shows the nodes that failed to load the change and their errors. | Recorded by the system. | Successful tasks usually show -. This field is limited to the details described here. Long text is truncated. Hover to see the full text. |
Common Operations
This section covers checking instances and sync status, removing offline instance records, and filtering and cleaning up task history.
View Instances and Sync Status
- System Information – Instance Monitoring

Each New API process attempts to report its instance information immediately after startup and then reports every 30 seconds.
Steps
- In the “Instances” panel, check each instance’s status, role, and resource usage.
- Hover over the status in the “Sync” column to view each sync item and any errors for that node.
- If a yellow warning icon appears next to the instance name, click it to view the “Configure NODE_NAME” example.
Note
- The sync items shown on hover vary by deployment. See Node Sync.
- The “Sync” column shows
-for offline instances and older nodes that do not report sync information.
Remove Offline Instance Records
- System Information – Remove Offline Instances

Deleting an offline instance removes only its status record from the database. The instance’s runtime state and any requests it is handling are unaffected. If the instance is still running and resumes reporting, the system recreates the record automatically.
Delete One Offline Instance Record
- Find an instance marked “Offline” in the instance list.
- Confirm the instance has been taken offline or that you no longer need its old record.
- Click the delete button at the end of the row.
- Click “Delete” in the confirmation dialog.
Delete All Offline Instance Records
- Review all offline instances in the current list and confirm you no longer need their records.
- Click “Delete All Offline Instances” in the upper-right corner of the panel.
- Click “Delete” in the confirmation dialog.
Note
- “Delete All Offline Instances” appears only when the list contains offline records.
- Both confirmation dialogs are titled “Delete Offline Instance.” When deleting all offline records, the dialog asks “Delete … offline instance records? Online instances will be kept.”
- After bulk deletion, the success message shows the number of records actually deleted.
Filter and Clean Up Task History
Steps
- Use the “All Types” and “All Statuses” dropdowns below “Task History” to filter the list. The available status filters are “Succeeded” and “Failed.” Click “Reset” to clear the filters.
- Click “Clean Up Task History” on the right.
- Click “Delete” in the confirmation dialog.
Caution
- Cleanup applies to all historical tasks that match the current filters across all pages.
- The system always keeps active tasks and the latest record of each task type. It uses the latest record to determine when the next scheduled run is due.
- Cleanup is permanent. The success message shows the number of records actually removed.
Rules and Behavior
This section covers system task types, how nodes sync changes, and how the system runs tasks and retains records.
System Task Types
Saving settings, Channels, administrator permissions, plugins, custom OAuth configurations, models, or subscription plans creates a corresponding “... Sync” task to track the rollout of the change across nodes.
Instances read the environment variables in the following tables only at startup. Restart the instances after changing these variables. For the full list, see Environment Variables.
Log Cleanup and Channel Testing
| UI Label | Task Identifier | Source and Trigger | Conditions and Behavior |
|---|---|---|---|
| Log Cleanup | log_cleanup | A Root user selects a cutoff time under “Log Maintenance” and starts cleanup manually in Operations Settings. | Deletes database logs older than the selected time in batches of 100 records. With a ClickHouse log database, a single synchronous mutation performs the cleanup. If a task of the same type is already active, the page continues to track the existing task. |
| Batch Channel Testing | channel_test | Trigger it manually with “Test All Channels” in Channel Management. To run it automatically at the configured “Test Interval (Minutes),” enable “Periodic Channel Testing” in Request Policy Settings. | Automatic runs require periodic Channel testing to be enabled. The system rejects a manual trigger while a task of the same type is active, preventing parallel batches. Setting CHANNEL_TEST_FREQUENCY to a positive integer forces periodic testing of all Channels at that interval in minutes. CHANNEL_TEST_ENABLED controls whether periodic testing is enabled. Both variables override the page settings. If both are set, CHANNEL_TEST_ENABLED takes precedence. See Request Policy Settings. |
Upstream Model and Balance Updates
| UI Label | Task Identifier | Source and Trigger | Conditions and Behavior |
|---|---|---|---|
| Batch Upstream Model Update | model_update | Run “Check All Upstream Updates” in Channel Management or let the periodic background task trigger it. | Processes only enabled Channels with upstream model checks turned on. The system rejects a manual trigger while a task of the same type is active.CHANNEL_UPSTREAM_MODEL_UPDATE_TASK_INTERVAL_MINUTES sets the automatic schedule in minutes. It defaults to 30, and values below 1 fall back to 30. CHANNEL_UPSTREAM_MODEL_UPDATE_TASK_ENABLED defaults to true. Set it to false to stop periodic runs. CHANNEL_UPSTREAM_MODEL_UPDATE_MIN_CHECK_INTERVAL_SECONDS specifies the minimum number of seconds between automatic checks of the same Channel. It defaults to 300, and negative values fall back to 300. Manual runs of “Check All Upstream Updates” are exempt from this minimum interval. All three settings are configured through environment variables. |
| Batch Balance Update | channel_balance | Click “Update All Balances” in Channel Management. Set CHANNEL_UPDATE_FREQUENCY to run it automatically at that interval in minutes as well. | Queries only enabled Channels. If a balance update is already active, the page displays “A balance update is already in progress.” and tracks the existing task. A Channel with “Auto-Disable on Error” enabled is automatically disabled if its reported balance is zero or negative.CHANNEL_UPDATE_FREQUENCY is unset by default, so updates are manual by default. A non-integer value prevents the instance from starting. The interval is configured through the environment variable. |
Polling, Cleanup, and Sync
| UI Label | Task Identifier | Source and Trigger | Conditions and Behavior |
|---|---|---|---|
| Image Generation Task Polling | midjourney_poll | Scheduled automatically by the system. The page shows drawing_task_poll as the secondary identifier. | Eligible to run at 15-second intervals when UPDATE_TASK is enabled and at least one Midjourney task is unfinished. The system creates records only when there is work to poll.UPDATE_TASK defaults to true. Set it to false to stop this task. This setting is configured through the environment variable. |
| Async Task Polling | async_task_poll | Scheduled automatically by the system. | Eligible to run at 15-second intervals when UPDATE_TASK is enabled and at least one Suno or video task is unfinished. The system creates records only when there is work to poll.UPDATE_TASK defaults to true. Set it to false to stop this task. This setting is configured through the environment variable. |
| Task Record Cleanup | system_task_cleanup | Scheduled automatically by the system once a day. | Deletes completed tasks older than the configured “Completed Task Retention (Days)” and keeps the latest record of each type. See Operations Settings. |
| Settings Sync, Channel Sync, Permissions Sync, Plugin Sync, Login Method Sync, Model Sync, Subscription Plan Sync | sync_* | Created automatically when the corresponding data is saved. | Changes to “Succeeded” once all online nodes have loaded the change. Remains “Pending” if any online node has failed to load it or has yet to load it. See Node Sync. |
Node Sync
After settings, Channels, or other data are saved, nodes use sync tasks to load the changes. The “Sync” column in the instance table and the “... Sync” tasks both reflect this process.
Sync Items
- All nodes sync settings, permissions, plugins, login methods, and models.
- Only nodes with in-memory caching enabled and Master instances sync Channels. Set
MEMORY_CACHE_ENABLED=trueor enable Redis to enable in-memory caching. - Nodes sync subscription plans only when Redis is disabled. The
REDIS_CONN_STRINGenvironment variable determines whether Redis is enabled. - The “Sync” tooltip lists all sync items used by any node in the deployment. If a node skips an item, such as Channels on a Worker instance without in-memory caching, it reads that data directly from the database or shared cache, and the item shows “Synced.”
Loading Rules
- Each node checks for sync tasks every 3 seconds. When it detects a new change, it reloads the data and reports immediately. The “Sync” column updates ahead of the next 30-second instance report.
- If loading fails, the node shows “Update Failed,” records the error, and retries on the next check. The error clears automatically once loading succeeds.
- If the system fails to write a sync task or the cluster contains older nodes, settings, permissions, and the Channel cache reload at the regular sync interval as a fallback.
SYNC_FREQUENCYcontrols the interval in seconds and defaults to 60. Fallback intervals vary for other sync items. See Scope and Multi-Instance Sync.
How “... Sync” Tasks Complete
- The Master instance checks about every 15 seconds. Once every online node that syncs the item has loaded the change, the task changes to “Succeeded” and progress reaches 100%.
- While the task is pending, “Progress” shows the percentage of nodes that have loaded the change, and “Details” shows the nodes that failed to load it and their errors.
- The check excludes nodes that have gone more than 90 seconds without reporting.
- If no Master instance is running, “... Sync” tasks remain “Pending.” Nodes continue to check every 3 seconds and apply the changes when they load them.
Task Execution and Retention
Only Master instances execute system tasks. The system retains records according to the rules below.
Execution Rules
- The Master instance checks about every 15 seconds, claims pending tasks, and creates new tasks for scheduled runs that are due.
- A manual trigger immediately wakes the Master instance handling the request. If a Worker instance handles the request, a Master instance claims the task within about 15 seconds.
- The system creates a task only if there is no active task of the same type.
- The executing instance renews the 60-second task lock every 20 seconds. If the lock expires before renewal, the system marks the task “Failed” and shows
task lease expiredin “Details.” - If no Master instance is running, tasks remain “Pending.” Only Master instances claim system tasks.
Retention Rules
- Manual cleanup always keeps active tasks and the latest record of each task type.
- Each day, the system automatically deletes completed tasks older than the configured “Completed Task Retention (Days),” which defaults to 30 days. It keeps the latest record of each type. See Operations Settings.
Controls and Actions
Page Buttons and Filters
| Control | Location | Description |
|---|---|---|
| “Auto-refresh every 30 seconds” | Upper-right corner of the “Instances” panel | Informational text with no click action. |
| “Delete All Offline Instances” | Upper-right corner of the “Instances” panel | Appears only when the list contains offline records. See Remove Offline Instance Records. |
| “Refresh” | Upper-right corner of the “Instances” panel | Reloads the instance list and the “Sync” column. |
| “Auto-refresh every 8 seconds” and “Auto-refresh paused when no tasks are active” | Upper-right corner of the “System Tasks” panel | Shows the first message when tasks are pending or running and the second when the panel is idle. |
| “Refresh” | Upper-right corner of the “System Tasks” panel | Reloads active tasks and refreshes task history. |
| “All Types” and “All Statuses” | Below the “Task History” heading | Filter by any of 14 task types or by “Succeeded” or “Failed.” Changing a filter returns the list to page 1. Filters reset when you reload the page. |
| “Reset” | To the right of the filters | Appears when a filter is active. Clears both filters. |
| “Clean Up Task History” | To the right of “Task History” | Available when the list has loaded successfully, at least one historical task matches the current filters, and no cleanup is in progress. See Filter and Clean Up Task History. |
| “Previous” and “Next” | Bottom of “Task History” | “Total: …” appears on the left. Each page shows 20 records. |
Row Actions
| Action | Location | Description |
|---|---|---|
| Delete icon | “Actions” column at the end of an offline instance row | Hover to see “Delete Offline Instance.” Online instances show - because deletion from this page is available only for offline instances. See Remove Offline Instance Records. |
Status Reference
Instance Status
The “Status” column in the instance table shows the following states.
| Status | Meaning | Notes |
|---|---|---|
| Online | The last report was 90 seconds ago or less. | Green. This status tracks the application heartbeat only. Upstream services, the database, and Redis have separate health signals. |
| Offline | More than 90 seconds have elapsed since the last report. | Yellow. Brief database outages or network interruptions can also cause this state. You can delete the record after confirming the instance has been taken offline. See Remove Offline Instance Records. |
Sync Status
The “Sync” column in the instance table shows the following states.
| Status | Meaning | Notes |
|---|---|---|
| Synced | The node has loaded the latest changes for every item listed in its sync tooltip. | Green. |
| Updating | One or more sync items have yet to load the latest changes. | Shows a spinner. Each node checks for sync tasks every 3 seconds. |
| Update Failed | The node failed to load one or more sync items. | Red. Hover to see the affected sync items and the original error text. The node retries automatically on the next check. See Frequently Asked Questions. |
- | The instance is offline or has supplied no sync information, as may be the case for an older node awaiting an upgrade. | — |
System Task Status
The “Status” column in “Active Tasks” and “Task History” shows the following states.
| Status | Meaning | Notes |
|---|---|---|
| Pending | The task has been created and is waiting to be claimed. For “... Sync” tasks, one or more online nodes still need to load the change. | Amber. If the task remains pending, see Frequently Asked Questions. |
| Running | A Master instance has claimed the task and is executing it. | Blue. Appears under “Active Tasks.” |
| Succeeded | The batch completed normally. For “... Sync” tasks, all online nodes have loaded the change. | Green. |
| Failed | An error occurred during execution, or the task lock expired before renewal. | Red. See “Details” for the error. |
Note
Succeeded means the system task batch completed normally. Individual Channels or application tasks in that batch can still fail. Channel tests, model checks, and asynchronous polling record individual failures in the result summary or server logs.
Saving Changes and When They Take Effect
This page has no Save button. Deletion and cleanup take effect as soon as you click “Delete” in the confirmation dialog and cannot be undone. The Master instance claims and runs system tasks.
| Operation | How to Apply | When It Takes Effect |
|---|---|---|
| Delete a single stale instance | Click the delete button at the end of the row, then click “Delete” in the confirmation dialog. | Immediately deletes the instance record from the database if the instance has gone more than 90 seconds without reporting a heartbeat. An instance that resumes reporting before you confirm is retained. |
| Delete all stale instances | Click “Delete All Stale Instances,” then click “Delete” in the confirmation dialog. | Immediately deletes all records for instances that have gone more than 90 seconds without reporting a heartbeat. The success message shows how many records were actually deleted. |
| Clean up historical tasks | Click “Clean Up Historical Tasks,” then click “Delete” in the confirmation dialog. | Immediately deletes succeeded and failed tasks matching the current filters across all pages. In-progress tasks and the latest record of each task type are always retained. |
| Instance status | No action required. | Instances report a heartbeat every 30 seconds. An instance shows as “Stale” after more than 90 seconds without a heartbeat. After a refresh, the displayed status can be up to one reporting interval behind. |
| Manually triggered system tasks | Start a task in Channel Management or Operations Settings. | The task initially shows as “Pending.” If the Master instance handles the request, the task starts immediately. Otherwise, the Master instance claims it within about 15 seconds. If a task of the same type is already in progress, the system skips creating another one. |
| Scheduled system tasks | The system schedules these tasks automatically. | The Master instance checks for due tasks about every 15 seconds and creates a new task when one is due. |
| “… Sync” tasks | The system creates these tasks automatically when the corresponding data is saved. | Each node checks for and loads the changes within about 3 seconds. Once all online nodes that sync that item have loaded the changes, the Master instance marks the task as “Succeeded” on its next check. See Node Synchronization. |
| Task record cleanup | The system schedules cleanup automatically. | Runs once a day. After you change “Completed Task Retention (Days)” in Operations Settings, the next cleanup uses the new value. |
Additional note
- Instance records can be recreated. Deleting a stale instance only removes its record from the database. If the instance is still running, its next heartbeat recreates the record.
Important Notes
- An instance can show as “Stale” while still running. The status means that more than 90 seconds have passed without a heartbeat. A brief database outage or network interruption can also cause this status. Before deleting all stale records, confirm that the affected nodes are offline.
- Only the Master instance runs system tasks. Worker instances do not claim system tasks. If no Master instance is running, tasks remain “Pending.” See Task Execution and Retention.
- Node names must be unique. When multiple instances use the same
NODE_NAME, they write to the same record and overwrite each other’s status.
FAQ
Related Documentation
- Channel Management — Run batch Channel tests, update balances, detect upstream models, and review individual results.
- Request Policy Settings — Configure scheduled Channel testing, automatic disabling, and automatic recovery.
- Operations Settings — Configure system behavior, email and notifications, Worker proxy settings, performance monitoring, log maintenance (including the retention period for system task records), and version checks.
- Usage Logs — View request logs and charge details.
- Task Logs — View users’ image, music, and video generation tasks.
- Environment Variables — Configure node roles and control which background tasks are enabled.
- Cluster Deployment — Learn how to deploy Master and Worker instances and their shared infrastructure.
How is this guide?
Last updated on
Subscription Management
Create and maintain subscription plans, configure validity periods, quota reset cycles, group benefits, and payment methods, and manage whether plans are published.
Plugin Management
Manage task, channel, and request processing plugins. View built-in plugins, upload plugins or install them from the marketplace, create plugin channels, and manage plugin enablement, versions, and channel bindings.