Difference between revisions of "Fatal Errors"
From Hostek.com Wiki
(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
Contents
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
- Login to your WHM for your server.
- From the Home click on Service Configuration.
- Click on Apache Configuration.
- Click on Memory Usage Restrictions.
- Click Proceed.
- 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