スキル一覧に戻る
delorenj

emergency-ulimit-mitigation

by delorenj

My sack of delicious Claude skills

5🍴 0📅 2026年1月15日
GitHubで見るManusで実行

SKILL.md


qqu='qq "cat ~/d/AI/Prompts/Commands/fix-ulimit-exceeded.md"'# Emergency ulimit Mitigation

Tags: AI/Prompt, ulimit, filedescriptors, crashing, toomanyfilesopen, Stability, Maintenance
Modified: 2025-10-27T08:55:02-04:00

Immediate Emergency Fix

# Instant relief - run immediately when services are crashing
ulimit -n 65536
echo 2097152 | sudo tee /proc/sys/fs/file-max

Emergency Service Recovery

# Restart crashed services
sudo systemctl restart docker traefik
sudo docker system prune -f

Check Current Status

# See what's using FDs
lsof | wc -l
cat /proc/sys/fs/file-nr | awk '{printf "FDs: %d/%d (%.1f%%)\n", $1, $3, ($1/$3)*100}'

Deploy Full Solution

sudo ./scripts/set-ulimits.sh
sudo systemctl enable --now fd-monitor.timer

Emergency Cleanup

./scripts/fd-cleanup.sh

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です