Ticket #1168 (new defect)
spawn-fcgi -u -g disable php from making core dump
| Reported by: | moo | Owned by: | jan |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5.0 |
| Component: | spawn-fcgi | Version: | 1.4.15 |
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | ||
| Need User Feedback: | no | Blocking: |
Description (last modified by moo) (diff)
with setuidgid:
ulimit -c 0 exec setuidgid user /usr/bin/php-cgi -b 1026
it will generate core even after setuidgid, and it is safe to do so, because the whole php-fcgi process data belongs to the child from the begining of process.
but with spawn-fcgi
ulimit -c 0 exec /usr/bin/setuidgid traviantoolbox /usr/bin/spawn-fcgi -p 1027 -f /usr/bin/php-cgi -C 4
php will not generate a core file on segv.
not verified, as it was not me but renchap that got the problem.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

