Project

General

Profile

Bug #1168

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

Added by moo over 12 years ago. Updated over 10 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
Category:
spawn-fcgi
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:

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.

History

#1

Updated by stbuehler over 10 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.

Also available in: Atom