Skip to content

Configuration for RAM and CPU #865

Description

@gcelano

My Annis instance (4.12.2) seems to get clogged when I open more windows (sometimes, not even the initial Annis logo appears), as if there are not enough resources available on the server (even if it has 256 CPUs and 200GB for RAM). I have imposed no RAM limit on the service (annis.service), but I set up Nice=7 for it (ApacheHTTPServer has MemoryLimit=104857600000). No matter how many windows I open, the RAM memory consumption does not increase (while all CPUs are used), and therefore I am not sure whether there is some limit in place within Annis and/or ApacheHTTPServer preventing more/faster access to Annis. I changed Apache mpm_event.conf, but it does not seem to affect anything:

StartServers            4
MinSpareThreads         25
MaxSpareThreads         75
ThreadLimit             128
ThreadsPerChild         50
MaxRequestWorkers       300
MaxConnectionsPerChild  0

my service.toml is

[auth]
anonymous_access_all_corpora = true

[database]
graphannis = "/var/local/annis/.annis/v4"
sqlite = "/var/local/annis/.annis/v4/service_data.sqlite3"
disk_based= false
cache = {PercentOfFreeMemory = 50.0}

Do you have any suggestion? Should I change service.toml in some respect?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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