worker: GOMEMLIMIT 560MiB, замер oom/memlimit в limits
This commit is contained in:
@@ -414,6 +414,8 @@ def scenario_limits(c):
|
||||
'worker_anon_memory_max_mib': round(anon_max[0] / 1048576, 1),
|
||||
'worker_memory_peak_incl_page_cache_mib': round(int(peak) / 1048576, 1) if peak.isdigit() else peak,
|
||||
'oom_kill_events': oom.get('oom_kill', 0),
|
||||
'go_memlimit': sh('docker', 'exec', cid, 'printenv', 'GOMEMLIMIT', check=False).stdout.strip(),
|
||||
'oom_events': oom.get('oom', 0),
|
||||
'worker_memory_limit_mib': round(int(limit) / 1048576, 1) if limit.isdigit() else limit,
|
||||
'pixel_budget': 60_000_000, 'decoded_rgba_per_image_mib': round(6000 * 6000 * 4 / 1048576, 1),
|
||||
'variant_sizes': th}
|
||||
|
||||
Reference in New Issue
Block a user