Pipeline failing to load artifact

Follow

Comments

2 comments

  • Avatar
    Sachin Sudheendra

    Hi Steve,


    You could get this exception if you ran out of file descriptors. You can check this by running the command "sysctl fs.file-nr"


    Also, can you please try the following to bump up the limit on file descriptors for go user:


    Check the output of 'ulimit -Hn' (this will return hard limit) and 'ulimit -Sn'(which returns soft limit). Both of these values should be set to high numbers like 20000. If its not already set to high enough number, please use these commands to set them to appropriate values



    - Check the contents of /proc/sys/fs/file-max (this should be a fairly high number, if not, please set it to 600000 using the command 'sudo sysctl -w fs.file-max=600000'


    - Add the following lines to /etc/security/limits.conf (first column is name of the user, please change it to cruise if the server runs as cruise)


    go         soft    nofile          20000


    go         hard    nofile          20000


    - Stop Go Server and all instances of Go Agent running locally


    - Terminate the shell you have used to do all these actions


    - Get another session (as user go or cruise)


    - Verify the numbers had effect (use ulimit -Hn and ulimit -Sn)


    - Start the Go Server and Go Agents

  • Avatar
    Scott, Stephen

    Thanks Sachin,


     


    I'll look into this. However in this case we've discovered the root cause was that /tmp was100% full.


     


    Is there any way to configure go so that it uses a different temporry area?


     


    Steve

Please sign in to leave a comment.