Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

too many open files due to LOADAVG message #35

Open
vschiavoni opened this issue Jun 1, 2015 · 0 comments
Open

too many open files due to LOADAVG message #35

vschiavoni opened this issue Jun 1, 2015 · 0 comments

Comments

@vschiavoni
Copy link
Member

The controller sends a LOADAVG message to each splayd.
On PlanetLab, the following can happen:

Seen on planetlab deployment, ple01.fc.univie.ac.at, 25/07/2011:

Command: PING
Command: PING
Command: LOADAVG
Disconnected: splayd.lua:541: attempt to index a nil value
Trying to re-connect to the Controller in average 180 seconds (23 this time).
C daemon: splayd.lua:892: Too many open files in system
End of splayd (C deamon)

At the time of the crash, line 541 was:

local f = string.gmatch(io.open("/proc/loadavg"):read(), "%d+.%d+")

Check if there are pending open file-descriptors (maybe io.open does not lose the FD upon return?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant