Re: Email not searchable in our archives - Mailing list pgsql-www
From | Dave Page |
---|---|
Subject | Re: Email not searchable in our archives |
Date | |
Msg-id | 937d27e10803120943x6cbdc310p624bf37251ae0acd@mail.gmail.com Whole thread Raw |
In response to | Re: Email not searchable in our archives (Tom Lane <tgl@sss.pgh.pa.us>) |
List | pgsql-www |
On Wed, Mar 12, 2008 at 4:06 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: > OK, that seems to support your theory. Might as well go ahead and > reindex. +1 for getting some monitoring in there somewhere. Yeah. Tried that - on the first attempt it died with a deadlock: ---------------- [search@community2 search]$ php archives.php -f Indexing list 42 (atlpug) Indexing list 43 (lapug) Indexing list 41 (pdxpug) Indexing list 40 (persianpug) PHP Warning: pg_execute(): Query failed: ERROR: deadlock detected DETAIL: Process 9245 waits for ShareLock on transaction 378698; blocked by process 9297. Process 9297 waits for ShareLock on transaction 378690; blocked by process 9245. CONTEXT: SQL statement "SELECT 1 FROM ONLY "public"."lists" x WHERE "id" OPERATOR(pg_catalog.=) $1 FOR SHARE OF x" in /home/search/portal/tools/search/classes/SearchDB.class.php on line 60 #0 SearchDB::mydie(Query failed: 0.94209700 1205339104 ) called at [/home/search/portal/tools/search/classes/SearchDB.class.php:61] #1 SearchDB::ExecutePrepared(0.94209700 1205339104, Array ([0] => 0,[1] => 1183059217,[2] => PostgreSQL & our ML,[3] => Mohsen Pahlevanzadeh <mohsen@pahlevanzadeh.org>,[4] => سÙا٠بر دÙستا٠ÙØ§Ø±Ø³Û Ø²Ø¨Ø§ÙØ Ø§Û٠اÛÙ Û٠ر٠زد٠تا ÚÙد تا ÙÚ(c)ت٠ر٠Ûاد Ø¢Ùر بش٠: Û±. Ùرار٠ÙØ§Ø±Ø³Û ÙÙشت٠بشÙ. Û². Ùرار٠جاÛÛ Ø¨Ø´Ù ØªØ§ Ú(c)Ø§Ø±Ø¨Ø±Ø§Û pg دÛÚ¯Ù Ùر٠ر٠ML ÙØ§Û Ø²Ø¨Ø§ÙâÙØ§Û Ø¯Ûگ٠پست بگذارÙد. Û³. ترÙÛج DB ÙØ§Û FOSSÛ Ø¯Ø± اÛراÙ. Û´. اگر بش٠ترج٠٠Doc اÙ٠ب٠ÙØ§Ø±Ø³Û --Ù Øس٠-- ------------------------- Mohsen Pahlevanzadeh email address : mohsen ( at ) pahlevanzadeh ( dot ) org web site : http://pahlevanzadeh.org IRC IM : m_pahlevanzadeh yahoo IM : linuxorbsd ---------------------------- ,[5] => PostgreSQL & our ML,[6] => سÙا٠بر دÙستا٠ÙØ§Ø±Ø³Û Ø²Ø¨Ø§ÙØ Ø§Û٠اÛÙ Û٠ر٠زد٠تا ÚÙد تا ÙÚ(c)ت٠ر٠Ûاد Ø¢Ùر بش٠: Û±. Ùرار٠ÙØ§Ø±Ø³Û ÙÙشت٠بشÙ. Û². Ùرار٠جاÛÛ Ø¨Ø´Ù ØªØ§ Ú(c)Ø§Ø±Ø¨Ø±Ø§Û pg دÛÚ¯Ù Ùر٠ر٠ML ÙØ§Û Ø²Ø¨Ø§ÙâÙØ§Û Ø¯Ûگ٠پست بگذارÙد. Û³. ترÙÛج DB ÙØ§Û FOSSÛ Ø¯Ø± اÛراÙ. Û´. اگر بش٠ترج٠٠Doc اÙ٠ب٠ÙØ§Ø±Ø³Û --Ù Øس٠-- ------------------------- Mohsen Pahlevanzadeh email address : mohsen ( at ) pahlevanzadeh ( dot ) org web site : http://pahlevanzadeh.org IRC IM : m_pahlevanzadeh yahoo IM : linuxorbsd ---------------------------- )) called at [/home/search/portal/tools/search/classes/ArchiveIndexer.class.php:114] #2 ArchiveIndexer->IndexSinglePage(40, persianpug, 2007, 6, 0) called at [/home/search/portal/tools/search/classes/ArchiveIndexer.class.php:62] #3 ArchiveIndexer->IndexMonth(40, persianpug, 2007, 6) called at [/home/search/portal/tools/search/classes/ArchiveIndexer.class.php:40] #4 ArchiveIndexer->Index(1, , -1, -1) called at [/home/search/portal/tools/search/archives.php:28] Query failed: 0.94209700 1205339104 ---------------- Running it again now and it's up to 4000+ messages indexed (ie. ones that weren't already indexed) and is still working on pgsql-advocacy. We'll see how it goes.... -- Dave Page EnterpriseDB UK Ltd: http://www.enterprisedb.com PostgreSQL UK 2008 Conference: http://www.postgresql.org.uk