-
Notifications
You must be signed in to change notification settings - Fork 157
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
Server get crashed while submitting many resources. #147
Comments
The server actually downloads all the ressources, that's why you have a lot of I/O. We have similar problems and solved it by a combination of using The other setting that we tweaked is the datapusher apache config (https://github.com/ckan/datapusher/blob/e0319c16dcb25261359d0e9030af4dd53f94fc49/deployment/datapusher.apache2-4.conf), which uses |
Well, after dockerizing datapusher,and ignore some big files with the latest code, my datapusher just works fine. |
description
These days I met the crashed again and again while uploading resource,It seems like there is something wrong with datapusher.
For test, I ran this command below:
paster --plugin=ckan datapusher submit_all -c /etc/ckan/default/development.ini
There are about 3,000 datasets in my ckan.
I also put some codes in datapusher/jobs.py to disable the datastore action:
In the begining, all things worked right, the convert and calculation is kinda heavy but OK for my server:



During the submitting I can access the ckan website.
After about 40 minutes, the server get crashed , I cannot type any commands, the website returns timeout:
question
Why there is so high I/O waiting?
I met this crash everytime while uploading thousands of resources, even if I disable the
datastore_create
(so there is nothing to do with the datastore and postgresql).The text was updated successfully, but these errors were encountered: