Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Serialize access - Locking issue in Pgsql Log file

on 8/10/14, 11:32 PM 1,217 views



My current version is Openerp V8 and pgsql server 9.3.


I keep getting this error from the log file and it seems to be the cause of slow operation on my system (confirming delivery orders and checking availability,...)


2014-08-11 10:29:05 ICT ERROR:  deadlock detected
2014-08-11 10:29:05 ICT DETAIL:  Process 38270 waits for ShareLock on transaction 36549; blocked by process 23702.
        Process 23702 waits for ShareLock on transaction 36548; blocked by process 38270.
        Process 38270: update stock_quant set "qty"=1.0,write_uid=1,write_date=(now() at time zone 'UTC') where id IN (33840)
        Process 23702: update stock_quant set "qty"=1.0,write_uid=1,write_date=(now() at time zone 'UTC') where id IN (33703)
2014-08-11 10:29:05 ICT HINT:  See server log for query details.

2014-08-11 10:29:05 ICT STATEMENT:  update stock_quant set "qty"=1.0,write_uid=1,write_date=(now() at time zone 'UTC') where id IN (33840)

2014-08-11 10:29:27 ICT ERROR:  could not obtain lock on row in relation "res_users"
2014-08-11 10:29:27 ICT STATEMENT:  SELECT id FROM res_users WHERE id=1 FOR UPDATE NOWAIT

2014-08-11 10:29:25 ICT ERROR:  could not serialize access due to concurrent update
2014-08-11 10:29:25 ICT STATEMENT:  update stock_quant set "qty"=1.0,write_uid=1,write_date=(now() at time zone 'UTC') where id IN (33799)


Is this a coding issue or hardware / server configuration issue ?



Thank you.



On 11/26/14, 2:21 PM

I have the same issue, could someone fix it ?

any help would be apreciated, thank you

Martin Varela
On 8/12/15, 2:56 PM

Same issue.

Any solutions?


Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)


Asked: 8/10/14, 11:32 PM
Seen: 1217 times
Last updated: 8/12/15, 2:56 PM