Re: pg_restore: error returned by PQputline

Поиск
Список
Период
Сортировка
От Clodoaldo Pinto Neto
Тема Re: pg_restore: error returned by PQputline
Дата
Msg-id 20040902232520.29954.qmail@web40912.mail.yahoo.com
обсуждение исходный текст
Ответ на Re: pg_restore: error returned by PQputline  (Clodoaldo Pinto Neto <clodoaldo_pinto@yahoo.com.br>)
Ответы Re: pg_restore: error returned by PQputline  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
>  --- Tom Lane <tgl@sss.pgh.pa.us> escreveu:
> > the only mechanism I've heard of that causes this is the Linux
> > kernel's
> > out-of-memory killer --- see
> >
>
http://www.postgresql.org/docs/7.4/static/kernel-resources.html#AEN17068
> > Googling for "OOM kill" will give you additional gory details :-(.
>
I did:
# /sbin/sysctl -w vm.overcommit_memory=2
vm.overcommit_memory = 2

But it didn't help much:

TopMemoryContext: 32768 total in 3 blocks; 6512 free (3 chunks); 26256
used
TopTransactionContext: 8192 total in 1 blocks; 8136 free (0 chunks); 56
used
DeferredTriggerXact: 1414520832 total in 179 blocks; 3016 free (10
chunks); 1414517816 used
MessageContext: 8192 total in 1 blocks; 7008 free (1 chunks); 1184 used
PortalMemory: 8192 total in 1 blocks; 8040 free (0 chunks); 152 used
PortalHeapMemory: 23552 total in 4 blocks; 20800 free (20 chunks); 2752
used
ExecutorState: 8192 total in 1 blocks; 7944 free (0 chunks); 248 used
ExprContext: 8192 total in 1 blocks; 8016 free (0 chunks); 176 used
CacheMemoryContext: 516096 total in 6 blocks; 256216 free (3 chunks);
259880 used
usuarios_data: 1024 total in 1 blocks; 640 free (0 chunks); 384 used
usuarios_temp_ndx: 1024 total in 1 blocks; 320 free (0 chunks); 704
used
pg_index_indrelid_index: 1024 total in 1 blocks; 640 free (0 chunks);
384 used
pg_amop_opc_strategy_index: 1024 total in 1 blocks; 320 free (0
chunks); 704 used
pg_shadow_usename_index: 1024 total in 1 blocks; 640 free (0 chunks);
384 used
pg_amop_opr_opc_index: 1024 total in 1 blocks; 320 free (0 chunks); 704
used
pg_conversion_oid_index: 1024 total in 1 blocks; 640 free (0 chunks);
384 used
pg_language_name_index: 1024 total in 1 blocks; 640 free (0 chunks);
384 used
pg_statistic_relid_att_index: 1024 total in 1 blocks; 320 free (0
chunks); 704 used
pg_attribute_relid_attnam_index: 1024 total in 1 blocks; 320 free (0
chunks); 704 used
pg_shadow_usesysid_index: 1024 total in 1 blocks; 640 free (0 chunks);
384 used
pg_cast_source_target_index: 1024 total in 1 blocks; 320 free (0
chunks); 704 used
pg_conversion_name_nsp_index: 1024 total in 1 blocks; 320 free (0
chunks); 704 used
pg_trigger_tgrelid_tgname_index: 1024 total in 1 blocks; 320 free (0
chunks); 704 used
pg_namespace_nspname_index: 1024 total in 1 blocks; 640 free (0
chunks); 384 used
pg_conversion_default_index: 2048 total in 1 blocks; 704 free (0
chunks); 1344 used
pg_class_relname_nsp_index: 1024 total in 1 blocks; 320 free (0
chunks); 704 used
pg_aggregate_fnoid_index: 1024 total in 1 blocks; 640 free (0 chunks);
384 used
pg_inherits_relid_seqno_index: 1024 total in 1 blocks; 320 free (0
chunks); 704 used
pg_language_oid_index: 1024 total in 1 blocks; 640 free (0 chunks); 384
used
pg_type_typname_nsp_index: 1024 total in 1 blocks; 320 free (0 chunks);
704 used
pg_group_sysid_index: 1024 total in 1 blocks; 640 free (0 chunks); 384
used
pg_namespace_oid_index: 1024 total in 1 blocks; 640 free (0 chunks);
384 used
pg_proc_proname_args_nsp_index: 2048 total in 1 blocks; 704 free (0
chunks); 1344 used
pg_opclass_am_name_nsp_index: 2048 total in 1 blocks; 768 free (0
chunks); 1280 used
pg_group_name_index: 1024 total in 1 blocks; 640 free (0 chunks); 384
used
pg_proc_oid_index: 1024 total in 1 blocks; 640 free (0 chunks); 384
used
pg_operator_oid_index: 1024 total in 1 blocks; 640 free (0 chunks); 384
used
pg_amproc_opc_procnum_index: 1024 total in 1 blocks; 320 free (0
chunks); 704 used
pg_index_indexrelid_index: 1024 total in 1 blocks; 640 free (0 chunks);
384 used
pg_operator_oprname_l_r_n_index: 2048 total in 1 blocks; 704 free (0
chunks); 1344 used
pg_opclass_oid_index: 1024 total in 1 blocks; 640 free (0 chunks); 384
used
pg_rewrite_rel_rulename_index: 1024 total in 1 blocks; 320 free (0
chunks); 704 used
pg_type_oid_index: 1024 total in 1 blocks; 640 free (0 chunks); 384
used
pg_attribute_relid_attnum_index: 1024 total in 1 blocks; 320 free (0
chunks); 704 used
pg_class_oid_index: 1024 total in 1 blocks; 640 free (0 chunks); 384
used
MdSmgr: 8192 total in 1 blocks; 6096 free (0 chunks); 2096 used
DynaHash: 8192 total in 1 blocks; 6680 free (0 chunks); 1512 used
DynaHashTable: 8192 total in 1 blocks; 5080 free (0 chunks); 3112 used
DynaHashTable: 8192 total in 1 blocks; 2008 free (0 chunks); 6184 used
DynaHashTable: 8192 total in 1 blocks; 3016 free (0 chunks); 5176 used
DynaHashTable: 8192 total in 1 blocks; 4040 free (0 chunks); 4152 used
DynaHashTable: 24576 total in 2 blocks; 13240 free (4 chunks); 11336
used
DynaHashTable: 0 total in 0 blocks; 0 free (0 chunks); 0 used
DynaHashTable: 0 total in 0 blocks; 0 free (0 chunks); 0 used
DynaHashTable: 0 total in 0 blocks; 0 free (0 chunks); 0 used
DynaHashTable: 0 total in 0 blocks; 0 free (0 chunks); 0 used
DynaHashTable: 0 total in 0 blocks; 0 free (0 chunks); 0 used
DynaHashTable: 0 total in 0 blocks; 0 free (0 chunks); 0 used
DynaHashTable: 0 total in 0 blocks; 0 free (0 chunks); 0 used
DynaHashTable: 0 total in 0 blocks; 0 free (0 chunks); 0 used
DynaHashTable: 0 total in 0 blocks; 0 free (0 chunks); 0 used
DynaHashTable: 0 total in 0 blocks; 0 free (0 chunks); 0 used
ErrorContext: 8192 total in 1 blocks; 8176 free (4 chunks); 16 used
ERROR:  out of memory
DETAIL:  Failed on request of size 44.
CONTEXT:  COPY usuarios, line 19646042: "428279 1251    10362   11
27"

Regards,
Clodoaldo Pinto





_______________________________________________________
Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade!
http://br.acesso.yahoo.com/

В списке pgsql-general по дате отправления:

Предыдущее
От: Ennio-Sr
Дата:
Сообщение: Re: Display of text fields
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_restore: error returned by PQputline