"Unable to fork" warnings on Setup Page

wadsbone@hotmail.com

Joined: 2004-04-07
Posts: 2
Posted: Wed, 2004-04-07 07:28

I've started setting up Gallery on my server. I'm running php via cgi since my server runs php in safe mode.

The following warnings appear at the top of the page displayed by setup/index.php:

Warning: exec(): Unable to fork [locale -a] in /usr2/hsphere/home/wadsbone/chronicd.com/photos/setup/functions.inc on line 731

Warning: exec(): Unable to fork [ls /usr/share/locale] in /usr2/hsphere/home/wadsbone/chronicd.com/photos/setup/functions.inc on line 738

Warning: exec(): Unable to fork [/bin/ls] in /usr2/hsphere/home/wadsbone/chronicd.com/photos/platform/fs_unix.php on line 34

Warning: exec(): Unable to fork [/bin/echo] in /usr2/hsphere/home/wadsbone/chronicd.com/photos/platform/fs_unix.php on line 34

Warning: exec(): Unable to fork [/bin/hostname] in /usr2/hsphere/home/wadsbone/chronicd.com/photos/platform/fs_unix.php on line 34

Warning: exec(): Unable to fork [/bin/pwd] in /usr2/hsphere/home/wadsbone/chronicd.com/photos/platform/fs_unix.php on line 34

Warning: exec(): Unable to fork [/bin/df] in /usr2/hsphere/home/wadsbone/chronicd.com/photos/platform/fs_unix.php on line 34

Warning: exec(): Unable to fork [/bin/ps] in /usr2/hsphere/home/wadsbone/chronicd.com/photos/platform/fs_unix.php on line 34

Warning: exec(): Unable to fork [/bin/sync] in /usr2/hsphere/home/wadsbone/chronicd.com/photos/platform/fs_unix.php on line 34

Is this something I should worry about? The rest of the page seems to indicate that everything is okay, but a page with a header of warnings makes me nervous. The same warnings appear at the top of the "Step 2" page.

----
Gallery URL (optional but very useful):
Gallery version: 1.4.3 RC2
Apache version: 1.3.29
PHP version (don't just say PHP 4, please): 4.3.2
Graphics Toolkit: ImageMagick
Operating system: FreeBSD
Web browser/version (if applicable): Safari 1.2.1

 
wadsbone@hotmail.com

Joined: 2004-04-07
Posts: 2
Posted: Fri, 2004-04-09 02:55

I asked my host about the problem I was having and this was their response:

Quote:
It looks like the script was trying to fork too many times. I've increased the process limit now so give it a shot and let me know if it is still failing.

I'm not sure what specific setting they changed, but it fixed the problem.