[Skip to main content](#vessel-content)

#   Process lock

##

- **[mojweb](/forum/user/5128-mojweb "View mojweb's Profile")**
- [![mojweb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5128-mojweb "View mojweb's Profile") Topic Author
- [ Offline](/forum/user/5128-mojweb)

Less More

- Posts: 432
- Thank you received: 22
-

8 months 2 weeks ago -  8 months 2 weeks ago [\#370661](#370661) by [mojweb](/forum/user/5128-mojweb "View mojweb's Profile")  *[Process lock](/forum/35-orders-management/910153-process-lock#370661 "-- HikaShop version -- : 6.3 -- Joomla version -- : 4 -- PHP version -- : 8.3.3  When checking Check database The process stops at the last check OK User email addresses synchronized and returns the error Error Lock wait timeout exceeded; try restarting transaction.  Site and admin works. But Orders are not processed. All get the status created regardless of the payment method. I cannot change the order status.  No errors in error logs. Only some warnings.")* was created by *[mojweb](/forum/user/5128-mojweb "View mojweb's Profile")*

-- HikaShop version -- : 6.3
-- Joomla version -- : 4
-- PHP version -- : 8.3.3

When checking Check database The process stops at the last check OK User email addresses synchronized and returns the error Error Lock wait timeout exceeded; try restarting transaction.

Site and admin works. But Orders are not processed. All get the status created regardless of the payment method. I cannot change the order status.

No errors in error logs. Only some warnings.

Last edit: 8 months 2 weeks ago by [mojweb](/forum/user/5128-mojweb "View mojweb's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkxMDE1My1wcm9jZXNzLWxvY2s/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mojweb](/forum/user/5128-mojweb "View mojweb's Profile")**
- [![mojweb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5128-mojweb "View mojweb's Profile") Topic Author
- [ Offline](/forum/user/5128-mojweb)

Less More

- Posts: 432
- Thank you received: 22
-

8 months 2 weeks ago [\#370666](#370666) by [mojweb](/forum/user/5128-mojweb "View mojweb's Profile")  Replied by *[mojweb](/forum/user/5128-mojweb "View mojweb's Profile")* on topic *[Process lock](/forum/35-orders-management/910153-process-lock#370666 "-- HikaShop version -- : 6.3 -- Joomla version -- : 4 -- PHP version -- : 8.3.3  When checking Check database The process stops at the last check OK User email addresses synchronized and returns the error Error Lock wait timeout exceeded; try restarting transaction.  Site and admin works. But Orders are not processed. All get the status created regardless of the payment method. I cannot change the order status.  No errors in error logs. Only some warnings.")*

I found a long-running query 1464752 (UPDATE sjifs_acym_user JOIN sjifs_hikashop_user by email), which runs &gt;6000s and blocks sjifs_hikashop_user. Is this posible culprit?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkxMDE1My1wcm9jZXNzLWxvY2s/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

8 months 2 weeks ago -  8 months 2 weeks ago [\#370663](#370663) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Process lock](/forum/35-orders-management/910153-process-lock#370663 "-- HikaShop version -- : 6.3 -- Joomla version -- : 4 -- PHP version -- : 8.3.3  When checking Check database The process stops at the last check OK User email addresses synchronized and returns the error Error Lock wait timeout exceeded; try restarting transaction.  Site and admin works. But Orders are not processed. All get the status created regardless of the payment method. I cannot change the order status.  No errors in error logs. Only some warnings.")*

Hello,

Yes, that's very likely the cause. A query running for over 6000 seconds and locking the hikashop_user table will block any operation that needs to access that table, including order processing and status changes.

Here's what I'd recommend:

1. Kill the stuck query : ask your hosting provider to kill that specific process, or if you have phpMyAdmin access, go to the "Processes" tab and kill it from there.
2. Check AcyMailing's synchronization settings : this query is coming from AcyMailing trying to sync email addresses with HikaShop. There might be a misconfigured or overly broad sync task that's causing it to run on too many records at once. Look in AcyMailing's configuration for the HikaShop user synchronization options and make sure they are properly configured.
3. Once the query is killed, your orders should start processing normally again and you should be able to change order statuses.

If the problem recurs, it would be worth checking with the AcyMailing support team about why their sync query takes so long.

Last edit: 8 months 2 weeks ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkxMDE1My1wcm9jZXNzLWxvY2s/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.056 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
