Coder Social home page Coder Social logo

Comments (9)

neo-anderson avatar neo-anderson commented on June 16, 2024 1

I tried ulimit -n 10000. It fixed the issue completely. Ingesting with 100 connections without an issue 👍. Thanks!

from pyvespa.

thigm85 avatar thigm85 commented on June 16, 2024

This seems to be an OS limitation. I was once running a script on an AWS EC2 instance and I had to increase the open file soft limit when using app.feed_batch.

I increased the limit with ulimit -n 10000 and checked with ulimit -Sn. It worked after that.

If the above does not work, try to reduce the number of async connections via the connections parameter:

app.feed_batch(..., connections, ...)

from pyvespa.

neo-anderson avatar neo-anderson commented on June 16, 2024

I didn't change ulimit, but tried reducing the number of connections like you suggested and it worked! The default number of connections (100) was fine for a local docker deployment. Had to reduce it to ingest the same data into Vespa Cloud. Thanks for your help.

from pyvespa.

thigm85 avatar thigm85 commented on June 16, 2024

Glad it worked. Did you check what the highest value that worked was? I might consider changing the default connections value.

from pyvespa.

neo-anderson avatar neo-anderson commented on June 16, 2024

Hi @thigm85 , connections set to 100 and 50 didn't work for me, but setting it to 20 worked. I dont know if it's the max value that would work though. Cheers!

from pyvespa.

thigm85 avatar thigm85 commented on June 16, 2024

Thanks @neo-anderson

from pyvespa.

bratseth avatar bratseth commented on June 16, 2024

@lesters put this in the doc somewhere and/or change default?

from pyvespa.

thigm85 avatar thigm85 commented on June 16, 2024

@bratseth @lesters I can create a troubleshooting section and include this. It was on my to-do list anyway.

from pyvespa.

bratseth avatar bratseth commented on June 16, 2024

Yes, great!

from pyvespa.

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.