Fatal Errors

From Hostek.com Wiki
Jump to: navigation, search

Linux VPS

Fatal Error: Out of memory (allocated ########) (tried to allocate ### bytes) in

This is an annoying error that can spring up from time to time due to memory limits being reached.

The Fix

You will need to increase the memory limit for apache and not just the specific site.

How to recalculate Apaches Memory Limit

  1. Login to your WHM for your server.
  2. From the Home click on Service Configuration.
  3. Click on Apache Configuration.
  4. Click on Memory Usage Restrictions.
  5. Click Proceed.
  6. Wait for Apache to recalculate the Memory Limits per application.

retry time not reached for any host after a long failure period

This is an error that can be caused by corrupt exim databases

The Fix

Run the following commands via SSH on your Linux VPS:

/usr/sbin/exim_tidydb -t 1d /var/spool/exim retry > /dev/null 
/usr/sbin/exim_tidydb -t 1d /var/spool/exim reject > /dev/null 
/usr/sbin/exim_tidydb -t 1d /var/spool/exim wait-remote_smtp > /dev/null

/scripts/courierup -- force
/scripts/eximup --force