Project

General

Profile

Actions

Bug #1168

closed

spawn-fcgi -u -g disable php from making core dump

Added by moo over 17 years ago. Updated almost 16 years ago.

Status:
Invalid
Priority:
Normal
Category:
spawn-fcgi
Target version:
ASK QUESTIONS IN Forums:

Description

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.

Actions #1

Updated by stbuehler almost 16 years ago

  • Status changed from New to Invalid
  • Patch available set to No

"ulimit -c 0" disables core dumps, so i see nothing wrong with spawn-fcgi.

Actions

Also available in: Atom