Your HostICan Community  


Go Back   Your HostICan Community > HostICan Web Hosting > Virtual Private Servers (VPS)

Virtual Private Servers (VPS) Need help with your VPS plan on HostICan? Please feel free to ask and we'll give you the answers!

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-24-2007, 01:16 PM
itwasntme's Avatar
itwasntme itwasntme is offline
Senior Member
 
Join Date: Sep 2007
Posts: 142
Default Cannot Allocate Memory Error

I'm getting the following error in cPanel's error log:

Quote:
[Wed Oct 24 07:59:10 2007] [error] [client 66.249.72.162] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home//public_html/index.php
It's been happening every day for the last few days at about the same time, and the site goes down for a while before recovering. It has also happened twice in the afternoon over the past several days. My client is going nuts because they thought moving to a VPS would solve all our problems.

Yesterday, after talking to tech support, I made the following changes to php.ini:
Code:
memory_limit = 256M
max_execution_time = 300
That doubled the memory and the execution time, but this morning, as you can see by the date in the error above, I got the same error.

Unfortunately, I haven't found a way to reproduce the error myself.

I spoke to Hostican again today, and on their advice I restarted Apache just now. The person I spoke to suggested that I consider reverting to an earlier version of PHP (I have 5.2.4) and/or setting up a cron job to restart Apache each morning. He also suggested I post here.

I did a WhoIs on the IP for the error above and it was Google. Kind of interesting, maybe if Google is crawling the site every morning at the same time that would explain the timing, anyway. I don't know if Google has been the culprit each time, though.

Does anyone have any ideas how I can troubleshoot this further or steps I can take to prevent it from happening? Should I go with an earlier version of PHP? Set up a cron job to restart Apache?

I usually try one thing at a time to try to identify what works, so the order to try things in is another question, and since I restarted Apache today, maybe I should give it a day to see if it happens tomorrow?
Reply With Quote
 

Tags
allocate, error, memory

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fatal Error : Out of Memory ayashi Virtual Private Servers (VPS) 8 06-21-2008 03:21 AM
Mysql Error captainron19 PHP / MySQL Assistance 4 06-14-2008 08:16 AM
Apache-WHM Parsing Error (1 change per session) marcOpolo Virtual Private Servers (VPS) 0 01-29-2008 08:26 PM
Ajust memory on my vps Mars Virtual Private Servers (VPS) 8 01-14-2008 02:22 PM
CGI error domz Shared Hosting 3 10-04-2007 04:10 AM


All times are GMT -4. The time now is 12:24 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Copyright © 2003 - 2008 HostICan. All Rights Reserved.