Giter VIP home page Giter VIP logo

Comments (2)

markmacgillivray avatar markmacgillivray commented on July 18, 2024

Hello there,

when you run bibserver via gunicorn you need to follow the production
deployment methods. The main point here is that the ingest service is not
run for you automatically, because it runs as a stand-alone asynchronous
service that picks up jobs as they appear on the queue. This allows you to
easily scale your frontend and backend processes separately and as required.

So if you are doing production deployment and using gunicorn to manage your
bibserver frontend, you need to do something similar to start and manage
the ingest service too.

I note that our deployment docs do not explicitly state that you need to do
the setup for the ingest method too in this sort of case, so I will update
those to make it more obvious.

Thanks for checking out bibserver!

Mark

On Wed, Aug 8, 2012 at 11:50 PM, fy [email protected] wrote:

I followed the deployment instructions on
https://github.com/okfn/bibserver/blob/master/doc/deploy.rst
I installed bibserver on Ubuntu 12.04 and everything seemed to work just
fine. I could access bibserver from both localhost and my domain.

However, when I tried to upload a json file that is 2.7mb in size, the
ticket page showed the status of the ticket was "downloaded". I kept
refreshing the page and waited at least 10 minutes, but the status was
still "downloaded". I did not have this problem when I ran the server with
"python bibserver/web.py" instead of running it with gunicorn.


Reply to this email directly or view it on GitHubhttps://github.com//issues/246.

from bibserver.

fy avatar fy commented on July 18, 2024

Great, thanks!
Uploading worked after I added another program in supervisor:

[program:ingest]
command=python bibserver/ingest.py -d
user=www-data
directory=.........

from bibserver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.