mod_log_events_by_memory/README.markdown
author Kim Alvefur <zash@zash.se>
Mon, 10 Jun 2019 14:38:06 +0200
changeset 3619 5fe34e5f9829
child 3621 61b9c89db212
permissions -rw-r--r--
mod_log_events_by_memory: Log events where Lua memory usage increased

This module compares the memory usage reported by Lua before and after
each event and reports it to the log if it exceeds the configuration
setting `log_memory_threshold` (in bytes).

``` lua
log_memory_threshold = 20*1024
```