That message means exactly what it says--that the crawl process is
running on your server already. ThinkUp won't start a new crawl if
one's in progress. However, it shouldn't remain in that state for a
week. Do you know for sure RSS isn't kicking off the crawler for you?
Can you look at your server's process list and see it there? If so,
try killing that process.
Do you have SSH access to the server?
--
You received this message because you are subscribed to the Google
Groups "ThinkUp App" group.
http://groups.google.com/group/thinkupapp?hl=en
Find out more about ThinkUp:
http://thinkupapp.com
> The crawler isn't running, that's just showing your own 'grep' command. :)
>
> Not sure why it'd say there's another crawl in progress... If it's still
> saying that, and the crawler isn't running, I can only guess that the lock
> isn't getting released in MySQL... Anyone have any ideas for debugging
> this?
A couple of ideas:
Steven- You might just double check that
ps aux | grep php
doesn't show anything of interest running, as depending upon the os sometimes 'ps' is not informative about the process args.
If somehow mysql is holding on to the lock, there is apparently an IS_USED_LOCK() call which can help show what is happening.
http://optimmysql.blogspot.com/2007/11/getlock-family.html
Though, if the process is no longer running and the connection no longer open, mysql is certainly 'supposed' to release the lock.
[Btw, I have noticed that if I kill the crawler unceremoniously (which I often do while testing) it would sometimes take a few minutes for the mysql lock to be released. Though the lock is supposed to be released when the connection closes, it appeared that that was not happening right away for some reason (or, the connection was not closing right away after my ctl-c). To further muddy the waters, this has not happened recently... it could have well been some mysql state on my machine which was fixed by a reboot.]
Since you can ssh to your server, then if you are comfortable on the command line you could try just running the crawler directly and see what it outputs. This could help with further debugging.
cd to
<your_thinkup_install>/webapp/crawler
and at the prompt type:
php crawl.php <your_user_email> <your_password>
(replacing all the stuff between brackets w/ your correct values). You may also need to replace 'php' with the correct path to php on your server, e.g. on dreamhost, you would specify /usr/local/php5/bin/php .
If the crawler can start up normally, it won't output any warnings about 'error starting' to the terminal, and instead will just do its run and write its output to <your_thinkup_install>/logs/crawler.log (or whatever log you have specified in your configuration).
If it encounters a lock, it will output some html to the terminal window, containing the 'Error starting crawler; another crawl is already in progress.' warning, and then terminate.
--
-- You received this message because you are subscribed to the Google
Groups ThinkUp group.
---You received this message because you are subscribed to the Google Groups "ThinkUp" group.To unsubscribe from this group and stop receiving emails from it, send an email to thinkupapp+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.