-
Notifications
You must be signed in to change notification settings - Fork 655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Always "Checking import_jobs" #51
Comments
And then when I load up the web UI, it thinks there's some table somewhere to be loaded, and hangs at "Creating Table" in the bottom left. |
Ah! It seems this might actually be the cause of this issue: #50 Because always I can import one SHP file, and then all subsequent imports fail until I wipe the database + redis. Very weird. |
The "Checking import_jobs" on redis log is expected. The permanent "Creating table" message on the UI is a known bug that I hope we'll fix this week. We also have a known bug on development environment that I think is what is happening to you when trying to import various files. Resque hangs after the first import (successful or not) and then you have to reboot the daemon to process another. I'll keep this issue until is fixed, but we can't prioritize it since is only happening on development, sorry for that. |
Can you point me to where the bug is in the code? I can try to fix it if you can point me to where the problem is |
Not yet. I've had this problem for some weeks, seems to be some weird interaction between resque and the debugger gem, I'd start by removing the debugger gem from the local environment and then checking if the problem persist. But maybe something else, nasty bug :( |
I've the same problem (also for weeks). If anyone found a fix or a workaround please let me know as the 2-seconds frontend heartbeat makes debugging other issues harder :) |
Any news about this issue? I still can't import data because after the first fail, the importer stuck and I can't go further. |
I started the importer in production mode with "RAILS_ENV=production VVERBOSE=true QUEUE=* rake environment resque:work" (and the rest of the stack in production mode too) but I still get the error: first import okay and then it fails with cpu of ruby process above 90%. Is there any special configuration in production mode to get rid of it ? |
Seems like connecting the rails app to postgres via pgbouncer solves the issue for some of us. Could you try with that? We're a little bit lost on this issue. |
I installed pgbouncer.... and the imports work without locking on my ubuntu 12.04 VM. Fantastic! Thanks so much. |
Indeed, same here. Worth writing a note on https://github.com/CartoDB/cartodb20/wiki/Problems-faced-during-CartoDB-install-&-solutions-if-known -- volunteers ? |
I think the ticket should stay open until the bug is fixed. Starting pgbouncer is just a workaround. |
This has been fixed a while ago. |
Is the SSL error also logged ? |
Yes, the Resque logs would log this SSL errors, like:
But Importer logs should be definetly improved, yes |
Even after I refresh the database and
flushall
in redis, I see this when I boot up the dev server:ad infinitum. Is this supposed to happen?
The text was updated successfully, but these errors were encountered: