X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B05A3D1B298 for ; Tue, 20 Jul 2004 10:42:48 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 03492-07 for ; Tue, 20 Jul 2004 13:42:42 +0000 (GMT) Received: from town.kenga.net (unix.lv [193.41.195.5]) by svr1.postgresql.org (Postfix) with ESMTP id EDF32D1B1EC for ; Tue, 20 Jul 2004 10:42:36 -0300 (ADT) Received: from developer3 ([80.90.4.71]) by town.kenga.net (8.12.9/8.12.8) with ESMTP id i6KDVxi7064939 for ; Tue, 20 Jul 2004 16:32:03 +0300 (EEST) (envelope-from vermut@kid.lv) To: pgsql-admin@postgresql.org Subject: could not fork new process for connection: Cannot allocate memory Date: Tue, 20 Jul 2004 16:41:27 +0300 From: "Pavel Veretennikov" Content-Type: text/plain; format=flowed; delsp=yes; charset=koi8-r MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera M2/7.52 (Win32, build 3834) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/285 X-Sequence-Number: 14353 I ran into this error running 2 user connection executing consecutive selects in a loop. What could be a problem? About 3G of shared memory is allocated to PG, 850000 shared_buffers. TopMemoryContext: 32768 total in 3 blocks; 20024 free (22 chunks); 12744 used TopTransactionContext: 8192 total in 1 blocks; 8136 free (0 chunks); 56 used DeferredTriggerXact: 0 total in 0 blocks; 0 free (0 chunks); 0 used MessageContext: 253952 total in 5 blocks; 87568 free (3 chunks); 166384 used PortalMemory: 8192 total in 1 blocks; 8040 free (0 chunks); 152 used PortalHeapMemory: 1024 total in 1 blocks; 936 free (0 chunks); 88 used ExecutorState: 24576 total in 2 blocks; 40 free (1 chunks); 24536 used ExprContext: 0 total in 0 blocks; 0 free (0 chunks); 0 used ExprContext: 0 total in 0 blocks; 0 free (0 chunks); 0 used ExprContext: 0 total in 0 blocks; 0 free (0 chunks); 0 used ExprContext: 0 total in 0 blocks; 0 free (0 chunks); 0 used ExprContext: 0 total in 0 blocks; 0 free (0 chunks); 0 used ExprContext: 0 total in 0 blocks; 0 free (0 chunks); 0 used ExprContext: 0 total in 0 blocks; 0 free (0 chunks); 0 used CacheMemoryContext: 1040384 total in 7 blocks; 496440 free (1 chunks); 543944 used gs_finance_requests_pkey: 1024 total in 1 blocks; 640 free (0 chunks); 384 used gs_dic_currency_pkey: 1024 total in 1 blocks; 640 free (0 chunks); 384 used gs_players_ipaccesse_pkey: 1024 total in 1 blocks; 640 free (0 chunks); 384 used gs_players_statuses_pkey: 1024 total in 1 blocks; 640 free (0 chunks); 384 used gs_dic_cities_pkey: 1024 total in 1 blocks; 640 free (0 chunks); 384 used gs_players_login_alert_pkey: 1024 total in 1 blocks; 320 free (0 chunks); 704 used gs_players_grps_members_pkey: 1024 total in 1 blocks; 320 free (0 chunks); 704 used gs_players_accounts_pkey: 1024 total in 1 blocks; 640 free (0 chunks); 384 used gs_dic_banks_pkey: 1024 total in 1 blocks; 640 free (0 chunks); 384 used gs_players_grps_pkey: 1024 total in 1 blocks; 640 free (0 chunks); 384 used gs_dic_countries_pkey: 1024 total in 1 blocks; 640 free (0 chunks); 384 used gs_players_pkey: 1024 total in 1 blocks; 640 free (0 chunks); 384 used pg_constraint_conrelid_index: 1024 total in 1 blocks; 640 free (0 chunks); 384 used gs_rooms_childrooms_pkey: 1024 total in 1 blocks; 640 free (0 chunks); 384 used gs_rooms_pkey: 1024 total in 1 blocks; 640 free (0 chunks); 384 used pg_index_indrelid_index: 1024 total in 1 blocks; 640 free (0 chunks); 384 used pg_attrdef_adrelid_adnum_index: 1024 total in 1 blocks; 320 free (0 chunks); 704 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; 6120 free (0 chunks); 2072 used DynaHash: 8192 total in 1 blocks; 7064 free (0 chunks); 1128 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; 1984 free (0 chunks); 6208 used DynaHashTable: 8192 total in 1 blocks; 3520 free (0 chunks); 4672 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 ErrorContext: 8192 total in 1 blocks; 8176 free (3 chunks); 16 used ERROR: out of memory DETAIL: Failed on request of size 104. LOG: could not fork new process for connection: Cannot allocate memory