go - golang webservice crashes unexpectedly without error -


i'm developping webservice golang. uses net/http package , others packages github.com/go-sql-driver/mysql , redigo (redis). have no problem when develop it, no bugs. when put on server in production service in ground (i.e. : launched ./myprogram &). problem after few times, never same : can few minutes or few hours, crash. service doesn't appear anymore in netstat : down. memory/cpu consumption/opened tcp connections, there's nothing anormal. log information on errors , requests on service in file, there nothing anormal, crashes.

if have idea,please tell me. or idea on way can track error.

you mention happens when running on production server.

could case process being killed when disconnect login session? if so, want either use proper startup script, or @ least start nohup

nohup ./myprogram & 

see this answer @ serverfault more details.


Comments

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -