-
-
Notifications
You must be signed in to change notification settings - Fork 43
Steadily increasing memory usage #41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Note: this issue was first noted when we tried to use the new imageservers for Plotly Cloud prod. The problems encountered are discussed starting here: https://github.com/plotly/streambed/issues/9865#issuecomment-349995119 |
I've worked around this with #47. The underlying issue should be investigated at some point. |
I was able to reproduce the error feeding sequential request of a large json file ( 4.7M ) and every single time at 233 request the process crash. The larger the file is the quicker the process crash.
I've tested with the following file : success/ee151de8-d07e-4d19-a2b6-400a2292c609_200.json command used to test: capture of orca's container when the 233rd requests happen: 12544ae95ac6 eager_banach 149.46% 2.447GiB / 4GiB 61.18% 0B / 0B 0B / 303kB 153 error message : <--- Last few GCs ---> [44:0x2542baa0000] 286865 ms: Mark-sweep 2047.7 (2087.0) -> 2047.7 (2087.0) MB, 1668.0 / 0.0 ms allocation failure GC in old space requested <--- JS stacktrace ---> ==== JS stack trace ========================================= Security context: 0x1783e7b2d681
|
I would like to know if this issue still affects the latest docker images for Orca. cc @scjody |
After a 2 hour run of all our mocks except
gl*
andmapbox*
usingtest/image-make_baseline.js
(351 mocks, taking about 55 seconds per run), against image-exporter running as an imageserver in a Docker container, memory usage grew steadily:https://plot.ly/%7EJodyMcintyre/2209/

When the run was stopped, memory usage decreased a bit then leveled out.
Examination of
ps
results showed that twoelectron
processes (probably the plot image and plot thumbnail processes) were responsible for the memory usage:A similar issue was observed in a 12 hour run of 3 imageservers in our staging environment:
As a workaround for this issue we could restart Electron after a reasonably large number of requests (e.g. 1,000). I'm going to look into this but a fix for the root cause is needed at some point.
@etpinard @monfera FYI
The text was updated successfully, but these errors were encountered: