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!

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-18-2008, 01:48 AM
ayashi ayashi is offline
Junior Member
 
Join Date: Feb 2008
Posts: 11
Default Fatal Error : Out of Memory

hi, I don't know who else to ask, hostican support did give solution, but it's a temporary solution to me. I get this error almost daily (I use vps-extreme) :
Fatal error: Out of memory (allocated 8650752) (tried to allocate 19456 bytes) in /home/aaa112/public_html/wp-admin/includes/template.php on line 115

Not always for template.php, sometimes function.php, etc, and yes, I can solve it by restarting my vps, but the problem is I can't always be there when the web is down. Mostly at night, when I sleep, the web is down. And hostican support also told me that is impossible to schedule vps restart.

I already did increase memory limit from my whm control panel, from 8 M to 512 M, but it doesn't solve the problem. Anyone know what cause this error and how to solve it?

Thanks
Reply With Quote
  #2  
Old 06-18-2008, 02:07 PM
ColumbusGEEK ColumbusGEEK is offline
Junior Member
 
Join Date: Jun 2008
Posts: 12
Default

Yeah, same issues here. Trying to resolve it with HostICan currently.

http://forum.hostican.com/virtual-pr...-wall-lot.html
Reply With Quote
  #3  
Old 06-19-2008, 04:48 PM
fargoradio fargoradio is offline
Junior Member
 
Join Date: Jan 2008
Posts: 16
Default

i was having a similar problem - i blamed a wordpress plugin. i used top -c to monitor processes. i uninstalled the plugin and upgraded - no issues since...
Reply With Quote
  #4  
Old 06-20-2008, 02:42 AM
ayashi ayashi is offline
Junior Member
 
Join Date: Feb 2008
Posts: 11
Default

it seems that no one knows the answer...
Reply With Quote
  #5  
Old 06-20-2008, 02:50 AM
ayashi ayashi is offline
Junior Member
 
Join Date: Feb 2008
Posts: 11
Default

Quote:
Originally Posted by fargoradio View Post
i was having a similar problem - i blamed a wordpress plugin. i used top -c to monitor processes. i uninstalled the plugin and upgraded - no issues since...
hi fargoradio, how do you find the clue what's causing the problem ? can you teach me here ?
Reply With Quote
  #6  
Old 06-20-2008, 11:10 AM
lnxcode's Avatar
lnxcode lnxcode is offline
The British Kid
 
Join Date: Sep 2007
Location: Richmond, VA
Posts: 2,012
Send a message via AIM to lnxcode Send a message via Skype™ to lnxcode
Default

Quote:
Originally Posted by ayashi View Post
hi, I don't know who else to ask, hostican support did give solution, but it's a temporary solution to me. I get this error almost daily (I use vps-extreme) :
Fatal error: Out of memory (allocated 8650752) (tried to allocate 19456 bytes) in /home/aaa112/public_html/wp-admin/includes/template.php on line 115

Not always for template.php, sometimes function.php, etc, and yes, I can solve it by restarting my vps, but the problem is I can't always be there when the web is down. Mostly at night, when I sleep, the web is down. And hostican support also told me that is impossible to schedule vps restart.

I already did increase memory limit from my whm control panel, from 8 M to 512 M, but it doesn't solve the problem. Anyone know what cause this error and how to solve it?

Thanks
What could be happening here is that you are running out of ram on apache, via the php.ini so what you could try to do is extend the memory allocation to php via the php.ini and see if that sorts this out.
__________________
Thanks,

Denis Motova
Affiliate / Operations Manager

HostICan Answers | Become a HostICan Affiliate | Create a Support Ticket.
Reply With Quote
  #7  
Old 06-20-2008, 03:59 PM
fargoradio fargoradio is offline
Junior Member
 
Join Date: Jan 2008
Posts: 16
Default

here's what i did:

ssh into your vps as root.

type in top -c

for example:

root@server [/home]# top -c

see what's going on in real time. hit q to quit
run the Free command

root@server [/home]# Free

what's your memory usage? within range? great. not? run top -c and see who is hogging resources.

kill that process - be on the look out for a hangin /usr/bin/php

the other option is to uninstall all wordpress plugins and run w/out them for a while - if everything is cool, reinstall them one at a time and give each a testing period to see if they are the one causing a problem. it could also be an issue with your theme too.

that's from one n00b to another.
Reply With Quote
  #8  
Old 06-20-2008, 10:18 PM
lnxcode's Avatar
lnxcode lnxcode is offline
The British Kid
 
Join Date: Sep 2007
Location: Richmond, VA
Posts: 2,012
Send a message via AIM to lnxcode Send a message via Skype™ to lnxcode
Default

Quote:
Originally Posted by fargoradio View Post
here's what i did:

ssh into your vps as root.

type in top -c

for example:

root@server [/home]# top -c

see what's going on in real time. hit q to quit
run the Free command

root@server [/home]# Free

what's your memory usage? within range? great. not? run top -c and see who is hogging resources.

kill that process - be on the look out for a hangin /usr/bin/php

the other option is to uninstall all wordpress plugins and run w/out them for a while - if everything is cool, reinstall them one at a time and give each a testing period to see if they are the one causing a problem. it could also be an issue with your theme too.

that's from one n00b to another.
I would start from the WP plugins first too, and go from there.
__________________
Thanks,

Denis Motova
Affiliate / Operations Manager

HostICan Answers | Become a HostICan Affiliate | Create a Support Ticket.
Reply With Quote
  #9  
Old 06-21-2008, 02:21 AM
ayashi ayashi is offline
Junior Member
 
Join Date: Feb 2008
Posts: 11
Default

Quote:
Originally Posted by lnxcode View Post
What could be happening here is that you are running out of ram on apache, via the php.ini so what you could try to do is extend the memory allocation to php via the php.ini and see if that sorts this out.

hi Inxcode, can you tell me how to edit the php.ini file? I though by increasing the memory from : WHM >> Service Configuration >> PHP Configuration Editor, is the same thing by what you mean.
Reply With Quote
Reply

Tags
error, fatal, 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
Memory issues whm_newbie Virtual Private Servers (VPS) 3 06-19-2008 08:25 PM
Bursting memory? roger Virtual Private Servers (VPS) 27 05-16-2008 02:39 AM
Ajust memory on my vps Mars Virtual Private Servers (VPS) 8 01-14-2008 01:22 PM
Cannot Allocate Memory Error itwasntme Virtual Private Servers (VPS) 10 10-26-2007 02:18 PM
Memory Usage?? Librarian Virtual Private Servers (VPS) 10 10-15-2007 05:39 PM


All times are GMT -4. The time now is 01:06 AM.


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

Copyright © 2003 - 2008 HostICan. All Rights Reserved.