Marathon
Service overview
| Software owner | Mesosphere, Inc. |
|---|---|
| System requirements | |
| Management | wfmanager (start | stop | restart | status) marathon |
| Log files | Access logs: |
| Startup scripts | <INSTALL_DIR>/supervisord/apps/marathon.ini<INSTALL_DIR>/marathon/bin/start |
| Configuration files | Service directory: |
| 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 the 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