Code Monkey home page Code Monkey logo

Comments (4)

WinPooh32 avatar WinPooh32 commented on August 11, 2024

Can you describe how much ram you have, what os, etc?
Do you use docker version?
Which start parameters are used for app?
How much free space on hdd?
Any errors when fails?

How can I run this as a daemon and have it restart if/when it dies?

For bash you can try infinite start loop:

while true; do perrstohttp; sleep 1; done

from peerstohttp.

jameseriksen74 avatar jameseriksen74 commented on August 11, 2024

I'm just testing for now using an AWS instance not using docker.

Ubuntu 20, go 1.16

I'm guessing you mean:

while true; do go run github.com/WinPooh32/peerstohttp/cmd -port=8585; sleep 1; done
I can resize the instance accordingly if you have recommended specs.
Also I have set up a clean up cron script that will run every minute and remove files older than 4hrs

UPDATE This worked

from peerstohttp.

WinPooh32 avatar WinPooh32 commented on August 11, 2024

I'm just testing for now using an AWS instance not using docker.

As I know most of hosters block any p2p torrent activity.

from peerstohttp.

jameseriksen74 avatar jameseriksen74 commented on August 11, 2024

Actually AWS supports downloads they even have torrents api on s3
https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTorrent.html
Eventually I will be looking for a host after I complete the construction of my project.

from peerstohttp.

Related Issues (16)

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.