← Back to list

emergency-ulimit-mitigation
by delorenj
My sack of delicious Claude skills
⭐ 5🍴 0📅 Jan 15, 2026
SKILL.md
name: emergency-ulimit-mitigation description: Emergency steps to mitigate ulimit-related crashes by increasing file descriptor limits and restarting services.
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
Score
Total Score
50/100
Based on repository quality metrics
✓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
Reviews
💬
Reviews coming soon