X-Original-To: pgsql-admin@postgresql.org Received: from inlook.opinioni.net (host139-82.pool80105.interbusiness.it [80.105.82.139]) by postgresql.org (Postfix) with ESMTP id 43CD1475C3D for ; Thu, 20 Mar 2003 08:02:48 -0500 (EST) Received: from demetra.com (unknown [192.168.0.49]) by inlook.opinioni.net (Postfix) with ESMTP id 64EE630F75 for ; Thu, 20 Mar 2003 14:03:13 +0100 (CET) Message-ID: <3E79BC94.3070602@demetra.com> Date: Thu, 20 Mar 2003 14:05:24 +0100 From: andrea suisani User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20021216 X-Accept-Language: en, it, en-us MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: 7.3.2 strange behavior (long) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Archive-Number: 200303/321 X-Sequence-Number: 7961 Hello, Firstly I apologise for my terrible english. we are using postgresql 7.2.x (currently 7.2.4) on our production server for last year (and also we are on suse 7.2). Last night i was working on the project for porting our application on pgsql 7.3.2 when a strange thing happen. The machine hangs (not only postgres) after I submit via psql this query "update coop_uni set msg_quote=3D''" to the server. The structure of this table is: coop2003=3D> \d coop_uni Table "public.coop_uni" Column | Type | Modifiers --------------+--------------------------+--------------- prefisso | character varying(6) | telefono | character varying(20) | cap | character varying(6) | cod_com | integer | cod_prov | integer | citta | character(35) | nome_cognome | character varying(70) | capoluo | integer | estrazione | timestamp with time zone | id | integer | rand | double precision | num_estra | integer | default 0 occupato | boolean | default false tipo | integer | strato | integer | sample | integer | msg_quote | character varying(20) | Indexes: id_tipo_uni_idx btree (id, tipo), iduni_idx btree (id), pre_tel_idx btree (prefisso, telefono), prov_capo_rand_idx btree (cod_prov, capoluo, rand), strato_idx btree (tipo, strato, sample) follow the log of postgres during crash: [snip] 2003-03-19 23:48:20 [3840] LOG: query: select oid,* from coop_uni ; 2003-03-19 23:48:20 [3840] DEBUG: ProcessQuery 2003-03-19 23:48:23 [3840] DEBUG: CommitTransactionCommand 2003-03-19 23:48:23 [3840] LOG: duration: 3.048701 sec 2003-03-19 23:48:35 [3840] DEBUG: StartTransactionCommand 2003-03-19 23:48:35 [3840] LOG: query: select oid,* from coop_uni order = by oid; 2003-03-19 23:48:35 [3840] DEBUG: ProcessQuery 2003-03-19 23:48:39 [3840] DEBUG: CommitTransactionCommand 2003-03-19 23:48:39 [3840] LOG: duration: 4.403131 sec ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^= @^@^@^@^@^@^@ ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^= @^@^@^@^@^@^@ ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^= @^@^@^@^@^@^@ ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^= @^@^@^@^@^@^@ ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^= @^@^@^@^@^@^@ ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^= @^@^@^@^@^@^@ ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^= @^@^@^@^@^@^@ ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^= @^@^@^@^@^@^@ ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^= @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^@^@^@\~R@^@^@^@^@^@^W=B0@amministrazione=20 =FE=FE=FE=FE=FE=F7f=FFe=FF=FE=FE=FE=FEe=FE=FE=FE=FE=FE=FE=FE=FE=FE=FE=FE=FE= =FEegggggg=FFi=FDhf^@^@^@^@^@,~_@=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF= =FF=FF=FF=FF=FF=FF=FE=FE=FE=FE=FE=FE=FE=FF=FE=FE=FE=FE=FE=FE=FE=FF=FF f=FF=FFi=FF=FF=FF=FF=FD=F7g^@^@^@^@^@\~R@=FD=FDee=FE=FE=FE=FE^@^@^@^@^@~Y= =E1@^@^@^@^@~@^@=D7@e=FD=FD=FE=FF=FE=FE=FF When i try to manually reboot the box I have another problem. the machine hangs during the boot with this message: "Unable to handle kernel paging request at virtual address dc7d00 printing eip: c01ad272 * pde =3D 17edb... .... Oops: 000 CPU: 0 ...." I've tried again and after the third manual reboot the machine boot correctly. After that I start postgres7.3.2. This is the log: DEBUG: /opt/postgres-7.3.2/bin/postmaster: PostmasterMain: initial environ= dump: 2003-03-19 23:56:09 [601] DEBUG: --------------------------------------= --- 2003-03-19 23:56:09 [601] DEBUG: PWD=3D/var/lib/pgsql 2003-03-19 23:56:09 [601] DEBUG: PAGER=3Dless 2003-03-19 23:56:09 [601] DEBUG: HOSTNAME=3Dsuino 2003-03-19 23:56:09 [601] DEBUG: LESSCLOSE=3Dlessclose.sh %s %s 2003-03-19 23:56:09 [601] DEBUG: LS_OPTIONS=3D-N --color=3Dtty -T 0 [snip] 2003-03-19 23:56:09 [601] DEBUG: LC_COLLATE=3DPOSIX 2003-03-19 23:56:09 [601] DEBUG: _=3D/opt/postgres-7.3.2/bin/postmas= ter 2003-03-19 23:56:09 [601] DEBUG: --------------------------------------= --- 2003-03-19 23:56:09 [601] DEBUG: FindExec: found "/opt/postgres-7.3.2/b= in/postgres"=20 using argv[0] 2003-03-19 23:56:09 [601] DEBUG: invoking IpcMemoryCreate(size=3D146636= 8) 2003-03-19 23:56:09 [601] DEBUG: FindExec: found "/opt/postgres-7.3.2/b= in/postmaster"=20 using argv[0] 2003-03-19 23:56:09 [605] LOG: database system was interrupted at 2003-= 03-19 23:49:59 CET 2003-03-19 23:56:09 [605] LOG: checkpoint record is at 0/7FDABC0 2003-03-19 23:56:09 [605] LOG: redo record is at 0/7FDABC0; undo record= is at 0/0;=20 shutdown FALSE 2003-03-19 23:56:09 [605] LOG: next transaction id: 1446; next oid: 222= 355 2003-03-19 23:56:09 [605] LOG: database system was not properly shut do= wn; automatic=20 recovery in progress 2003-03-19 23:56:09 [605] LOG: redo starts at 0/7FDAC00 2003-03-19 23:56:20 [605] LOG: ReadRecord: record with zero length at 0= /93508AC 2003-03-19 23:56:20 [605] LOG: redo done at 0/9350870 2003-03-19 23:56:24 [605] LOG: recycled transaction log file 0000000000= 000006 2003-03-19 23:56:24 [605] LOG: database system is ready Anyways the db design is very simple (no trigger, no fks, and there are only few store procs written in plpgsql) The developing box is a "small" machine (celeron 1.2GHZ,ram 384MB, no scsi disks and PGDATA is on one ide disk), the kernel version is 2.4.20 I wanted to ask to you if this problem can have had to a hardware issue or to something else. Andrea Suisani other info: - sickpig@suino:postgres7.3.2 $ pg_config --configure '--prefix=3D/opt/postgres-7.3.2/' '--with-perl' '--with-tcl' '--with-tk' '-= -enable-syslog' - the file $PGDATA/postgresql.conf is the one that come from intallation wi= thout any=20 modification - cat $PGDATA/postmaster.opts: /opt/postgres-7.3.2/bin/postmaster '-p' '5433' '-d' '2' '-i'