Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

468
Views
Puppet fails with : Cannot allocate memory - fork(2)

Here is my puppet command:

exec { 'unzip Data.zip':
  command     => '/usr/bin/unzip -qq -o /vagrant/modules/wls/files/Data.zip -d /weblogic/app',
  group       => 'vagrant',
  user        => 'vagrant',
  require    => File['/weblogic/app/WEB-INF'],
}

Here is the error message:

Error: /Stage[main]/Deploy_webapp/Exec[unzip Data.zip]/returns: change from notrun to 0 failed: Cannot allocate memory - fork(2)

SLES 11SP3 on Virtual Box managed by Vagrant

  • 1 Processor
  • 4GB RAM ( works with 6GB )

    # Use VBoxManage to customize the VM. For example to change memory: vb.customize ["modifyvm", :id, "--memory", "4096"]

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Maybe overcommit is disabled in your system, try:

echo 1 > /proc/sys/vm/overcommit_memory
over 4 years ago · Santiago Trujillo Report

0

Use below, logstash start automatically after puppy agent -t command

systemctl stop logstash

This should resolve your issue.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!