-
Notifications
You must be signed in to change notification settings - Fork 561
Open
Labels
Description
Describe the bug
Running bash tools consistently fails after a period of time with the error: <exited with error: posix_spawnp failed.>
Affected version
0.0.358
Steps to reproduce the behavior
1. Start multiple bash operations or long-running bash commands
2. After some time (varies), bash tool execution fails
3. Error appears to be related to process spawning
Expected behavior
Bash tools should execute reliably without timing out or failing due to process spawning issues.
Additional context
Error Details
- **Error Type**: posix_spawnp failure
- **Component**: Bash tool
- **Frequency**: Intermittent, occurs after extended usage
## Environment
- OS: macOS/Linux (POSIX-based)
- Bash Tool Version: [Current]
- Date Reported: 2025-11-27
## Possible Root Causes
- File descriptor exhaustion
- Process limit reached
- Resource cleanup not happening properly
- Signal handling issues
## Suggested Investigation
- Check system resource limits (ulimit)
- Verify proper cleanup of spawned processes
- Review signal handling and process termination
- Investigate file descriptor management
## Related Issues
- None identified yet