Giter Site home page Giter Site logo

Comments (8)

wonchoe avatar wonchoe commented on May 10, 2024

ulimit -n 200000
looks like that is help to me

from webminerpool.

 avatar commented on May 10, 2024

Same thing happens to me on my server. I have around 1200 clients and then this happens. https://minexmr.stream

from webminerpool.

 avatar commented on May 10, 2024

If you look in Program.cs, on line 637 you are able to disable the restart fleck server option. This let me debug a bit more. Increasing file handles as you suggested didn't improve.

from webminerpool.

notgiven688 avatar notgiven688 commented on May 10, 2024

@Paul0921 check soft and hard limits of ulimit. It is 99% a ulimit problem.

from webminerpool.

tgves avatar tgves commented on May 10, 2024

@Paul0921 it's as @notgiven688 mentioned. I also faced this problem and the solution was to increase the soft limit of ulimit ( ulimit -Sn ).

One important thing i'd like to mention, if you run the instance on ubuntu, please be aware that you may have to hard code the soft limit of ulimit, as ubuntu will just reset it to 1024 once you restart your ssh session ( don't ask me why though ).

from webminerpool.

 avatar commented on May 10, 2024

@tgves I found the solution, sorry I didn't post here. To make it stay after boot, this works on 16.04 for me

"sudo sh -c 'cat >> /etc/security/limits.conf' <<EOF

  •           hard    rtprio          20
    
  •           soft    rtprio          10
    
  •           hard    nofile          65535
    
  •           soft    nofile          65535
    

EOF
"
Copy everything between the quotes, I dont know how to use md

from webminerpool.

tgves avatar tgves commented on May 10, 2024

@Paul0921 glad you solved it 👍

from webminerpool.

wonchoe avatar wonchoe commented on May 10, 2024

my solution

nano /etc/security/limits.conf

root soft nofile 1000000
root hard nofile 1000000
root soft fsize unlimited
root hard fsize unlimited
root soft data unlimited
root hard data unlimited
root soft stack unlimited
root hard stack unlimited
root soft rss unlimited
root hard rss unlimited
root soft core unlimited
root hard core unlimited

* soft nofile 1000000
* hard nofile 1000000
* soft fsize unlimited
* hard fsize unlimited
* soft data unlimited
* hard data unlimited
* soft stack unlimited
* hard stack unlimited
* soft rss unlimited
* hard rss unlimited
* soft core unlimited
* hard core unlimited

# End of file

from webminerpool.

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.