WordPress.org

Ready to get started?Download WordPress

Forums

Bulk Delete
[resolved] timeout even with 50 posts (8 posts)

  1. ptroxler
    Member
    Posted 3 years ago #

    bummer

  2. Sudar
    Member
    Plugin Author

    Posted 3 years ago #

    Did you try to increase the amount of memory that is allocated to PHP?

  3. Mayda
    Member
    Posted 2 years ago #

    I have the same issue on wp 3.2.1. When I try to delete even a single category with first 10 posts I get a 500 Internal Server Error. My admin dashboard index also gives this error. I have inserted this code at the top of wp-config.php and wp-settings.php :

    define('WP_MEMORY_LIMIT', '190M');

    I have also edited my php5.ini files on my godaddy host to allow memory limit 190M. Also tried replacing Admin with a clean install copy.
    We have over 7k posts.
    Any suggestions.
    Thanks,
    Mayda

  4. Sudar
    Member
    Plugin Author

    Posted 2 years ago #

    If it's a problem with memory, then it should just timeout and you will get a blank page.

    Since you are getting 500, it means there was some error which has happened at the server side. Can you check the PHP error log and tell me what was the exact error you are getting?

    Also which version of PHP you are using?

  5. Mayda
    Member
    Posted 2 years ago #

    We are using php5. My error logs are taking a long time to update, but I do notice the number of posts is going down even if I get the 500 Internal Server Error. So the plugin seems to be working on some of the posts. My Admin Dashboard index.php page is now working, perhaps I have reduced the number of posts to a manageable level. I'll post error logs when I can get them. Thanks for creating and supporting the plugin. It is useful despite the issues.

  6. Sudar
    Member
    Plugin Author

    Posted 2 years ago #

    Okay, I think I can guess what is happening now.

    Your host for some reason is killing the PHP process midway. I guess they have some kind of throttling in place.

    Let me know once you get the error log, so that we can confirm it.

  7. Mayda
    Member
    Posted 2 years ago #

    Sudar:

    My IP is 65.60.138.8 in eastern standard time(US) I did the following:

    7:06 PM 9/11/2011 tried to access dashboard index got internal server error
    7:11 PM 9/11/2011 tried to access dashboard index got internal server error
    7:16 PM 9/11/2011 tried to run a bulk delete operation -internal server error
    8:04 PM 9/11/2011 tried to run bulk delete on all revisions, first 40

    The error logs from this period from my IP :

    [Sun Sep 11 16:06:49 2011] [warn] [client 65.60.138.8] mod_fcgid: read data timeout in 40 seconds
    [Sun Sep 11 16:06:49 2011] [error] [client 65.60.138.8] Premature end of script headers: index.php

    It seems not all timeouts/errors are getting logged. I have many 40 second timeouts in the error log. Do you think this is a host throttle issue?

  8. Sudar
    Member
    Plugin Author

    Posted 2 years ago #

    Yes this is because of the host's throttling. I guess they are timing out PHP execution after 40 seconds.

    If you have access to the php.ini file, then try to increase the timeout. If you don't have access, then you may have to contact your host's customer support.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic