emergency-ulimit-mitigation

Increase file descriptor limits and restart crashed services on Docker and Traefik.

14|1|Updated Oct 22, 2025
One-click install
npx skills add https://github.com/delorenj/skills --skill emergency-ulimit-mitigation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: emergency-ulimit-mitigation
Source: https://github.com/delorenj/skills/tree/main/emergency-ulimit-mitigation
Command: npx skills add https://github.com/delorenj/skills --skill emergency-ulimit-mitigation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Emergency steps to mitigate ulimit-related crashes by increasing file descriptor limits and restarting services.

Core Features & Use Cases

  • Immediate FD increase commands for quick relief
  • Emergency service recovery steps for docker/traefik
  • Status checks to monitor FD usage
  • Deploy full solution for long-term stabilization

Quick Start

Run the immediate FD increase commands; then apply the full solution by running set-ulimits and enabling the timer.

Frequently Asked Questions about emergency-ulimit-mitigation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix 'too many open files' crashes on Linux servers?

File descriptor exhaustion crashes occur when services hit the ulimit -n ceiling. Emergency mitigation increases this limit immediately via ulimit commands, then applies permanent fixes through limits.conf and sysctl configuration to prevent recurrence.

Can I increase file descriptors on live Docker and Traefik services?

Yes. This Skill applies FD uplift directly to running containers and services, executes emergency cleanup procedures, and restarts affected services to restore stability without requiring full redeployment.

What's the fastest way to stop a service from crashing due to file descriptor limits?

Run immediate FD increase commands for quick relief. The Skill provides rapid ulimit -n uplift steps, then deploys permanent system-wide limits through limits.conf and sysctl for long-term stabilization.

How do I check and monitor file descriptor usage on a Linux server?

The Skill includes status checks that monitor current FD usage against configured limits, letting you track consumption and confirm whether uplift actions have resolved capacity issues.

Do I need to restart services after changing ulimit values?

Yes. The Skill executes emergency service restart procedures for Docker, Traefik, and similar services after applying FD limit increases, ensuring changes take effect immediately.