anyproxy
anyproxy copied to clipboard
Cache folder grows too big over time. Is there a way to limit/disable the cache?
Linux 4.15.0 Node 12.14.1 AnyProxy 4.0.5
We have a long-running Node service that runs AnyProxy like this:
import anyproxy from 'anyproxy'
...
const proxyServer = new anyproxy.ProxyServer({
...
});
proxyServer.on(...);
proxyServer.on(...);
proxyServer.start();
Every day, the cache directory grows by ~12 GB. Since this is a long-running process, eventually the cache directory grows too big and we run out of disk space.
Is there a way to configure AnyProxy so that either:
- The cache folder is disabled?
- The cache folder is limited to a certain size, e.g. with LRU eviction?
same issue...
Same issue
Here is my solution: exec the cmd in crontab: kill -2 anyproxy.pid singal 2 will clean the cache dir
Same issue! Any resolution?
same issue...