bpaquet / node-logstash

Simple logstash implmentation in nodejs : file log collection, sent with zeromq
Other
517 stars 141 forks source link

Huge memory consumption #77

Closed psi-4ward closed 10 years ago

psi-4ward commented 10 years ago

Ive node-logstash running watching only two files and outputting the data to Elasticsearch but it eats nearly 1GB Ram?

See:

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     16547  0.0  2.4 969704 24644 ?        Sl   15:03   0:00 node bin/node-logstash-agent --config_dir=/etc/logstash
psi-4ward commented 10 years ago

Oh i missunderstood the output. VSZ is the memory node can access but RSS is the allocated one!