Giter Site home page Giter Site logo

rugu's People

Contributors

arosien avatar chrislewis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rugu's Issues

OverShell, :> and :>>

This is a real concurrency issue. If you specify ovr("ls" :> "out") (or :>>), where ovr is an OverShell instance for N connections, then write attempts will conflict from the different worker threads.

indefinite read attempt on result stream can hang

There seems to be a threading issue in Jsch, where Jsch instances themselves are not thread-safe (we aren't mutexing connections, but a Jsch instance provides fresh sessions which are kept in a single thread). It's been tough to reproduce this; specs2 tests sbt w/ sbt test parallelization disabled results in sporadic hangs unless specs parallelization is disabled in the spec itself. I've failed to reproduce this yet in a straight up j.u.c scenario (https://gist.github.com/1176662), but it the issue seems to be JSch.

sshj is worth evaluating. It seems cleaner, thread-safe, and much more active.

OverShell liveness seems to degrade linearly

It seems that an overshell gets slower with more underlying instances. A thread dump revealed the following; it's quite possible that threads contend for blocking reads on the system's random generator (more threads, more contentions):

"pool-6-thread-11" prio=10 tid=0x000000004190d000 nid=0x6e88 waiting for monitor entry [0x00007f56810af000]
java.lang.Thread.State: BLOCKED (on object monitor)
at sun.security.provider.NativePRNG$RandomIO.implGenerateSeed(NativePRNG.java:201)
- waiting to lock <0x00000000f7a02de8> (a java.lang.Object)
at sun.security.provider.NativePRNG$RandomIO.access$300(NativePRNG.java:108)
at sun.security.provider.NativePRNG.engineGenerateSeed(NativePRNG.java:102)
at java.security.SecureRandom.generateSeed(SecureRandom.java:495)
at net.schmizz.sshj.transport.random.BouncyCastleRandom.(BouncyCastleRandom.java:65)

Include test.properties in git

Hey there Chris,

@splittingfield here.

I just pulled the rugu git repository and tried to run the tests and noticed that the test.properties file required
for RemoteCommandSpec.scala is not included in the repository.

Feel free to reach me via email [email protected].

Take care,
m

OverShell#download

OverShell downloads from multiple hosts will conflict. This can be handled by a transformation of the file name per host.

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.