GithubHelp home page GithubHelp logo

Comments (3)

lemmih avatar lemmih commented on May 25, 2024

You're not closing any of the databases so maybe you're running out of file descriptors. Try changing the ulimit and run it again.

On Wednesday, June 4, 2014 at 1:06 PM, smurphy8 wrote:

https://github.com/smurphy8/broken-acid-test
I made a test that just makes a bunch of counters and breaks acid-state. with a resource busy .
since the counters are just being opened in sequentially numbered directories it doesn't seem like there should be a problem.


Reply to this email directly or view it on GitHub (#37).

from acid-state.

smurphy8 avatar smurphy8 commented on May 25, 2024

I have ulimit set to 10k soft and 100k hard. It is breaking at 500 open timers.

from acid-state.

smurphy8 avatar smurphy8 commented on May 25, 2024

Here is the output from the program after I added in a milisecond delay between state opens.

08:59:52-scott~/programs/reference/broken-acid-state-test (master)$ ./dist/build/acidStress/acidStress
"stressing system"
acidStress: <file descriptor: 1026>: hClose: invalid argument (Invalid argument)

Here are my ulimits settings...

08:59:57-scott~/programs/reference/broken-acid-state-test (master)$ ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 127028
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 10000
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 127028
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

from acid-state.

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.