This question has been flagged
3 Replies
6886 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.

 

 

Avatar
Discard
Best Answer

I have the same issue, could someone fix it ?

any help would be apreciated, thank you

Avatar
Discard
Best Answer

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?
Avatar
Discard
Best Answer

Same issue.

Any solutions?

Thanks

Avatar
Discard