Recently I moved my programming onto another server. Since that time I am receiving the errors mentioned below (but not everytime).
The weird thing is that I have a 50% to 33% chance of getting the error...
shell_exec(): Unable to execute "/bin/hostname"
exec: unable to fork process "hostname 2>&1"
What would be the cause of this issue?
My thinking is that the # of file pointers, or process ids or ... is too low. How and where could I check that? Than I can compare the 2 servers and make the settings equal.
The original server had 2G of Ram, while the new one has 1G of physical RAM. Both have more than enough swap space.