search for: restrict_get_process_size

Displaying 4 results from an estimated 4 matches for "restrict_get_process_size".

2020 Nov 06
2
vsz_limit
.../2020 15:56 Joan Moreau <jom at grosjo.net> wrote: > > > Hello > I can't find "src/lib/restrict.h" . Is it in dovecot source ? > > > On 2020-11-06 13:20, Aki Tuomi wrote: > > Seems I had forgotten that you can use src/lib/restrict.h, in particular, restrict_get_process_size() to figure out the limit. You can combine this with getrusage to find out current usage. > > > > Aki > > > > > > > On 06/11/2020 13:26 Joan Moreau <jom at grosjo.net> wrote: > > > > > > > > > yes, will do so. > > > It...
2020 Nov 06
1
vsz_limit
Seems I had forgotten that you can use src/lib/restrict.h, in particular, restrict_get_process_size() to figure out the limit. You can combine this with getrusage to find out current usage. Aki > On 06/11/2020 13:26 Joan Moreau <jom at grosjo.net> wrote: > > > yes, will do so. > It would be nice however to be able to access the actual dovecot config from the plugin side &...
2020 Nov 06
0
vsz_limit
...; > On 06/11/2020 15:56 Joan Moreau <jom at grosjo.net> wrote: > > Hello > I can't find "src/lib/restrict.h" . Is it in dovecot source ? > > On 2020-11-06 13:20, Aki Tuomi wrote: Seems I had forgotten that you > can use src/lib/restrict.h, in particular, restrict_get_process_size() > to figure out the limit. You can combine this with getrusage to find > out current usage. > > Aki > > On 06/11/2020 13:26 Joan Moreau <jom at grosjo.net> wrote: > > yes, will do so. > It would be nice however to be able to access the actual dovecot config...
2020 Nov 04
2
vsz_limit
You could also add it as setting for the fts_xapian plugin parameters? Aki > On 04/11/2020 08:42 Joan Moreau <jom at grosjo.net> wrote: > > > For machines with low memory, I would like to detect how much ram remains available before starting indexing a mail, so I can commit everything on disk before the ram is exhausted (and break the process) > I tried to put a