GithubHelp home page GithubHelp logo

Comments (10)

hrishin avatar hrishin commented on August 15, 2024

error logs

[Pipeline] stage
[Pipeline] { (Processing Template)
[Pipeline] sh
[workspace] Running shell script
+ set -u
+ set -e
+ for i in 'hshinde-{stage,run}'
+ oc delete all --all -n hshinde-stage
deploymentconfig "nodejs-health-check-osio-master" deleted
imagestream "nodejs-health-check-osio-master" deleted
imagestream "runtime-osio-master" deleted
route "nodejs-health-check-osio-master" deleted
pod "nodejs-health-check-osio-master-2-2zt6r" deleted
service "nodejs-health-check-osio-master" deleted
+ for i in 'hshinde-{stage,run}'
+ oc delete all --all -n hshinde-run
deploymentconfig "nodejs-health-check-osio-master" deleted
imagestream "nodejs-health-check-osio-master" deleted
imagestream "runtime-osio-master" deleted
route "nodejs-health-check-osio-master" deleted
pod "nodejs-health-check-osio-master-2-sp99x" deleted
service "nodejs-health-check-osio-master" deleted
+ for i in hshinde 'hshinde-{stage,run}'
+ oc apply -f- -n hshinde
+ oc process -f .openshiftio/application.yaml SOURCE_REPOSITORY_REF=1f4e5af SUFFIX_NAME=-osio-master SOURCE_REPOSITORY_URL=https://github.com/hrishin/nodejs-health-check.git

from osio-pipeline.

hrishin avatar hrishin commented on August 15, 2024

Since most of this work is done by shelling out OC command. Hence Jenkins throws memory allocation issues during fork -> exec.

from osio-pipeline.

hrishin avatar hrishin commented on August 15, 2024

For further testing, increased memory limit of Jenkins from 512Mi to 1 Gi. After running 20+ builds I've never seen that memory issue again.

image

Resource usage stats of Jenkins pod.

from osio-pipeline.

hrishin avatar hrishin commented on August 15, 2024

Memory snapshot of Jenkins container. It clearly appears the invoking sh command may be creating zombie processes.

image

from osio-pipeline.

chmouel avatar chmouel commented on August 15, 2024

from osio-pipeline.

hrishin avatar hrishin commented on August 15, 2024

@chmouel this can be handle gracefully by executing a job in new slave agent?

from osio-pipeline.

chmouel avatar chmouel commented on August 15, 2024

why do we need a slave agent? why not just a timeout { }

from osio-pipeline.

hrishin avatar hrishin commented on August 15, 2024

yes @chmouel lets put timeout events for such cases.
However running jobs in slave pods with enough memory would prevent such kind problems, right?

from osio-pipeline.

chmouel avatar chmouel commented on August 15, 2024

yeah right, but let's try to make sure we make this works with the current limiters of what we have on OSIO, we can't really assume we can request more memory/pods/cpu in the osio tenant,

from osio-pipeline.

hrishin avatar hrishin commented on August 15, 2024

This is fixed now.

from osio-pipeline.

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.