GithubHelp home page GithubHelp logo

Comments (5)

impredicative avatar impredicative commented on June 11, 2024

Are you running the Docker image?

Do you have free memory on the host and for the container?

from irc-rss-feed-bot.

tomkap avatar tomkap commented on June 11, 2024

Are you running the Docker image?

It runs inside a lxc container with python3 virtualenv

Do you have free memory on the host and for the container?

# free -m
               total        used        free      shared  buff/cache   available
Mem:             954         683          72           0         358         271
Swap:           2399         214        2185

from irc-rss-feed-bot.

impredicative avatar impredicative commented on June 11, 2024

The logs for the two instances that I'm running don't show any such error.

What is the base OS?

Had this been working fine before? Or did you just start trying the bot?

from irc-rss-feed-bot.

impredicative avatar impredicative commented on June 11, 2024

@tomkap Also, please accurately test and confirm that the container is writable, but preferably is not persistent across restarts. Only the sqlite database directory should ideally be persistent.

Additionally, GPT says:

  1. Check and adjust the semaphore limits on your system. On Linux, you can view the current limits with cat /proc/sys/kernel/sem and adjust them using sysctl if necessary. Increasing the limits may resolve the issue.
  2. Ensure that the directory used by Python for semaphore files is accessible and writable by the user running the Python process.
  3. Stale semaphore files left over from crashed or improperly terminated processes can cause issues. Cleaning up these stale files can sometimes resolve the problem. However, you should be careful and ensure that these files are not currently used by active processes.
    Please let me know how these go.

from irc-rss-feed-bot.

tomkap avatar tomkap commented on June 11, 2024

Freeing some extra memory seems that resolved the issue. The bot is running for 2 days without an issue.

from irc-rss-feed-bot.

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.