Mail forwardign fails with error: mh_fork(): Error occured during fork(): Cannot allocate memory

Refers to:

  • Plesk 12.0 for Linux

Created:

2016-11-16 13:21:43 UTC

Modified:

2016-12-21 20:32:48 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Mail forwardign fails with error: mh_fork(): Error occured during fork(): Cannot allocate memory

Symptoms

Mail forwarding does not work. In mail log I see the following error:

    plesk sendmail[23321]: _mh_fork(): Error occured during fork(): Cannot allocate memory
plesk sendmail[23321]: Error during 'limit-out' handler
plesk sendmail[23321]: _mh_fork(): Error occured during fork(): Cannot allocate memory
plesk sendmail[23321]: Error during 'check-quota' handler
plesk sendmail[23322]: my_popen(): fork() failed: Cannot allocate memory [12]
plesk sendmail[23322]: Unable to execute MTA

Cause

Not enough resources on the server or container.

Resolution

  1. Make sure that there is memory on the server.

  2. If it is Virtuozzo container, make sure that resources are not exceeded, you may check it with the following command:

    # grep -v 0$ /proc/user_beancounters
Have more questions? Submit a request
Please sign in to leave a comment.