#devops
共 933 篇文章
解决 Hasura 报错 Metadata reload timeout schema cache 同步超时修复
排查 Hasura GraphQL Engine 在管理后台应用元数据或重启时报 timed out while waiting for schema cache reload,分析 PostgreSQL 数据库连接锁与事件触发器依赖。
解决 OSSEC 报错 active-response: Command not found 防御脚本权限修复
排查 OSSEC 检测到爆破攻击后未能联动 iptables 封禁,日志提示 active-response: Command 'firewall-drop.sh' not found,分析 脚本可执行权限与路径配置。
解决 Vitess 报错 VReplication workflow stalled 数据迁移工作流停滞修复
排查 Vitess 执行 MoveTables 或 Resharding 在线水平拆分时进度停滞在 99% 或报错 VReplication stream stalled,分析 binlog 格式与网络心跳。
解决 OpenFaaS 报错 Function cannot scale from zero 零唤醒失败修复
排查 OpenFaaS 开启 scale-to-zero 特性后,当函数缩容为 0 副本时无法通过 HTTP 请求自动拉起唤醒,返回 500 Internal Server Error,分析 faas-idler 与 Alertmanager 规则。
Elasticsearch 节点异常退出导致重分片风暴(Relocation Storm)网络瘫痪排排查
排查 Elasticsearch 集群在某台数据节点瞬时重启或短暂断网时,集群误判节点永久丢失从而触发全量分片跨节点重分配网络风暴的防护方案。
解决 Graylog 报错 Journal utilization is too high 消息积压修复
排查企业日志系统 Graylog 界面弹出 Journal utilization is too high (100.0%) 告警,分析 Elasticsearch 写入瓶颈与调优 processbuffer 线程。
解决 Consul Connect 报错 service-splitter resolution failed 流量切分失败修复
排查 Consul 配置 service-splitter 进行金丝雀发布时流量未能分流,报错 split target service not found in catalog,分析 ServiceSplitter 与 ServiceResolver 依赖。
解决 Elasticsearch 报错 IndexNotFoundException 索引缺失
分析查询 Elasticsearch 提示 404 index_not_found_exception 的排查方法,提供 ignore_unavailable 与索引模板自动创建方案。
解决 Pacemaker 报错 crm_mon: Connection to cluster failed 修复
排查 运行 crm_mon 或 pcs status 抛出 Connection to cluster failed: Connection refused,分析 pacemakerd 与 corosync 启动顺序。
解决 Sentry 报错 Source map not found unminified stacktrace 源码映射修复
排查 Sentry 捕获前端 React/Vue 生产报错时,错误堆栈显示 minified scripts: app.44120.js:1:1420 无法还原真实源码行号,提示 Source map not found,分析 release 版本号匹配与 dist 目录上传。
解决 PostgreSQL 报错 remaining connection slots reserved 槽位耗尽
分析 PostgreSQL 连接池耗尽报 remaining connection slots are reserved 的排查方法与 max_connections/PgBouncer 调优步骤。
解决 Apache Pulsar 报错 Broker overload shedding loop 命名空间频繁卸载风暴修复
排查 Pulsar 生产消费频繁发生毫秒级震荡重连,日志显示 shedding namespace bundle due to high CPU 或 load rebalance loop,分析 负载均衡策略阈值配置。
解决 Systemd 报错 Watchdog timeout service killed 看门狗超时强杀修复
排查 systemd 托管的关键守护进程在运行中被系统强杀重启,journalctl 记录 Watchdog timeout! Service failed to ping watchdog within time,分析 sd_notify 心跳机制与 WatchdogSec 配置。
解决 Prometheus 标签基数爆炸 High cardinality 导致 OOM 崩溃修复
排查 在高并发生产环境中 Prometheus 内存使用率突然无节制飙升并被系统 OOM Killer 强杀(SIGKILL),分析 用户 ID/动态 URL 导致的时序基数膨胀与 metric_relabel_configs 标签丢弃策略。
解决 Git 报错 fatal: refusing to merge unrelated histories 的排查指南
排查与解决 Git 拉取或合并远程分支提示 refusing to merge unrelated histories 拒绝合并无关历史的完整方案。
解决 Garfish 报错 Sub-app HTML entry parse failed 入口解析失败修复
排查 Garfish 使用 HTML Entry 模式加载子应用时,报 Failed to parse HTML entry: unexpected token or MIME type text/plain,分析 Nginx 返回格式与 HTML 规范。
解决 etcd 报错 apply request took too long 磁盘写入过慢修复
排查 etcd 控制台频繁告警 apply request took too long 或 took too long to execute fsync,分析物理磁盘 IOPS 与单独挂载盘。
解决 SonarQube 报错 Analysis failed: Compute Engine OutOfMemoryError 修复
排查 SonarQube 解析大型单体项目报告失败报 java.lang.OutOfMemoryError: Java heap space [ce],分析 ce.javaOpts 堆内存调优。
解决 RabbitMQ 报错 Quorum queue raft election failed 仲裁队列失步修复
排查 RabbitMQ 仲裁队列(Quorum Queues)无法消费写入,日志报错 raft election failed: no leader 或 quorum lost,分析 Raft 日志分歧与节点脱网恢复。
解决 Nginx 警告 an upstream response is buffered to a temporary file 修复
排查 Nginx 错误日志频繁打印 [warn] an upstream response is buffered to a temporary file,调优 proxy_buffers 与内存缓冲避免磁盘 I/O 抖动。


