Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Problems
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 19th, 2012, 03:13 PM
TheFerryman TheFerryman is offline
 
Join Date: Jan 2009
Posts: 266
Default What does this mean?

Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 32 bytes) in /home/ladiestr/public_html/wp-content/plugins/datafeedr/datafeedr.php on line 535
Store 31500
Regards
Bruce
  #2  
Old April 19th, 2012, 04:01 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

It means PHP ran out of memory. Try allocating more such as 64 Megabytes, not 32 bytes.

http://codex.wordpress.org/Editing_w...located_to_PHP

Eric
  #3  
Old April 22nd, 2012, 04:44 PM
TheFerryman TheFerryman is offline
 
Join Date: Jan 2009
Posts: 266
Default

Even at 128MB allocated, I am still getting this error.
There are only 632 products in the store, packet size right down to 100
Any other suggestions?
Bruce
  #4  
Old April 22nd, 2012, 05:51 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

I see that you are sorting products randomly on many pages. When you use random sorts, this results in 2 things that slow your site down:

1. Random sorts are very slow (it's a MySQL thing)
2. Randomly sorted pages can't be cached.

Try changing your sorts on your pages to something other than random.

Eric
  #5  
Old April 22nd, 2012, 05:55 PM
TheFerryman TheFerryman is offline
 
Join Date: Jan 2009
Posts: 266
Default

I am quite happy with the page loading speed, that is not a problem, it is only the constant failures of the updates we need to sort out.
Regards
Bruce
  #6  
Old April 22nd, 2012, 05:56 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Quote:
Originally Posted by TheFerryman View Post
I am quite happy with the page loading speed, that is not a problem, it is only the constant failures of the updates we need to sort out.
Regards
Bruce
So on what URLs are you getting the memory errors?
  #7  
Old April 22nd, 2012, 05:58 PM
TheFerryman TheFerryman is offline
 
Join Date: Jan 2009
Posts: 266
Default

Lots of them, including the one I pm'd you the details.
Bruce
  #8  
Old April 22nd, 2012, 05:59 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi
Quote:
Originally Posted by TheFerryman View Post
Lots of them, including the one I pm'd you the details.
Your PM didn't have any specific URLs where the memory error appeared... Can you tell me a few of the URLs where you got saw the memory error?

Eric
  #9  
Old April 22nd, 2012, 06:04 PM
TheFerryman TheFerryman is offline
 
Join Date: Jan 2009
Posts: 266
Default

the memory error is from the failed update, it appears on the datafeedr page in tools/datafeedr on the general tab
If you go into that page on the site I sent you, try an update and you will see the error there when the update fails.
Bruce
  #10  
Old April 22nd, 2012, 06:09 PM
TheFerryman TheFerryman is offline
 
Join Date: Jan 2009
Posts: 266
Default

Remember all the failure emails are timed exactly one hour after the completion or failure of the update, so I keep thinking a time difference between the update script and the actual server time could be involved.
Bruce
  #11  
Old April 22nd, 2012, 06:18 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

Here's what I did on your website (store ID: 31500).
  1. I went here: WordPress Admin Area > Tools > Datafeedr > Directories > Temporary Directory
  2. I replaced "/tmp" with "/home/USERNAME/public_html/wp-content/uploads/store/temp" (but USERNAME is your site's username).
  3. I checked the "Create directory if necessary" checkbox and then clicked the [Save] button.
  4. Then I went here WordPress Admin Area > Tools > Datafeedr > Updates and clicked the [Reset Updates] button.
  5. Then I clicked the [Update Products and Settings] button a few times and the updates ran without a problem each time.

So, I think most/all of the problems are related to your /tmp directory either being prematurely pruned or filling up to fast or a combination of the two. I believe that is what was causing the problems.

Can you try repeating those steps on your other sites?

Eric
  #12  
Old April 22nd, 2012, 06:28 PM
TheFerryman TheFerryman is offline
 
Join Date: Jan 2009
Posts: 266
Default

If that corrects it, that will be great. I'll do them all tomorrow, it is a bit late now.
Thanks
Bruce
  #13  
Old June 4th, 2012, 06:42 PM
TheFerryman TheFerryman is offline
 
Join Date: Jan 2009
Posts: 266
Default

Sites are updating fine, but these temp directories and filling up with old updates and taking up too much space on the server.
Is there any way the update could be set to delete the temp file when it finishes updating?
Regards
Bruce
  #14  
Old June 4th, 2012, 06:50 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

You can delete the files manually from that directory. I've added an auto purge to our todo list.

Eric
  #15  
Old June 4th, 2012, 08:28 PM
TheFerryman TheFerryman is offline
 
Join Date: Jan 2009
Posts: 266
Default

Thanks Eric, autopurge will be great.
Regards
Bruce
  #16  
Old June 19th, 2012, 09:50 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi
Quote:
Originally Posted by TheFerryman View Post
Is there any way the update could be set to delete the temp file when it finishes updating?
This has been fixed in version 3.8: http://www.datafeedr.com/forums/show...2740#post32740

Eric
 


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:41 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.