mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-26 01:05:52 +03:00
[GH-ISSUE #1455] Infinite indexing of log, 100% CPU and memory usage #5240
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#5240
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @adriancoca on GitHub (Nov 27, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1455
Describe the bug
100% CPU and memory usage and infinite indexing.
Log size 330MB
To Reproduce
Enable Advanced Indexing
Expected behavior
Should index without 100% CPU and RAM
16 cpu 32 GB ram
Info (please complete the following information):
Additional context
I had to use this api/nginx_log/settings/advanced_indexing/disable to stop the indexing. No button in frontend it seems. Glad to offer you more information if needed. Thx
@0xJacky commented on GitHub (Nov 28, 2025):
Can you provide the logs of nginx-ui? When the CPU is stuck at 100%, use
journalctl -fu nginx-ui@adriancoca commented on GitHub (Nov 28, 2025):
Nov 27 23:39:23 zeus systemd[1]: nginx-ui.service: Main process exited, code=killed, status=9/KILL
Nov 27 23:39:23 zeus systemd[1]: nginx-ui.service: Failed with result 'signal'.
Nov 27 23:39:23 zeus systemd[1]: nginx-ui.service: Consumed 8min 49.177s CPU time.
Nov 27 23:39:23 zeus systemd[1]: nginx-ui.service: Scheduled restart job, restart counter is at 6.
Nov 27 23:39:23 zeus systemd[1]: Stopped Yet another WebUI for Nginx.
Nov 27 23:39:23 zeus systemd[1]: nginx-ui.service: Consumed 8min 49.177s CPU time.
Nov 27 23:39:23 zeus systemd[1]: Started Yet another WebUI for Nginx.
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.720 INFO cron/upstream_availability.go:29 Upstream availability testing job started with 30s interval
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.720 INFO cron/incremental_indexing.go:16 Setting up incremental log indexing job
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.721 INFO cron/incremental_indexing.go:30 Incremental log indexing job scheduled to run every 5 minutes
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.720 INFO cache/cache.go:37 Initializing full cache system - ensuring clean state...
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.720 INFO user/cache.go:46 Initializing token cache...
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.720 INFO nginx_log/modern_services.go:59 Initializing modern nginx log services...
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.721 INFO nginx_log/modern_services.go:91 Initializing services with default configuration
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.720 INFO analytic/node_record.go:287 RetrieveNodesStatus start
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.721 WARN cache/cache.go:72 Cache not initialized, returning not found.
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.721 INFO cert/auto_cert.go:23 AutoCert Worker Started
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.721 INFO cache/index.go:865 Force releasing all scanner resources...
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.724 INFO indexer/parser.go:50 Nginx log processing optimization system initialized with production configuration
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.725 INFO indexer/adaptive_optimization.go:141 Adaptive optimizer initialized: workers=[4, 48, 96] (min, current, max), target_cpu=75.0%, threshold=10.0%
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.730 INFO cert/auto_cert.go:28 AutoCert Worker End
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.733 WARN cache/cache.go:62 Cache not initialized, skipping Set operation.
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.736 WARN cache/cache.go:62 Cache not initialized, skipping Set operation.
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.736 WARN cache/cache.go:62 Cache not initialized, skipping Set operation.
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.736 INFO user/cache.go:83 Loaded 1 auth tokens into cache
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.738 INFO cache/cache.go:30 In-memory cache initialized successfully
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.739 INFO indexer/adaptive_optimization.go:170 Adaptive optimizer started
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.739 INFO nginx_log/modern_services.go:520 Retrieved 0 new shards from indexer for hot-swap update
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.739 INFO searcher/searcher.go:486 IndexAlias.Swap completed in 700ns (old=0 shards, new=0 shards)
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.739 ERROR searcher/searcher.go:533 Post-swap searcher test query failed: no healthy shards available
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.739 ERROR nginx_log/modern_services.go:551 Failed to swap shards atomically: searcher test failed after shard swap: no healthy shards available
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.739 INFO nginx_log/modern_services.go:71 Modern nginx log services initialization completed
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.739 INFO nginx_log/modern_services.go:78 Started nginx_log shutdown monitor goroutine
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.739 INFO cache/search.go:105 Creating new search index at: /tmp/nginx-ui-search-index-3998343102
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.748 INFO cache/search.go:118 Search index initialized successfully
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.748 INFO cache/cache.go:49 Starting config scanner initialization...
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.748 INFO cache/index.go:865 Force releasing all scanner resources...
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.750 INFO cache/cache.go:51 Cache system initialization completed
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.750 INFO analytic/analytic.go:53 RecordServerAnalytic Started
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.750 INFO event/init.go:11 Initializing event system...
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.750 INFO event/init.go:16 Event system initialized successfully
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.750 INFO event/websocket.go:21 Initializing WebSocket hub...
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.750 INFO event/websocket.go:29 WebSocket hub initialized successfully
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.753 INFO ./main.go:104 Started graceful shutdown handler goroutine
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.840 INFO searcher/searcher.go:504 Cache cleared after shard swap to prevent stale results
Nov 27 23:39:24 zeus nginx-ui[3247078]: 2025-11-27 23:39:24.853 INFO kernel/server_factory.go:204 Server started successfully on [::]:9000, supporting: h1
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.751 INFO event/processing_status.go:72 Nginx log indexing status changed to: true
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.771 INFO indexer/parallel_indexer.go:1246 Found 15 file(s) for log group /var/log/nginx/access.log: [/var/log/nginx/access.log /var/log/nginx/access.log.1 />Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.808 INFO indexer/parallel_indexer.go:1283 Processing 15 files in log group /var/log/nginx/access.log with concurrency=16
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.808 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.4.gz
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.808 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.9.gz
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.808 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.13.gz
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.808 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.5.gz
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.808 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.6.gz
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.808 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.8.gz
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.808 WARN indexer/parser.go:275 File /var/log/nginx/access.log.4.gz has .gz extension but no gzip magic header (header: 3139), treating as plain text
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.808 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.14.gz
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.808 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.12.gz
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.808 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.2.gz
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.808 WARN indexer/parser.go:275 File /var/log/nginx/access.log.5.gz has .gz extension but no gzip magic header (header: 3139), treating as plain text
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.808 WARN indexer/parser.go:275 File /var/log/nginx/access.log.13.gz has .gz extension but no gzip magic header (header: 3139), treating as plain text
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.808 WARN indexer/parser.go:275 File /var/log/nginx/access.log.6.gz has .gz extension but no gzip magic header (header: 3139), treating as plain text
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.808 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.808 WARN indexer/parser.go:275 File /var/log/nginx/access.log.8.gz has .gz extension but no gzip magic header (header: 3139), treating as plain text
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.808 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.7.gz
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.808 WARN indexer/parser.go:275 File /var/log/nginx/access.log.9.gz has .gz extension but no gzip magic header (header: 3139), treating as plain text
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.809 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.11.gz
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.809 WARN indexer/parser.go:275 File /var/log/nginx/access.log.12.gz has .gz extension but no gzip magic header (header: 3139), treating as plain text
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.809 WARN indexer/parser.go:275 File /var/log/nginx/access.log.2.gz has .gz extension but no gzip magic header (header: 3139), treating as plain text
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.808 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.3.gz
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.809 WARN indexer/parser.go:275 File /var/log/nginx/access.log.11.gz has .gz extension but no gzip magic header (header: 3139), treating as plain text
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.809 WARN indexer/parser.go:275 File /var/log/nginx/access.log.3.gz has .gz extension but no gzip magic header (header: 3139), treating as plain text
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.809 WARN indexer/parser.go:275 File /var/log/nginx/access.log.14.gz has .gz extension but no gzip magic header (header: 3139), treating as plain text
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.809 WARN indexer/parser.go:275 File /var/log/nginx/access.log.7.gz has .gz extension but no gzip magic header (header: 3139), treating as plain text
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.808 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.1
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.808 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.10.gz
Nov 27 23:39:29 zeus nginx-ui[3247078]: 2025-11-27 23:39:29.809 WARN indexer/parser.go:275 File /var/log/nginx/access.log.10.gz has .gz extension but no gzip magic header (header: 3139), treating as plain text
Nov 27 23:39:53 zeus nginx-ui[3247078]: [GIN] 2025/11/27 - 23:39:53 | 200 | 145.757986ms | 192.168.0.241 | GET "/api/node"
Nov 27 23:40:07 zeus systemd[1]: nginx-ui.service: Main process exited, code=killed, status=9/KILL
Nov 27 23:40:07 zeus systemd[1]: nginx-ui.service: Failed with result 'signal'.
Nov 27 23:40:07 zeus systemd[1]: nginx-ui.service: Consumed 8min 34.375s CPU time.
Nov 27 23:40:07 zeus systemd[1]: nginx-ui.service: Scheduled restart job, restart counter is at 7.
Nov 27 23:40:07 zeus systemd[1]: Stopped Yet another WebUI for Nginx.
Nov 27 23:40:07 zeus systemd[1]: nginx-ui.service: Consumed 8min 34.375s CPU time.
Nov 27 23:40:07 zeus systemd[1]: Started Yet another WebUI for Nginx.
@0xJacky commented on GitHub (Nov 29, 2025):
Can you upgrade the nginx-ui to the latest dev version by using the following command to check if the issue has been fixed?
@kamihicouki commented on GitHub (Dec 3, 2025):
I'm facing the same issue after enabling log indexing.
I accessed the API URL mentioned above via my browser, but I'm not sure if it actually disabled it. Could you tell me how to ensure that the indexing is definitely stopped?
@0xJacky commented on GitHub (Dec 3, 2025):
Can you upgrade the nginx-ui to the latest dev version by using the following command to check if the issue has been fixed?
bash -c "$(curl -L https://cloud.nginxui.com/install.sh)" @ install --channel dev
@adriancoca commented on GitHub (Dec 3, 2025):
@0xJacky tried this, in UI i have Version: 2.2.1 (508) , same full CPU usage.
Dec 04 00:26:11 zeus systemd[1]: Started Yet another WebUI for Nginx.
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.484 INFO nginx_log/modern_services.go:59 Initializing modern nginx log services...
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.484 INFO nginx_log/modern_services.go:91 Initializing services with default configuration
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.484 INFO analytic/node_record.go:287 RetrieveNodesStatus start
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.485 INFO user/cache.go:46 Initializing token cache...
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.485 INFO cron/upstream_availability.go:29 Upstream availability testing job started with 30s interval
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.485 INFO cron/incremental_indexing.go:22 Setting up incremental log indexing job
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.484 INFO cache/cache.go:37 Initializing full cache system - ensuring clean state...
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.485 INFO cron/incremental_indexing.go:36 Incremental log indexing job scheduled to run every 5 minutes
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.485 WARN cache/cache.go:72 Cache not initialized, returning not found.
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.485 INFO cert/auto_cert.go:23 AutoCert Worker Started
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.485 INFO cache/index.go:865 Force releasing all scanner resources...
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.488 INFO user/cache.go:83 Loaded 0 auth tokens into cache
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.489 INFO indexer/parser.go:50 Nginx log processing optimization system initialized with production configuration
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.489 INFO indexer/adaptive_optimization.go:141 Adaptive optimizer initialized: workers=[4, 48, 96] (min, current, >Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.493 INFO cache/cache.go:30 In-memory cache initialized successfully
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.494 INFO cert/auto_cert.go:28 AutoCert Worker End
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.495 INFO cache/search.go:105 Creating new search index at: /tmp/nginx-ui-search-index-3807004719
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.509 INFO cache/search.go:118 Search index initialized successfully
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.509 INFO cache/cache.go:49 Starting config scanner initialization...
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.509 INFO cache/index.go:865 Force releasing all scanner resources...
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.510 INFO cache/cache.go:51 Cache system initialization completed
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.511 INFO analytic/analytic.go:53 RecordServerAnalytic Started
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.511 INFO event/init.go:11 Initializing event system...
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.511 INFO event/init.go:16 Event system initialized successfully
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.511 INFO event/websocket.go:21 Initializing WebSocket hub...
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.511 INFO event/websocket.go:29 WebSocket hub initialized successfully
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.514 INFO ./main.go:104 Started graceful shutdown handler goroutine
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.572 INFO indexer/grouped_shard_manager.go:526 Loaded shard group 999eaa68-fd52-4c87-873f-798b32d112d6 for mainLog>Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.573 INFO indexer/adaptive_optimization.go:170 Adaptive optimizer started
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.573 INFO nginx_log/modern_services.go:520 Retrieved 8 new shards from indexer for hot-swap update
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.573 INFO searcher/searcher.go:486 IndexAlias.Swap completed in 1µs (old=0 shards, new=8 shards)
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.586 INFO nginx_log/modern_services.go:556 Successfully swapped 0 old shards with 8 new shards using IndexAlias
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.586 INFO nginx_log/modern_services.go:562 Post-swap searcher status: isHealthy: true, isRunning: true
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.586 INFO nginx_log/modern_services.go:71 Modern nginx log services initialization completed
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.586 INFO nginx_log/modern_services.go:78 Started nginx_log shutdown monitor goroutine
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.614 INFO kernel/server_factory.go:204 Server started successfully on [::]:9000, supporting: h1
Dec 04 00:26:12 zeus nginx-ui[3444200]: 2025-12-04 00:26:12.673 INFO searcher/searcher.go:504 Cache cleared after shard swap to prevent stale results
Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.599 INFO event/processing_status.go:72 Nginx log indexing status changed to: true
Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.611 INFO indexer/parallel_indexer.go:1246 Found 15 file(s) for log group /var/log/nginx/access.log: [/var/log/ngi>Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.647 INFO indexer/parallel_indexer.go:1283 Processing 15 files in log group /var/log/nginx/access.log with concurr>Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.647 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.9.gz
Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.647 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.13.gz
Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.647 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.5.gz
Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.647 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.3.gz
Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.647 WARN indexer/parser.go:275 File /var/log/nginx/access.log.9.gz has .gz extension but no gzip magic header (he>Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.647 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.2.gz
Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.647 WARN indexer/parser.go:275 File /var/log/nginx/access.log.13.gz has .gz extension but no gzip magic header (h>Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.647 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.4.gz
Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.647 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.8.gz
Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.647 WARN indexer/parser.go:275 File /var/log/nginx/access.log.3.gz has .gz extension but no gzip magic header (he>Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.647 WARN indexer/parser.go:275 File /var/log/nginx/access.log.5.gz has .gz extension but no gzip magic header (he>Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.647 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.7.gz
Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.648 WARN indexer/parser.go:275 File /var/log/nginx/access.log.8.gz has .gz extension but no gzip magic header (he>Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.648 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.14.gz
Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.648 WARN indexer/parser.go:275 File /var/log/nginx/access.log.4.gz has .gz extension but no gzip magic header (he>Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.648 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log
Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.648 WARN indexer/parser.go:275 File /var/log/nginx/access.log.14.gz has .gz extension but no gzip magic header (h>Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.648 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.1
Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.647 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.6.gz
Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.648 WARN indexer/parser.go:275 File /var/log/nginx/access.log.2.gz has .gz extension but no gzip magic header (he>Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.648 WARN indexer/parser.go:275 File /var/log/nginx/access.log.6.gz has .gz extension but no gzip magic header (he>Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.649 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.11.gz
Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.649 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.12.gz
Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.649 WARN indexer/parser.go:275 File /var/log/nginx/access.log.11.gz has .gz extension but no gzip magic header (h>Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.649 WARN indexer/parser.go:275 File /var/log/nginx/access.log.12.gz has .gz extension but no gzip magic header (h>Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.649 INFO indexer/parallel_indexer_optimized.go:113 Starting to process file: /var/log/nginx/access.log.10.gz
Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.649 WARN indexer/parser.go:275 File /var/log/nginx/access.log.10.gz has .gz extension but no gzip magic header (h>Dec 04 00:26:17 zeus nginx-ui[3444200]: 2025-12-04 00:26:17.649 WARN indexer/parser.go:275 File /var/log/nginx/access.log.7.gz has .gz extension but no gzip magic header (he>Dec 04 00:26:21 zeus nginx-ui[3444200]: 2025-12-04 00:26:21.168 INFO indexer/parser.go:106 ParseStream processed 24337 lines with 0.00% error rate
Dec 04 00:26:21 zeus nginx-ui[3444200]: 2025-12-04 00:26:21.168 INFO indexer/parallel_indexer_optimized.go:128 Using optimized stream processing for file /var/log/nginx/acce>Dec 04 00:26:21 zeus nginx-ui[3444200]: 2025-12-04 00:26:21.197 INFO indexer/parallel_indexer_optimized.go:219 Finished processing file: /var/log/nginx/access.log. Total lin>Dec 04 00:26:22 zeus nginx-ui[3444200]: 2025-12-04 00:26:22.579 INFO indexer/adaptive_optimization.go:610 Adjusting worker count from 48 to 60
Dec 04 00:26:22 zeus nginx-ui[3444200]: 2025-12-04 00:26:22.579 INFO indexer/parallel_indexer.go:178 Handling worker count change from 48 to 60
Dec 04 00:26:22 zeus nginx-ui[3444200]: 2025-12-04 00:26:22.580 INFO indexer/parallel_indexer.go:206 Successfully adjusted worker count to 60
Dec 04 00:26:22 zeus nginx-ui[3444200]: 2025-12-04 00:26:22.580 INFO indexer/adaptive_optimization.go:553 Increased workers from 48 to 60 due to CPU underutilization
Dec 04 00:26:27 zeus nginx-ui[3444200]: 2025-12-04 00:26:27.573 INFO indexer/adaptive_optimization.go:610 Adjusting worker count from 60 to 68
Dec 04 00:26:27 zeus nginx-ui[3444200]: 2025-12-04 00:26:27.573 INFO indexer/parallel_indexer.go:178 Handling worker count change from 60 to 68
Dec 04 00:26:27 zeus nginx-ui[3444200]: 2025-12-04 00:26:27.573 INFO indexer/parallel_indexer.go:206 Successfully adjusted worker count to 68
Dec 04 00:26:27 zeus nginx-ui[3444200]: 2025-12-04 00:26:27.573 INFO indexer/adaptive_optimization.go:553 Increased workers from 60 to 68 due to CPU underutilization
@kamihicouki to stop it you need to do a POST request with a token you can find in front request like in below picture.
@0xJacky commented on GitHub (Dec 4, 2025):
I have attempted to fix this issue, including setting a time interval for file scanning, limiting the number of Workers, and full scans may consume more resources. Subsequent incremental scans should be optimized. You can update to the latest dev test version. Additionally, I would like to add that in the app.ini file, you can set the IndexingEnabled option under the nginx_log section to false, and then restart nginx-ui to disable the indexing function. @adriancoca @kamihicouki