Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
8220 Lượt xem

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.

 

 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

I have the same issue, could someone fix it ?

any help would be apreciated, thank you

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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?
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Same issue.

Any solutions?

Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 7 25
1604
2
thg 11 24
6743
2
thg 10 24
3635
2
thg 8 24
2087
3
thg 7 24
8483