Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

posix.cat hangs when reading multiple large files #38

Closed
@shansen-xx

Description

@shansen-xx

This error only seems to appear when using posix.cat to read multiple files (or the same file multple times) using posix.cat. strace shows that it's hanging on epoll_wait.

var sys = require('sys');
var posix = require('posix');
var doc = '/etc/hosts';
for(var i=0;i<30;i++) {
posix.cat(doc).addCallback(
function(data) {
sys.puts("beep");
});
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions