开发者

how to check open file in other process or not?

开发者_StackOverflowI use simple script for writing in file between node.js process:

var stream = fs.createWriteStream('test');
    stream.once('open', function(fd) {
        stream.write(progress_percents);
});

In log I see error "to many open file". How to write to file only if this file not using other processes ?


You've diagnosed the problem incorrectly. The too many open files error means that too many files are opened by this process.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜