Results 1 to 15 of 15
Thread: Memory Limit in VPS [URGENT]
-
10-08-2009, 10:13 AM #1Newbie
- Join Date
- Aug 2009
- Location
- Philippines
- Posts
- 18
Memory Limit in VPS [URGENT]
All Wordpress on our VPS is currently experiencing this problem:
Fatal error: Out of memory (allocated 18874368) (tried to allocate 122880 bytes)
I don't know how to fix it. HELP!
-
10-08-2009, 10:35 AM #2Web Hosting Guru
- Join Date
- Jun 2008
- Location
- UK
- Posts
- 266
well, i dont think you can fix it - sounds like your VPS is out of memory and you need to upgrade it.
WebCertain - SEO, PPC, PR - The services you need to increase your site traffic. Specialists in over 35 languages and country-specific SEO! www.webcertain.com
-
10-08-2009, 10:44 AM #3Newbie
- Join Date
- Aug 2009
- Location
- Philippines
- Posts
- 18
But it's already upgraded. Still the same issue.
-
10-08-2009, 10:48 AM #4Temporarily Suspended
- Join Date
- Feb 2004
- Location
- USA
- Posts
- 1,572
Seems like your VPS is out of memory,
Who's your provider? maybe they are overselling?
Cheers
-
10-08-2009, 10:50 AM #5Web Hosting Master
- Join Date
- Mar 2009
- Posts
- 2,222
It sounds more like a software configuration problem to me, possibly a memory limit in PHP - which you can change (either in php.ini or in .htaccess)
Anyway, the first step is to go through the Wordpress installation instructions, making sure everything is as it should be.
After that, go to the Wordpress support forums. Almost certainly someone will have had the problem before.
-
10-08-2009, 10:52 AM #6Newbie
- Join Date
- Aug 2009
- Location
- Philippines
- Posts
- 18
Yes, it's the memory limit for PHP.
I tried and they say that I have to adjust it. But I've been adjusting it.. and.. Well, no effect.
-
10-08-2009, 10:55 AM #7Web Hosting Master
- Join Date
- Feb 2006
- Location
- North West England
- Posts
- 609
Have you tried restart httpd to reload php.ini?
-
10-08-2009, 10:59 AM #8Junior Guru
- Join Date
- Oct 2009
- Posts
- 188
Hi!
Sorry for answering with another question, could you please elaborate on your current configuration?:
+ Kind of VPS (OpenVZ/Virtuozzo, Xen, Linux VServers, KVM, VMWare, VirtualBox....).
+ Size of VPS (RAM, specially RAM), but depending on the VPS kind (previous item), there could be other parameters to look after, this is specially true for OpenVZ.
+ Your current flavor/config of web server.
When you have the info, just post it, please, remember to remove any info you don't want public, maybe: domain name, email addresses, IP addresses, .....
I hope to help,
Ildefonso Camargo
-
10-08-2009, 10:59 AM #9WHT Addict
- Join Date
- Jul 2009
- Location
- USA,NC
- Posts
- 115
Check the php.ini on your VPS and increase the necessary limit "memory_limit" for example to 32 or 64 mb:
memory_limit = 32M
or
memory_limit - 64M
Hope this help..Caro.Net The Best servers and network
Reliable support and customer services
tvlasyuk@carohosting.com
-
10-08-2009, 11:02 AM #10Retired Moderator
- Join Date
- Nov 2002
- Location
- WebHostingTalk
- Posts
- 8,901
* Moved to Technical and Security Issues....
SiriusI support the Human Rights Campaign!
Moving to the Tampa, Florida area? Check out life in the suburbs in Trinity, Florida.
-
10-08-2009, 11:04 AM #11Web Hosting Master
- Join Date
- Oct 2004
- Location
- Kerala, India
- Posts
- 4,771
You may contact your provider and ask him to increase the parameter KMEMSIZE for your vps.
David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
CliffWebManager | Access WHM from iPhone and Android
-
10-08-2009, 11:05 AM #12Temporarily Suspended
- Join Date
- Feb 2004
- Location
- USA
- Posts
- 1,572
-
10-08-2009, 11:08 AM #13Web Hosting Master
- Join Date
- Mar 2009
- Posts
- 2,222
-
10-08-2009, 11:31 AM #14Junior Guru
- Join Date
- Oct 2009
- Posts
- 188
Hi, again,
Yes, almost everyone know that's a php message, but if you want to prevent further problems, you need to tune the parameters according to the server you have, for example, you could add:
memory_limit = 256M (for example)
and have apache with mpm prefork, and have a max of 150 childrens, then you could en up requiring up to: yay, 37.5GB! RAM (physical + swap), off course, this is hypothetical, because this is the worst of the cases where the app can actually eat 256M for each request, which is not always true.
Also, you have to fine-tune the DB, so it doesn't eat lots of memory, but all of this parameters will depend on:
+ Size of VPS,
+ Kind of VPS: whether the VPS have or have not swap, depending on the kind of VPS, there can be other parameters to take into account.
I hope this helps,
Ildefonso Camargo
-
10-08-2009, 11:46 AM #15Web Hosting Master
- Join Date
- Apr 2009
- Location
- inside wht
- Posts
- 746
If it is openvz vps , what is your vmguarpage and kmemzise values ?
Similar Threads
-
How to limit the CPU & memory usage?
By KennyP in forum Dedicated ServerReplies: 4Last Post: 01-09-2008, 02:08 PM -
vps memory limit (virtuozzo)
By killerstorm in forum VPS HostingReplies: 3Last Post: 03-29-2007, 01:26 PM -
PHP memory limit?
By blackdog in forum Web HostingReplies: 10Last Post: 07-16-2004, 04:06 PM -
RaQ Memory Limit
By benwell in forum Dedicated ServerReplies: 5Last Post: 04-08-2004, 01:45 AM -
PHP memory limit
By daveman in forum Hosting Security and TechnologyReplies: 1Last Post: 01-03-2003, 07:38 AM