Difference between revisions of "Fatal Errors"

From Hostek.com Wiki
Jump to: navigation, search
(Created page with "= 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 memo...")
 
 
Line 11: Line 11:
 
# Click Proceed.
 
# Click Proceed.
 
# Wait for Apache to recalculate the Memory Limits per application.
 
# 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:
 +
 +
<pre>
 +
/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
 +
</pre>
  
 
[[Category:Linux-VPS]]
 
[[Category:Linux-VPS]]

Latest revision as of 08:52, 29 April 2013

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