vassh icon indicating copy to clipboard operation
vassh copied to clipboard

/usr/local/bin/vasshin: fork: Resource temporarily unavailable

Open jtsternberg opened this issue 10 years ago • 4 comments

That is the error I get when running vasshin wp plugin status, but vassh wp plugin status works great. http://b.ustin.co/6F9v

jtsternberg avatar Aug 02 '14 17:08 jtsternberg

Hummm. Seems like you have run out of memory on your VM.

westonruter avatar Aug 02 '14 21:08 westonruter

I have the same problem when I install vassh with brew, but not when I clone this repo and source it in my bash_profile

jonathanbardo avatar Aug 28 '14 15:08 jonathanbardo

Iam confronted with the same issue. i think vasshin gets confused when there are multiple sync directories.

Some stats about my setup in order to confirm we get the issue with a compareable setup.

Versions:

  • bash: 3.2.51(1)-release (default OSX)
  • OSX: 10.9.4
  • Vagrant: 1.6.3
  • VirtualBox: 4.3.14 r95030

vagrant output from vm startup:

==> default: Mounting shared folders...
    default: /var/www => /Users/dennschu/cms
    default: /vagrant => /Users/dennschu/cms
    default: /tmp/vagrant-puppet-3/manifests => /Users/dennschu/cms/vagrant/manifests
    default: /tmp/vagrant-puppet-3/modules-0 => /Users/dennschu/cms/vagrant/modules

Vagrantfile (just for reference)

Vagrant.configure("2") do |config|
  config.vm.box     = "ubuntu-precise12042-x64-vbox4310_FIX"
  config.vm.box_url = "******************"

  config.vm.network :private_network, :ip => "192.168.100.100"

  config.ssh.forward_agent = true

  config.vm.provider :virtualbox do |vm|
    vm.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
    vm.customize ["modifyvm", :id, "--memory", 1536]
    vm.customize ["modifyvm", :id, "--cpus", 2]
    vm.customize ["modifyvm", :id, "--name", "VM-Name"]
  end

  # add cache plugin for vagrant in order to
  # speed up the vm generate process
  if Vagrant.has_plugin?("vagrant-cachier")
    config.cache.auto_detect = true
    # If you are using VirtualBox, you might want to enable NFS for shared folders
    # config.cache.enable_nfs  = true
  end

  config.vm.synced_folder "./",
                          "/var/www",
                          :id => "vagrant-root",
                          :owner => "vagrant",
                          :group => "www-data",
                          :mount_options => ['dmode=772','fmode=772']

  config.vm.provision :shell,
                      :inline => "sudo apt-get update"

  config.vm.provision :puppet do |puppet|
    puppet.manifests_path = "vagrant/manifests"
    puppet.module_path    = "vagrant/modules"
    puppet.options        = ['--verbose']
  end
end

dennyweiss avatar Sep 07 '14 07:09 dennyweiss

~~Encountering the same error when just testing vasshin "echo 'hi'"~~ Nevermind, used it with my main use-case vassh phpunit and it worked. Probably got the concept wrong.

bfintal avatar Sep 05 '15 05:09 bfintal