nodeSolidServer / nodeSolidServer/node-solid-server

File descriptors are being left open

オープン
#849 コメント 6 件 リアクション 2 件 担当者 1 名 GitHub で見る

@justinwb がすでに取り組んでいます。

2018年11月7日 から。

bug
主要言語
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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。