You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Disable core dumps in the development container #64
Is your feature request related to a problem? Please describe.
Some Infection mutants make stripSlashes() call itself with no end. PHP then crashes. The container has no limit on the core file size (ulimit -c is unlimited), and the kernel core_pattern is core. So each crash writes a core.<pid> file into /srv, which is the repository root on the host. A composer infection run leaves about six of these files.
Infection counts these crashes as killed mutants, so the MSI does not change. The files are only clutter, but they are large and git shows them as untracked.
Describe the solution you'd like
Set the core file size limit to 0 for the app service in docker-compose.yml:
ulimits:
core: 0
Describe alternatives you've considered
Add /core.* to .gitignore. Git then hides the files, but they still fill the disk.
Additional context
Development environment only. No change to the library.
Activity
[#64] - No core dumps in the development container
niden commentedon Dec 4, 2026
Resolved in #65