linuxep / lepd

server daemon of LEP
45 stars 40 forks source link

Cannot open /proc/stat: Too many open files #6

Closed chensong2000 closed 7 years ago

chensong2000 commented 7 years ago

browser--lepv--lepd, found 1 time

chensong2000 commented 7 years ago

func: mpstat
para:-P
para:ALL
para:1
para:1
para:(null)
Cannot open /proc/stat: Too many open files

chensong2000 commented 7 years ago

the fds in run_builtin_cmd are not appropriately handled, fixed

chensong2000 commented 7 years ago

running sudo lsof -p pid, found a lot of /dev/pts..., increasing all the time and lepd was terminated once fd number reached 1024(ulimit)