re
I twice (after a week or so uptime) have got strange errors about too many
files being open .. today I'll investigated the matter and the result:
mybox:/usr/src/kannel-snapshot/gw# lsof | grep bearerbox | grep deleted | wc
1152 11520 108288
mybox:/usr/src/kannel-snapshot/gw#
so we have 1152 files open by bearerbox .. most of the lines look like:
bearerbox 29041 root 114w REG 8,3 3041 547369
/var/kannel/store (deleted)
looking at the code: gw/bb_store.c, the store file is opened by open_file()
in do_dump() .. but I somehow cannot find the place where it will be closed
later ..
any comments?
kaido