nodeSolidServer / nodeSolidServer/node-solid-server
File descriptors are being left open
@justinwb 已经在做这个了。
开始于 2018年11月7日。
- 主要语言
- JavaScript
- 星标
- 1.8k
- 派生
- 308
- PR 合并指标
- 30 天内没有已合并 PR
描述
Over the course of several days on a production server, we observed a steady increase in the number of open file descriptors associated with the node-solid-server process, until it reached the per-process limit, at which point node-solid-server stopped accepting new requests and needed to be restarted.
A few key points to note:
The vast majority of open descriptors are of type REG (regular file), with 93% of those being the profile card file. For example:
node 20481 root 305r REG 259,1 2406 267569 /var/solid/justin.inrupt.net/profile/card
It's important to note that they were not all profile/card. For example, there are also instances of others, such as:
- settings/prefs.ttl
- RandomChat/index.ttl
- public/friends/person/uuid/index.ttl
- profile/photograph.png
- favicon.ico
- public/Dokieli/index.html
- pubilc/test.txt
So while MOST of them were rdf files, not all of them were.
Descriptors associated with a given resource are not re-used when that resource is requested again.
For example, there were 26 open descriptors for /var/solid/justin.inrupt.net/profile/card.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。