Profiling stops when bin file hits 129mb? #77
Replies: 3 comments 4 replies
-
Could you give us a link to the code you are running to see if we can reproduce it? |
Beta Was this translation helpful? Give feedback.
-
I have a guess here - can you run
but instead something like
or something like that - which would mean you have some cap on the maximum file size you can create. |
Beta Was this translation helpful? Give feedback.
-
Oh, the other possibility - are the workers short lived? If your workers are legitimately getting restarted every N requests, this might be what you would see, as gunicorn keeps spawning new workers, which keep creating new Trackers, which keep being closed after writing 128 MB. |
Beta Was this translation helpful? Give feedback.
-
I'm using python api to start the profiler with the following options (its a flask app, and some celery modules)
After bin files hit 129mb it seems they are not updated anymore? Size doesnt increase and last touch time doesnt change.
This is probably my bad, Im wrapping whole flask app like this:
Doing the same thing for the file that
celery -A <module_name>
commands run, wrapping the whole file withinwith memray.
block.How should I be actually doing this? (Im using the api because we are using python modules called by
uwsgi
andcelery
not directly)Beta Was this translation helpful? Give feedback.
All reactions