pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedPostgres Admin - Export Database
3+ messages / 3 participants
[nested] [flat]
* Postgres Admin - Export Database
@ 2004-04-13 08:36 JinNet Picker <netpicker9@yahoo.com>
0 siblings, 2 replies; 3+ messages in thread
From: JinNet Picker @ 2004-04-13 08:36 UTC (permalink / raw)
To: pgsql-admin
Hi,
I am trying to take Database backup. I use this
command.
# ./pg_dump -U username -cif filename.sql dbname
Its exporting, but in the Log, its giving like
"LOG: out of file descriptors: Too many open files;
release and retry"
Can anybody tell me what is this? And what i have to
do clear this out??
Thanks.
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Postgres Admin - Export Database
@ 2004-04-13 16:33 Greg Spiegelberg <gspiegelberg@cranel.com>
parent: JinNet Picker <netpicker9@yahoo.com>
1 sibling, 0 replies; 3+ messages in thread
From: Greg Spiegelberg @ 2004-04-13 16:33 UTC (permalink / raw)
To: JinNet Picker <netpicker9@yahoo.com>; +Cc: pgsql-admin
JinNet Picker wrote:
> Hi,
>
> I am trying to take Database backup. I use this
> command.
>
> # ./pg_dump -U username -cif filename.sql dbname
>
> Its exporting, but in the Log, its giving like
>
> "LOG: out of file descriptors: Too many open files;
> release and retry"
>
> Can anybody tell me what is this? And what i have to
> do clear this out??
Try the pg_dump option "-F t". It will create a single tar file
that pg_restore can use.
./pg_dump -U username -ci -F t -f filename.tar dbname
Greg
--
Greg Spiegelberg
Product Development Manager
Cranel, Incorporated.
Phone: 614.318.4314
Fax: 614.431.8388
Email: gspiegelberg@cranel.com
Technology. Integrity. Focus. V-Solve!
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Postgres Admin - Export Database
@ 2004-04-13 17:16 Tom Lane <tgl@sss.pgh.pa.us>
parent: JinNet Picker <netpicker9@yahoo.com>
1 sibling, 0 replies; 3+ messages in thread
From: Tom Lane @ 2004-04-13 17:16 UTC (permalink / raw)
To: JinNet Picker <netpicker9@yahoo.com>; +Cc: pgsql-admin
JinNet Picker <netpicker9@yahoo.com> writes:
> "LOG: out of file descriptors: Too many open files;
> release and retry"
> Can anybody tell me what is this? And what i have to
> do clear this out??
You need to either increase your kernel's limit on the number of
simultaneously open files, or reduce Postgres' appetite for open files.
To do the latter, reduce max_files_per_process in postgresql.conf
(usually 50 to 100 should be an adequate setting that won't degrade
performance much). Doing the former depends on what platform you're on,
which you didn't say.
Although Postgres itself will usually survive well when the open-files
table is full, other applications on the system are likely to start
falling over :-(. So it's a real good idea to fix this one way or the
other.
regards, tom lane
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2004-04-13 17:16 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-04-13 08:36 Postgres Admin - Export Database JinNet Picker <netpicker9@yahoo.com>
2004-04-13 16:33 ` Greg Spiegelberg <gspiegelberg@cranel.com>
2004-04-13 17:16 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox