| From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Magnus Hagander <magnus(at)hagander(dot)net>, Alex Hunsaker <badalex(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Setting oom_adj on linux? |
| Date: | 2010-01-08 17:34:29 |
| Message-ID: | 4B476CA5.5080007@dunslane.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Tom Lane wrote:
> I don't want to go to the trouble of creating (and documenting) a
> configure option for this. Much less a GUC ;-)
>
> What I suggest is that we do something like
>
> #ifdef LINUX_OOM_ADJ
> ...
> fprintf(oom, "%d\n", LINUX_OOM_ADJ);
> ...
> #endif
>
> Then, somebody who wants the feature would build with, say,
> -DLINUX_OOM_ADJ=0
> or another value if they want that.
>
>
+1 for this. Looks like a sound approach.
cheers
andrew
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Greg Stark | 2010-01-08 17:35:23 | Re: RFC: PostgreSQL Add-On Network |
| Previous Message | Robert Haas | 2010-01-08 17:34:24 | Re: Add .gitignore files to CVS? |