Skip to content
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

Job delayed too long, service full error when bulk uploading #79

Open
GordianDziwis opened this issue Apr 13, 2023 · 5 comments
Open

Job delayed too long, service full error when bulk uploading #79

GordianDziwis opened this issue Apr 13, 2023 · 5 comments
Labels
1.x will be done in DP+ 1.x - DP+ running as CKAN extension

Comments

@GordianDziwis
Copy link

As you can see, I am putting your plugin through the paces ;) When I submit all the datasets at once, some get this error message:

image

When I retry, it works. So I would guess there is some timeout set too low.

@jqnatividad
Copy link
Contributor

Thanks @BonaBeavis for pushing it ;)

Will investigate further. Can you share more info about the number of jobs enqueued? Were they local files? URLs? How big were the files?

@GordianDziwis
Copy link
Author

About 60 datasets, both local and remote. The datasets are not big, about a few dozen entries and a dozen headers.

I am running ckan datapusher submit --yes do you have some command I could run to get a debug output?

@jqnatividad
Copy link
Contributor

Yes @BonaBeavis , you can turn on logging by tweaking some values in your .env file (https://github.com/dathere/datapusher-plus/blob/master/datapusher/dot-env.template)

You can also have qsv create its own logs by setting these env_vars:

export QSV_LOG_LEVEL=debug
export QSV_LOG_DIR=/tmp

The log file should be named qsvdp_rCURRENT.log in /tmp.

@jqnatividad
Copy link
Contributor

jqnatividad commented Jun 16, 2023

This will be fixed with DP+ 1.x, where we convert DP+ to be an extension, rather than a separate web service.

cc @tino097 @TomeCirun

@jqnatividad jqnatividad added the 1.x will be done in DP+ 1.x - DP+ running as CKAN extension label Jun 16, 2023
@GordianDziwis
Copy link
Author

Workaround until then:

for id in $(ckan dataset list | grep -oP '^\w{8}-\w{4}-\w{4}-\w{4}-\w{12}')
do
  ckan datapusher submit --yes $id
  sleep 1
done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.x will be done in DP+ 1.x - DP+ running as CKAN extension
Projects
None yet
Development

No branches or pull requests

2 participants