Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration for RAM and CPU #865

Closed
gcelano opened this issue Jul 16, 2024 · 0 comments
Closed

Configuration for RAM and CPU #865

gcelano opened this issue Jul 16, 2024 · 0 comments
Assignees

Comments

@gcelano
Copy link

gcelano commented Jul 16, 2024

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?

@thomaskrause thomaskrause self-assigned this Aug 5, 2024
@korpling korpling locked and limited conversation to collaborators Aug 7, 2024
@thomaskrause thomaskrause converted this issue into discussion #867 Aug 7, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants