Marathon
Service overview
| Software owner | Mesosphere, Inc. |
|---|---|
| Version | 1.4.7 |
| System requirements | |
| Management | wfmanager (start | stop | restart | status) marathon |
| Log files | Access logs: ${install_dir}/supervisord/log/marathon.out.log |
| Startup scripts | ${install_dir}/supervisord/apps/marathon.ini ${install_dir}/marathon/bin/start |
| Configuration files | Service directory: ${install_dir}/marathon/ |
| Default Ports | tcp 8480 and 8080 |
Default parameters
| Configuration file | Name | Default value | Description |
|---|---|---|---|
| config.yml | install_dir | /opt/workfusion | Directory to put user files, logs and configs |
| config.yml | marathon_proxy_port | 8480 | Default service port for installation |
| config.yml | marathon_java_opts | Xmx16G | VDS applications java opts |
Troubleshooting
Check if TCP ports 8480 and 8080 are available.
netstat command output
$ netstat -tnlp | egrep '8080|8480' tcp 0 0 0.0.0.0:8480 0.0.0.0:* LISTEN 26343/nginx: master tcp6 0 0 127.0.0.1:8080 :::* LISTEN 21903/javass command output
$ ss -ltn | egrep '8080|8480' LISTEN 0 511 *:8480 *:* LISTEN 0 50 ::ffff:127.0.0.1:8080 :::*lsof command output
$ lsof -P -n -i :8480 -i :8080 | grep LISTEN java 21903 wfuser 22u IPv6 74892420 0t0 TCP 127.0.0.1:8080 (LISTEN) nginx 26343 wfuser 4u IPv4 74901595 0t0 TCP *:8480 (LISTEN) nginx 29644 wfuser 4u IPv4 74901595 0t0 TCP *:8480 (LISTEN) nginx 29645 wfuser 4u IPv4 74901595 0t0 TCP *:8480 (LISTEN)Check the default main log files.
- Access logs:
${install_dir}/supervisord/log/marathon.out.log - Error logs:
${install_dir}/supervisord/log/marathon.err.log
$ tail -f ${install_dir}/supervisord/log/marathon.err.log ${install_dir}/supervisord/log/marathon.out.log- Access logs:
Check Marathon out (access) log using the Wfmanager util.
wfmanager tail marathonEnable more detailed debug information.
Set the appropriate log level to
${install_dir}/supervisord/apps/marathon.iniand restart the Marathon service:${install_dir}/supervisord/apps/marathon.iniAdd the following to the start-up configuration part of this file: --logging_level "Use one of off, fatal, error, warn, info, debug, trace, all."wfmanager restart marathon