File descriptors are being left open
@justinwb já está trabalhando nisso.
Desde 7/11/2018.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
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.
- Linguagem predominante
- JavaScript
- Estrelas
- 1.8k
- Forks
- 308
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de nodeSolidServer/node-solid-server
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 72/100
nodeSolidServer/node-solid-server#1848 · 2 comentários · 1 reação ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
nodeSolidServer/node-solid-server#1841 · 2 comentários ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
nodeSolidServer/node-solid-server#1147 ·
-
remove bootstrap dependency Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
nodeSolidServer/node-solid-server#1867 ·
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 45/100
nodeSolidServer/node-solid-server#1853 ·