FD leak in SDaemon
Bug #1537982 reported by
Takashi Kajinami
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
storlets |
Fix Released
|
Undecided
|
Takashi Kajinami |
Bug Description
In our testing, we found that SDaemon leaks the following two file descriptors.
* the file descriptor for storlet log file
* the file descriptor for (TBD) pipe
Changed in storlets: | |
status: | New → Confirmed |
To post a comment you must log in.
I found SDaemon leaks two descriptors for each storlet execution.
Here I show an example about the two descriptors.
> java 6518 swift 29w FIFO 0,8 0t0 191003148 pipe device/ logs/scopes/ .../storlet_ invoke. log
> java 6518 swift 34w REG 259,1 3554872 26084249 /home/docker_
The fist one is a writable pipe, which is used to deliver data from SDaemon to storlet_middleware.
(I suppose it may be execution message pipe used for ping, but I have to make sure that now)
The second one is connected to a log file, and I found that SDaemon never closes that log fd.