Odoo Help

2

Serialize access - Locking issue in Pgsql Log file

By
Trung
on 8/10/14, 11:32 PM 1,843 views

Hello,

 

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.

 

 

1
jean44
On 11/26/14, 2:21 PM

I have the same issue, could someone fix it ?

any help would be apreciated, thank you

0
Phyo Min Zaw
On 1/12/18, 5:13 AM

i am using odoo8 with very large server for db - RDS -AWS and also ec2 for odoo server 8 core processor. 

i am using worker 8 only. and parallel pushing updating for product hit the database dead lock.

ERROR: deadlock detected DETAIL: Process 5329 waits for ShareLock on transaction 313080; blocked by process 9099. Process 9099 waits for ShareLock on transaction 313082; blocked by process 5329. HINT: See server log for query details. CONTEXT: while updating tuple (134,10) in relation "product_product"

any solutions, pls help....very very thanks and it is big big stopper for us and have to change the other erp if we can't overcome the problem?
0
Martin Varela
On 8/12/15, 2:56 PM

Same issue.

Any solutions?

Thanks

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)

Stats

Asked: 8/10/14, 11:32 PM
Seen: 1843 times
Last updated: 1/12/18, 5:13 AM