Skip to content

Pastash running only on one CPU and it's not enough #223

@yaniv999

Description

@yaniv999

we are using Pastash with sqlite filter
we are running a quarry :

filter {
sqlite {
db => '/home/usersip.db'
query => 'SELECT CustomerName FROM UserData WHERE IP=(?) LIMIT 1;'
source_field => 'ipv4_src_addr'
target_field => 'CustomerNane'
}
}

The problem is that the UserData table is quite big and the CPU doesn't manage to handle it
ElasticSearch is getting 1% of the data

and the CPU is on 100%
image

Is it possible for Pastash to use more than one CPU?

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