Prosody 0.9.7 is slowly leaking memory, at ~70 MBytes/month (exhibit 1 attached).
Loaded experimental(?) modules: smacks, carbons, pinger, s2s_keepalive, statistics, statistics_more, statistics_auth, lastlog
The server is using libevent.
The memory usage is growing in the `memory_used` department, according to mod_statistics.
At the time of writing:
STAT "memory_lua" (56294458)
STAT "memory_used" (175401296)
STAT "memory_unused" (6500272)
I have followed the memory-leak snippet using dump.lua and MemoryExplorer, and it showed up 2M of total used memory (exhibit 2), most of it in the "events" table for the served host - which looks far away from the 175MB reported.
My naive assumption is that maybe some OS-level resource is leaked (timer references or somesuch).
I can confirm this issue using debian wheezy and the packages provided by prosody. We already discussed this in the support channel and the devs concluded that the problem might be in the C part of some lua lib and not so likely in one of the modules. I also noticed my munin graphs look a little different, as the Lua memory consumption stays constant, while the rest leaks.