S
S
Sergey Pronin2016-10-07 07:39:29
Node.js
Sergey Pronin, 2016-10-07 07:39:29

Why can nodejs that gives only statics crash?

There is a simple server that gives only js / css / hsb files, no data processing only

app.use('/public',express.static(__dirname + '/public'));

+ all this is lifted through gulp which collects files.
How can you understand why this simplest thing is falling down, and work on the project was stopped 2 months ago, and it began to fall every three days only now.
Can you tell me how to put logging on the node to know what killed it, some kind of sending letters if it fell or auto-raise after a crash?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita Baev, 2016-10-07
@drugoi

Try installing NewRelic, you will understand where your bottlenecks are.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question