耗子 5fbd84b039 perf: 修复告警评估拖垮服务器负载
sshd 日志改为优先读 /var/log/auth.log 或 /var/log/secure,按字节偏移增量读取,
无文本日志时才回退 journald。journald 按单位过滤要沿匹配链遍历,实测一台
3.6G journal 的机器上取最后一条都超过 30 秒,游标方案因首次定位就超时而始终
建立不起来,每轮都退回全量扫描,iowait 长期 80% 以上;调度器的 SkipIfRunning
又会让整个告警评估随之停摆。同机对比,读文本日志耗时 0.1 秒。

其余:
- 采集前先判断事件是否已订阅且配好渠道,此前是扫完才发现没人接收
- 没有系统类规则时跳过 CurrentInfo,其内部两次 cpu.Percent 各阻塞 100ms
- 清理已消失目标的静默记录,此前只清命中计数,动态目标下会持续堆积
- disk.Usage 出错返回 nil 时直接解引用会 panic

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-15 07:02:17 +08:00
2024-10-12 22:05:58 +08:00
2025-10-15 17:00:28 +08:00
2024-10-10 23:47:37 +08:00
2026-04-28 04:18:39 +08:00
2025-08-22 17:37:02 +08:00
2026-01-13 18:46:13 +08:00
2025-08-22 17:05:09 +08:00
2025-08-22 05:59:57 +08:00
2026-02-26 16:18:05 +08:00
2026-03-27 19:58:16 +08:00

[简体中文] | [English]

AcePanel

New generation of all-in-one server operation and maintenance management panel
Simple and lightweight, efficient operation and maintenance

Website: acepanel.net | QQ group: 12370907 | WeChat group: Copy this link

Go Release Test Report Card Stars License

Advantages

  1. Extremely low occupancy: Developed in Go language, small installation package, low occupancy, single file operation, will not affect system performance
  2. Low Destructiveness: Designed to minimize additional modifications to the system, we make the fewest modifications to the system among similar products
  3. Follow the Times: The overall design is at the forefront of the times, with good compatibility with new systems, leading in the same type of products
  4. Efficient Operation and Maintenance: Complete functions, strong customization capabilities, can quickly deploy small websites, and deploy complex applications based on customized requirements
  5. Offline Operation: Support offline mode, and even stop the panel process after deployment, without affecting any existing services
  6. Safe and Stable: The panel adopts a variety of industry technologies to ensure the security of the body, and has been running stably in multiple survival environments for a long time
  7. Fully Open Source: Few fully open source panels, you can freely modify and develop the panel on the premise of complying with the open source agreement
  8. Permanently free: Commit to the panel body will not introduce any charging/authorization functions in the future, and will be permanently free to use

Quick Install

Supported clean mainstream systems under amd64 | arm64 architecture, please refer to the installation documentation for specific supported systems.

bash <(curl -sSLm 10 https://dl.acepanel.net/helper.sh)

UI Screenshots

UI Screenshots

Partners

If the AcePanel is helpful to you, welcome to sponsor us, also thanks to the following supporters/sponsors:

微晓朵 林枫云 盘古云 WAFPRO 盾云SCDN 毫秒镜像

sponsors

Star History

Star History Chart
S
Description
耗子面板 (RatPanel) - 新一代服务器运维管理面板。简单轻量,高效运维。
Readme BSD-3-Clause 145 MiB
Languages
Go 59.2%
Vue 40.8%