Re: Server hangs on multiple connections
От | David Christian |
---|---|
Тема | Re: Server hangs on multiple connections |
Дата | |
Msg-id | F3A3D374-CCBA-11D6-8D6A-0003933E390A@comtechmobile.com обсуждение исходный текст |
Ответ на | Re: Server hangs on multiple connections (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Server hangs on multiple connections
|
Список | pgsql-bugs |
On Friday, Sep 20, 2002, at 11:30 US/Eastern, Tom Lane wrote: > Another interesting line of attack would be to try compiling > src/backend/storage/lmgr/lwlock.c at different optimization levels, > to see if the problem goes away with less optimization. We saw a > problem on AIX (if memory serves) before 7.2 release that turned out > to be due to overaggressive optimization by the compiler. We thought > we'd added enough "volatile" keywords to lwlock.c to discourage any > code rearrangement, but maybe we still need more. This seems to work: $ ./configure $ make $ cd src/backend/storage/lmgr $ rm lwlock.o $ gcc -O0 -g -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o lwlock.o lwlock.c $ cd - $ make check All tests pass except 'geometry'. I also tried the above with -O1, and it still failed on 'make check'. So, is it safe to proceed this way? If this turns out to be the solution, is there anything I should be aware of with regard to stability and performance vs. a normal install? Thanks, David
В списке pgsql-bugs по дате отправления: