Comments (14)
Ok thanks, now it works! Had an old source...
Is there a way to get the version from supervisord? I really think its a nice feature to compare and know where you are...
from supervisord.
now the log will be appended to the previous log file if it's max size does not exceed the limit.
from supervisord.
any suggestion on the error message you want to get?
from supervisord.
Maybe capture the stdout from when the command was executed?
from supervisord.
The stdout/stderr can be redirect to file with program configure item "stdout_logfile"/"stderr_logfile". Also you can redirect the program stdout/stderr to syslog.
from supervisord.
Okay there was no output, just a return code of 126
.
Maybe the return code can be in the error message? For example, "fail to start program: return code 126".
from supervisord.
exit status is added in the log, please try it
from supervisord.
There is something which bothers me. When a program exits with an exception, while having redirected stdout_logfile or/and stderr_logfile, the program restarts as expected, but the log files are reinitialized instead of appending the content to it. This makes almost impossible to see what happens with the programs. Any hints on how to sort this out?
from supervisord.
Thanks for your answer, but that doesn’t happen to me... They get truncated everytime the app restarts... Since when is this implemented (version)? Is there a way to get the version...because ./supervisord -v
doesnt work... How do you configure the max size limit?
Thanks in advance.
from supervisord.
What is your "stdout_logfile"? it is in absolute path or relative path?
The max size is configured with parameter stdout_logfile_maxbytes/stderr_logfile_maxbytes. If this parameter is not configured, its default size is 50M.
from supervisord.
Have you sync your source code to the latest?
from supervisord.
I tried, but now it can't even compile...and sadly go is not my primary language of use...
I first execute:
go get -u -v -d github.com/ochinchina/supervisord
and then
GOOS=linux GOARCH=arm go build github.com/ochinchina/supervisord
# github.com/ochinchina/supervisord
/home/user/go/src/github.com/ochinchina/supervisord/set_user_id.go:10: unknown field 'NoSetGroups' in struct literal of type syscall.Credential
from supervisord.
Please use golang 1.9 to compile it
from supervisord.
it is a good idea for supervisor to print a version or build no.
I will add a command line command to print the version later.
from supervisord.
Related Issues (20)
- @
- web界面显示的进程数量超过65个后,其余进程状态不显示
- Missing dependency in v0.7.3 (fileb0x)
- terminate supervisord when no children processes left
- 100 eventlisteners, supervisord_golang can not start HOT 2
- Supervisord considers an exited process as still running
- supervisord-v0.7.3-ce01615 version incorrcet
- [bug] restart show success but actually failed HOT 1
- windows下有其他的守护工具可以使用吗? 直接使用的软件也可以。 HOT 1
- Could you please release up-to-date binaries? HOT 2
- Go version uses 2.5 more RAM than python one HOT 1
- Crash on CentOS 8 Stream
- 请问什么时候发新版本?谢谢 HOT 2
- Feature suggestion: an option to execute a binary (or a script) before starting the main binary being monitored, and an option to execute one after start of monitored binary
- ARM version in docker hub
- Logs HOT 1
- 有个错误帮忙看看下, dl-call-libc-early-init.c:37: _dl_call_libc_early_init: Assertion `go != NULL' failed. HOT 2
- supervisord ctl status group:* is nonsupport ?
- Issue with supervisord version
- There are many issues that I don't know where to start.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from supervisord.