Git Product home page Git Product logo

Comments (3)

leehambley avatar leehambley commented on May 28, 2024

EPIPE usually indicates that something like foo | bar (i.e piping output of foo into bar), which can also happen when a parent child spawns a child process and uses a "pipe" to connect the stdout, or some other stream from the parent into the stdin (or some other stream) in the child.

Your intuition is probably correct, it for sure means that a process you were writing to in the parent died, probably the bundler, and possibly because of OOM.

Depending heavily on your OS, configuration, and the hosting platform you use, there could be a number of ways to find out. I suggest you look for ways to see the kernel logs, systemd journal, or at least the "OOM killer" logs (which may be in the kernel logs, or systemd journal)

Sorry we can't help more, but to confirm your suspiscion that it's a system-specific issue you are facing due to your OS configuration or machine sizing.

from capistrano.

jaewpdev avatar jaewpdev commented on May 28, 2024

Thank you for your response. Regarding your point about confirming my suspicion on a system-specific level, I'm assuming the remote system I'm deploying to would be the issue and not locally correct?
To trail off that point, I've updated the node version on the remote system and the error I'm receiving is a bit different. Wondering if this changes your speculation

00:11 deploy:assets:precompile
      01 /usr/local/rvm/bin/rvm default do bundle exec rake assets:precompile

      01 
      01 yarn install v1.22.5
      01

      01 
      01 [1/4] Resolving packages...
      01
      01 
log writing failed. "\xE2" from ASCII-8BIT to UTF-8
      01 ⠁
      01 
log writing failed. "\xE2" from ASCII-8BIT to UTF-8
⠂ call-bind@^1.0.0
log writing failed. "\xE2" from ASCII-8BIT to UTF-8
⠄ has-flag@^4.0.0

      01 
[2/4] Fetching packages...
      01

info [email protected]: The platform "linux" is incompatible with this module.

info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...

      01 warning " > @stripe/[email protected]" has incorrect peer dependency "react@^16.8.0 || ^17.0.0".

      01 warning " > @stripe/[email protected]" has incorrect peer dependency "react-dom@^16.8.0 || ^17.0.0".

      01 warning " > [email protected]" has incorrect peer dependency "moment-range@^3.0.3".

      01 warning " > [email protected]" has incorrect peer dependency "[email protected] || 15.x.x || 16.x.x".

      01 warning " > [email protected]" has incorrect peer dependency "[email protected] || 15.x.x || 16.x.x".

      01 warning " > [email protected]" has incorrect peer dependency "react@~0.13.x || ~0.14.x || ^15.0.0 || ^16.0.0".
      01
warning "react-router-dom > react-router > [email protected]" has incorrect peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0 || ^17…
[4/4] Building fresh packages...

      01 Done in 11.78s.
      01 Compiling...
      01 Compilation failed:
      01
#<Thread:0x000000014748b5a0@/Users/jaepark/.rvm/gems/ruby-2.6.6/gems/sshkit-1.19.1/lib/sshkit/runners/parallel.rb:10 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
        13: from /Users/jaepark/.rvm/gems/ruby-2.6.6/gems/sshkit-1.19.1/lib/sshkit/runners/parallel.rb:12:in `block (2 levels) in execute'
        12: from /Users/jaepark/.rvm/gems/ruby-2.6.6/gems/sshkit-1.19.1/lib/sshkit/backends/abstract.rb:31:in `run'
        11: from /Users/jaepark/.rvm/gems/ruby-2.6.6/gems/sshkit-1.19.1/lib/sshkit/backends/abstract.rb:31:in `instance_exec'
        10: from /Users/jaepark/.rvm/gems/ruby-2.6.6/gems/capistrano-rails-1.4.0/lib/capistrano/tasks/assets.rake:67:in `block (4 levels) in <top (required)>'
         9: from /Users/jaepark/.rvm/gems/ruby-2.6.6/gems/sshkit-1.19.1/lib/sshkit/backends/abstract.rb:92:in `within'
         8: from /Users/jaepark/.rvm/gems/ruby-2.6.6/gems/capistrano-rails-1.4.0/lib/capistrano/tasks/assets.rake:68:in `block (5 levels) in <top (required)>'
         7: from /Users/jaepark/.rvm/gems/ruby-2.6.6/gems/sshkit-1.19.1/lib/sshkit/backends/abstract.rb:100:in `with'
         6: from /Users/jaepark/.rvm/gems/ruby-2.6.6/gems/capistrano-rails-1.4.0/lib/capistrano/tasks/assets.rake:69:in `block (6 levels) in <top (required)>'
         5: from /Users/jaepark/.rvm/gems/ruby-2.6.6/gems/sshkit-1.19.1/lib/sshkit/backends/abstract.rb:80:in `execute'
         4: from /Users/jaepark/.rvm/gems/ruby-2.6.6/gems/sshkit-1.19.1/lib/sshkit/backends/abstract.rb:148:in `create_command_and_execute'
         3: from /Users/jaepark/.rvm/gems/ruby-2.6.6/gems/sshkit-1.19.1/lib/sshkit/backends/abstract.rb:148:in `tap'
         2: from /Users/jaepark/.rvm/gems/ruby-2.6.6/gems/sshkit-1.19.1/lib/sshkit/backends/abstract.rb:148:in `block in create_command_and_execute'
         1: from /Users/jaepark/.rvm/gems/ruby-2.6.6/gems/sshkit-1.19.1/lib/sshkit/backends/netssh.rb:169:in `execute_command'
/Users/jaepark/.rvm/gems/ruby-2.6.6/gems/sshkit-1.19.1/lib/sshkit/command.rb:97:in `exit_status=': rake exit status: 1 (SSHKit::Command::Failed)
yarn install v1.22.5

I have removed node_modules and ran yarn and also ran bundle install. May be related to sshkit? I guess that leads to my question of what could've changed with sshkit that is causing this if this is the culprit. I've compared sshkit versions across different commits and it's constant.

Thanks for your time

from capistrano.

jaewpdev avatar jaewpdev commented on May 28, 2024

Lack of memory space in remote system was the issue. Issue resolved by expanded memory by adding swap space. Thank you @leehambley for your time.

from capistrano.

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.