Re: Linux / PostgreSQL question

From: teg(at)redhat(dot)com (Trond Eivind =?iso-8859-1?q?Glomsr=F8d?=)
To: "Mitch Vincent" <mitch(at)venux(dot)net>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Linux / PostgreSQL question
Date: 2000-09-13 20:13:57
Message-ID: xuylmww2goq.fsf@hoser.devel.redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Mitch Vincent" <mitch(at)venux(dot)net> writes:

> I was just doing some huge operations with PostgreSQL and it all crashed out
> with a "too many files open" message plastered all over the place..
>
> Now in /proc/sys/fs/file-max there is only 4096, that limit could have
> easily been reached. Does changing the value in the file effectively change
> the limit system-wide? I changed it and rebooted but it was set right back
> to 4096..

A reboot would reset values in proc...

For Red Hat Linux 6.2 and up, you would add a line to
/etc/sysctl.conf:

# Max open files:
fs.file-max = 8192

--
Trond Eivind Glomsrød
Red Hat, Inc.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ross J. Reedstrom 2000-09-13 20:18:44 Re: Linux / PostgreSQL question
Previous Message Mitch Vincent 2000-09-13 20:04:32 Linux / PostgreSQL question