bbangert / beaker

WSGI middleware for sessions and caching
https://beaker.readthedocs.org/
Other
517 stars 146 forks source link

will file type session increase memory usage ? #176

Open aishenghuomeidaoli opened 5 years ago

aishenghuomeidaoli commented 5 years ago

I use uwsgi + bottle in my project. I found that memory usage grows linearly with time.

does session file caused this?

amol- commented 5 years ago

It shouldn't. Files on disk will grow unless you delete older ones, but memory usage should be pretty stable. Are you by chance using also Beaker for caching in-memory?

I suggest you try Dozer ( https://github.com/mgedmin/dozer ) to detect what's causing leaks in the app. Let me know if you find any issue with beaker.

aishenghuomeidaoli commented 5 years ago

@amol- thanks for your reply。we don't find the reason till now, however op workmates clearing os buffer cache regularly solved it. I'll try your method to check it.