Title: Plugin stuck on batch process
Last modified: June 14, 2018

---

# Plugin stuck on batch process

 *  Resolved [barbadada](https://wordpress.org/support/users/barbadada/)
 * (@barbadada)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/plugin-stuck-on-batch-process/)
 * Hi
 * The batch process seems to be stuck since 2 days.
    I’ve got the following line
   from log:
 * ”
    2018-06-12 07:18:13 :: Starting batch process… ”
 * I can’t start a new process. I tried to deactivate and reactivate the plugin,
   without success.
 * Thank you for your kind help.
 * JLK

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Pacific Coast Information Systems](https://wordpress.org/support/users/pcis/)
 * (@pcis)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/plugin-stuck-on-batch-process/#post-10404646)
 * Hi Barbadada, thanks for contacting us. I’ll do what I can to help.
 * Can you link your website here please?
 * The first thing to do is completely remove the plugin and all its files and reinstall
   it from the WP Directory, so you’ll have the latest version. You should also 
   make sure to remove the log file, ltoc_logger.txt, and (if it exists) the PID
   file, ltoc_tagging.pid. The PID file is used to make sure that the batch process
   doesn’t start if it’s already running – we need to do this to make sure we don’t
   break Open Calais’ API limits on requests per second.
 * If you can access your server logs, any errors that might show up there could
   be useful for troubleshooting too.
 * Thank you!
 *  Plugin Author [Pacific Coast Information Systems](https://wordpress.org/support/users/pcis/)
 * (@pcis)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/plugin-stuck-on-batch-process/#post-10405624)
 * Hi there
 * The log and PID file will both be in the web root. It sounds like the PID file
   is not being properly deleted when the plugin is deactivated. In my experience,
   this could be related to user permissions.
 * Can you check to see if it exists there? If so, please remove it and then start
   the batch process manually. If the PID file reappears, but nothing further happens,
   then we will need to know if there are any errors in your server logs to troubleshoot
   further.
 * I can see from your domain that you’re hosted on 1and1, so this article might
   be useful: [https://help.1and1.com/hosting-c37630/scripts-and-programming-languages-c85099/php-c37728/enable-error-logs-a792503.html](https://help.1and1.com/hosting-c37630/scripts-and-programming-languages-c85099/php-c37728/enable-error-logs-a792503.html)
 * Thank you!
 *  Thread Starter [barbadada](https://wordpress.org/support/users/barbadada/)
 * (@barbadada)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/plugin-stuck-on-batch-process/#post-10406133)
 * Hi!
 * Thank you very much for your very nice support!
 * I could find the files in my webroot.
    I deleted the pie file and started a new
   batch process with 100 posts and it completed successfully, the pid file being
   removed at the end of the process.
 * I also checked my file and directory permissions (I’m selling hosted on Google
   Cloud actually) and they seem to be correct.
 * My guess is that the tagging process hung on the 12th, leaving the following 
   error message that I could find in a file called: ltoc_error_log.txt
 * ”’
    2018-06-12 07:19:09 :: ERROR! [Donald Trump and Kim Jong-unâ€™s body language
   was a complex display of power, politeness and clash of cultures – ID 61616] 
   was not tagged! Retry in next batch :: [Politics, Kim dynasty, Kim Jong-il, Climate
   change skepticism and denial, Donald Trump, The Apprentice, WWE Hall of Fame,
   Kim Jong-un, United States, North Korea?United States relations, North Korea,
   Political philosophy] ”’
 * Maybe some character set issues, given the title of the post?
 * Thanks again!!
    Jack
 *  Plugin Author [Pacific Coast Information Systems](https://wordpress.org/support/users/pcis/)
 * (@pcis)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/plugin-stuck-on-batch-process/#post-10411831)
 * Hi there
 * It’s hard to say without digging into your setup, unfortunately. We make every
   effort to ensure that the plugin will still operate in the event of an error,
   but trying to balance that against ensuring that the plugin doesn’t break the
   Open Calais API limits is a little tricky. The PID file should be deleted when
   the plugin is deactivated, but this didn’t happen in your case.
 * I’ll add some further notes to the FAQ to document this behavior for other users.
   Please let us know if this issue comes up again. I’ll mark it resolved for now.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Plugin stuck on batch process’ is closed to new replies.

 * ![](https://ps.w.org/laiser-tag/assets/icon-128x128.png?rev=1711057)
 * [Laiser Tag](https://wordpress.org/plugins/laiser-tag/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/laiser-tag/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/laiser-tag/)
 * [Active Topics](https://wordpress.org/support/plugin/laiser-tag/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/laiser-tag/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/laiser-tag/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Pacific Coast Information Systems](https://wordpress.org/support/users/pcis/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/plugin-stuck-on-batch-process/#post-10411831)
 * Status: resolved