Home › Forums › Bulk Delete Addons › Delete Posts by Duplicate Title › White Screen of Death – time out.
We have replaced our forums with email based support system.
Please open a support ticket from our new support page.
Tagged: memory
This topic contains 10 replies, has 3 voices, and was last updated by Stefano Natale 6 years, 7 months ago.
-
AuthorPosts
-
August 28, 2014 at 22:04 #1323
I have over 410,000 posts and every time I try to delete duplicate posts with your plugin, it keeps timing out and I get white screen. Nothing gets deleted. I bought two addons and both have an issue. How can I fix this. Currently the plugins did not do anything for me.
-
August 28, 2014 at 22:13 #1324
@Dennis,
I guess your WordPress installation is running out of memory and is not able to handle 410,000 posts. If you enable
WP_DEBUG
in yourwp-config.php
file you will be able to see it your php error log.Even if you increase your memory you wouldn’t be able to delete 410,000 in one go. So I would suggest you to delete posts in batches. Almost all modules and addons support deleting in batches. You can use the “Only delete the first x post” checkbox.
-
August 28, 2014 at 22:25 #1326
Thanks for a quick reply. I was actually just trying to find duplicate posts and move them to trash. I’m assuming there are about 20,000 duplicates – which is also a lot and i’m sure its running out of memory. How do I go about increasing the memory, and/or is there a way around it…
-
August 28, 2014 at 22:36 #1327
Find out how much memory is allocated to PHP and WordPress. You can find this by accessing the system information from
Bulk WP -> System Info
. In particular you have to look underPHP Memory Limit
andWordPress Memory Limit
.If
WordPress Memory Limit
is less thanPHP Memory Limit
then you can increase it by adding the following line in yourwp-config.php
file and replace256M
with the value that is there inPHP Memory Limit
define( 'WP_MAX_MEMORY_LIMIT', '256M' );
This is the first step. If this doesn’t solve it then you might have to find out how much memory is available in your server. Contact your web hosting company and they should be able to tell you how much memory is available for your server.
-
August 28, 2014 at 22:47 #1328
Thanks. I’ve increased the memory to 512M and confirmed its set correctly.
“Mem: WP 512M (def), Usage 3% 15.85M of PHP Limit 512M”I’m still getting the white screen when trying to run delete duplicate posts. It only deletes two posts at best and I get the white screen.
Any ideas?
-
August 28, 2014 at 22:51 #1329
Try to delete posts in batches by selecting the “Only delete the first x post” checkbox and choose a very small number like 50 or 100. This will let us know whether there are any other issues.
Once the addon is able to delete this small number of post, you can increase the number upto the point where it runs out of memory again.
-
August 28, 2014 at 23:49 #1330
That option is missing on the “By Duplicate Title” Addon…
-
August 29, 2014 at 06:39 #1337
Sorry Dennis, you are correct.
I just realized that we don’t have that option for deleting posts by duplicate title. The reason being the addon has to scan the entire db to figure out duplicate titles.
You said you have about 410,000 posts. Can you also tell me approximately how many duplicate posts would be present?
This addon uses two queries. One to find all posts with duplicate title and one to delete them. I also need to know which one is failing. Will it be possible for you to give me access to your WordPress installation?
-
October 24, 2014 at 10:07 #1785
I have added the ability to delete posts in batches in v0.6 of the addon. Kindly try it and let me know if it fixes the issue that you were facing.
-
May 10, 2015 at 18:39 #2984
Are you still facing any issues with the plugin?
I am marking this thread as resolved. Feel free to post again if you still have any more questions.
-
March 27, 2018 at 06:40 #14648
Hi, I have same problem, around 40.000 duplicated products and i always get a white screen.
How can I solve? -
AuthorPosts
The forum ‘Delete Posts by Duplicate Title’ is closed to new topics and replies.