Topic: [SOLVED]Conky: setmntent /etc/mtab: Too many open files

this is an error message i am getting while running my conkybar setup
causing the conky to stop displaying

ive read this: http://www.patoche.org/LTT/kernel/00000128.html

but i cant say i understand it all

it seems that i can increase the limit of files open but how exactly?

thanks!

solved by dk75 over on the ubuntu conky thread

i had lines like this:

tdread = io.open("/home/mcdowall/conkyset/tdset.txt", "r")

in my lua script

so every conky cycle the script is activated and the line is read again, opening the file again so it would just build up and up

so at the end of the script i needed to do this:

tdread:close()

Last edited by mrpeachy (2010-09-11 15:29:31)

It's hard to find something if you don't know what you're looking for.
I have a blog, it's mostly about conky and lua stuff... go here.