Re: What does status code 255 mean?


Daniel Mikusa
 

It is the exit status of your application. In other words, your app exited
and returned this number.

http://tldp.org/LDP/abs/html/exit-status.html

It may be an application specific number or it could be one of the exit
codes with a special meaning.

http://tldp.org/LDP/abs/html/exitcodes.html

In this case, it's 255 which is kind of a generic number. Do you see
anything in the logs prior to the application exiting? If not, try turning
up the logging in your application to see if you can figure out what it is
doing prior to exiting.

Dan

On Mon, May 2, 2016 at 4:33 AM, Sam Dai <sam.dai(a)servicemax.com> wrote:

Hello,
I deployed an application to Diego, found this application often got
restarted, there is no error message in the log, just found the following
message, what does the status code 255 mean?

*2016-05-02T14:15:00.06+0800 [CELL/0]* OUT Exit status 255

*2016-05-02T14:15:00.06+0800 [APP/0]* OUT Exit status 255

*2016-05-02T14:15:00.17+0800 [CELL/0]* OUT Creating container

*2016-05-02T14:15:00.66+0800 [CELL/0]* OUT Successfully created
container
*2016-05-02T14:15:43.61+0800 [CELL/0]* OUT Starting health monitoring
of container


CF release version: v235
Diego version: v0.1467.0

Thanks,
Sam

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.