diff --git a/python/ray/dashboard/client/src/api.ts b/python/ray/dashboard/client/src/api.ts index f12a7f608..afe6c9358 100644 --- a/python/ray/dashboard/client/src/api.ts +++ b/python/ray/dashboard/client/src/api.ts @@ -70,7 +70,6 @@ export interface NodeInfoResponse { vms: number; rss: number; }; - memory_full_info: null; // Currently unused as it requires superuser permission on some systems }>; }>; log_counts: { diff --git a/python/ray/ray_constants.py b/python/ray/ray_constants.py index f805aa8d7..7e091c0cc 100644 --- a/python/ray/ray_constants.py +++ b/python/ray/ray_constants.py @@ -150,8 +150,8 @@ AUTOSCALER_UPDATE_INTERVAL_S = env_integer("AUTOSCALER_UPDATE_INTERVAL_S", 5) AUTOSCALER_HEARTBEAT_TIMEOUT_S = env_integer("AUTOSCALER_HEARTBEAT_TIMEOUT_S", 30) -# The reporter will report its' statistics this often (milliseconds). -REPORTER_UPDATE_INTERVAL_MS = env_integer("REPORTER_UPDATE_INTERVAL_MS", 500) +# The reporter will report its statistics this often (milliseconds). +REPORTER_UPDATE_INTERVAL_MS = env_integer("REPORTER_UPDATE_INTERVAL_MS", 2500) # Max number of retries to AWS (default is 5, time increases exponentially) BOTO_MAX_RETRIES = env_integer("BOTO_MAX_RETRIES", 12) diff --git a/python/ray/reporter.py b/python/ray/reporter.py index b04e4c181..be009172a 100644 --- a/python/ray/reporter.py +++ b/python/ray/reporter.py @@ -112,8 +112,12 @@ class Reporter(object): def get_workers(): return [ x.as_dict(attrs=[ - "pid", "create_time", "cpu_percent", "cpu_times", "cmdline", - "memory_info", "memory_full_info" + "pid", + "create_time", + "cpu_percent", + "cpu_times", + "cmdline", + "memory_info", ]) for x in psutil.process_iter(attrs=["cmdline"]) if is_worker(x.info["cmdline"]) ]