> kernel: Killed process 29037 (java) total-vm:12745796kB 12.7GB? Used by Fuseki? Or does this account other processes as well? There is no way Fuseki is using 12GB of memory for a few thousands of triples, unless maybe memory is leaked during update operations. You should try try:
1. start Fuseki with your database 2. run a lot of live update queries (insert/delete/update data) and monitor how your VM responds Sent: Tuesday, February 06, 2018 at 9:22 AM From: "Mikael Pesonen" <[email protected]> To: [email protected] Subject: Re: Limit memory usage of Fuseki server? Hi, config.ttl is defaut, Fuseki is ran as service, here is the log from around the kill (notice fairly high VM) kernel: Out of memory: Kill process 29037 (java) score 807 or sacrifice child kernel: Killed process 29037 (java) total-vm:12745796kB, anon-rss:3458140kB, file-rss:0kB systemd[1]: apache-jena-fuseki.service: Main process exited, code=killed, status=9/KILL systemd[1]: apache-jena-fuseki.service: Unit entered failed state. systemd[1]: apache-jena-fuseki.service: Failed with result 'signal'. Usage is not much, around few thousands of triplets, post, get and delete, using Fuseki's GSP over HTTP. Uptime was around one week. Sorry can't think of anything else to tell about the system. Br On 5.2.2018 18:08, ajs6f wrote: > Can you tell us more about your configuration, data, workload, and the timing > of the problem? > > ajs6f > >> On Feb 5, 2018, at 7:08 AM, Laura Morales <[email protected]> wrote: >> >> You can tell the Kernel to limit memory usage per process or per user. If >> you set the limit too low your process will be killed because it can't >> allocate more memory, but you can tell the Kernel to only limit resident >> memory while using up all the virtual memory it wants. You can do this with >> cgroups. >> >> >> >> Sent: Monday, February 05, 2018 at 12:56 PM >> From: "Mikael Pesonen" <[email protected]> >> To: [email protected] >> Subject: Limit memory usage of Fuseki server? >> We have a cloud server with 4gb of memory and after a while system is >> killing Fuseki server java process for using up all memory. Is it >> possible to limit memory usage, and what would be the performance >> penalty for doing that? >> >> Thanks. >> >> -- >> Lingsoft - 30 years of Leading Language Management >> >> www.lingsoft.fi[http://www.lingsoft.fi][http://www.lingsoft.fi[http://www.lingsoft.fi]] >> >> Speech Applications - Language Management - Translation - Reader's and >> Writer's Tools - Text Tools - E-books and M-books >> >> Mikael Pesonen >> System Engineer >> >> e-mail: [email protected] >> Tel. +358 2 279 3300 >> >> Time zone: GMT+2 >> >> Helsinki Office >> Eteläranta 10 >> FI-00130 Helsinki >> FINLAND >> >> Turku Office >> Kauppiaskatu 5 A >> FI-20100 Turku >> FINLAND >> -- Lingsoft - 30 years of Leading Language Management www.lingsoft.fi[http://www.lingsoft.fi] Speech Applications - Language Management - Translation - Reader's and Writer's Tools - Text Tools - E-books and M-books Mikael Pesonen System Engineer e-mail: [email protected] Tel. +358 2 279 3300 Time zone: GMT+2 Helsinki Office Eteläranta 10 FI-00130 Helsinki FINLAND Turku Office Kauppiaskatu 5 A FI-20100 Turku FINLAND
