Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 - -
16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 - -

Supporter timezone: Asia/Jerusalem (GMT+03:00)

This topic contains 2 replies, has 0 voices.

Last updated by Itamar 2 weeks, 4 days ago.

Assisted by: Itamar.

Author Posts
June 8, 2025 at 9:34 am

katarzynaT-5

# WPML Support Ticket - Performance Optimization for 27 Languages

## Issue Summary
Experiencing severe performance issues with WPML on a WooCommerce store running 27 languages. The main problems are related to cron jobs and database size, causing significant server load during WPML operations.

**⚠️ URGENT: Please implement any simple optimizations directly if possible - you have full admin access!**

## Environment Details
- **Website URL**: hidden link
- **WordPress Version**: 6.8.1
- **WooCommerce Version**: 9.8.5
- **WPML Multilingual CMS**: 4.7.6
- **WooCommerce Multilingual & Multicurrency**: 5.4.5
- **Server**: LiteSpeed with LiteSpeed Cache 7.1
- **PHP Version**: 8.3.21 (64bit)
- **PHP Memory Limit**: 1536M
- **WP Memory Limit**: 1024M / Max: 1536M
- **Database**: MariaDB 10.11.13
- **Max Allowed Packet**: 128MB
- **Max Connections**: 2000
- **Object Cache**: Enabled (drop-in present)
- **Total RAM**: 5GB
- **WooCommerce RAM Allocation**: 1.5GB
- **Number of Languages**: 27
- **Database Size Issue**: WPML table exceeds 250MB (single table!)
- **Products**: 5,000 test products

## Problem Description

### 1. Database Issues
- WPML database table has grown to over 250MB for a single table
- This seems excessive for 5,000 products even with 27 languages
- Database queries are becoming increasingly slow
- Concern about scalability when moving to production

### 2. Cron Job Performance
- Cron jobs are causing extreme server load
- WPML-related cron tasks are taking too long to execute
- Server becomes unresponsive during certain WPML operations
- Background processes seem to be overwhelming the system

### 3. General Performance Impact
- Any WPML action causes significant server strain
- Page load times are affected when WPML processes are running
- Admin panel becomes sluggish during translation operations
- Database queries timeout frequently

## Current Configuration
- **Web Server**: LiteSpeed with LiteSpeed Cache plugin active
- **PHP Version**: 8.3.21 (64bit)
- **MySQL Version**: MariaDB 10.11.13
- **PHP Memory Limit**: 1536M
- **Max Execution Time**: 300 seconds
- **Max Input Variables**: 10000
- **WPML Configuration**: Standard setup for 27 languages
- **Active WPML Components**: WPML CMS, String Translation, SEO, All Import, WooCommerce Multilingual

## Required Assistance

I need a comprehensive optimization plan that I can provide to my development team. Please provide:

### 1. LiteSpeed Optimization
- Recommended LiteSpeed settings for WPML with 27 languages
- Cache configuration specific to WPML
- Any LiteSpeed-specific optimizations for multilingual sites

### 2. WPML Configuration Optimization
- Optimal WPML settings for performance with 27 languages
- Which features to disable/enable for better performance
- Database optimization settings within WPML

### 3. Database Optimization
- How to reduce the 250MB table size
- Recommended database maintenance procedures
- Indexing strategies for WPML tables
- Cleanup procedures for unnecessary data

### 4. Cron Job Optimization
- Which WPML cron jobs can be disabled or optimized
- Recommended cron scheduling for 27 languages
- How to prevent cron jobs from overwhelming the server

### 5. Step-by-Step Action Plan
Please provide a detailed task list that includes:
- Priority order of optimizations
- Specific commands or queries to run
- Configuration changes needed
- Expected performance improvements for each step

## Additional Context
This is currently a test environment, but we need to ensure it can scale properly before moving to production. The performance issues are critical as they're preventing us from properly testing our multilingual setup.

We're not experiencing RAM issues (have sufficient memory), but the database and cron job performance is unacceptable for a site with only 5,000 products.

**IMPORTANT REQUEST: If there are any simple optimizations, configuration changes, or database cleanup procedures that can be implemented immediately, please go ahead and make those changes directly. You have full administrator access to resolve critical performance issues as quickly as possible.**

Please provide comprehensive optimization guidelines that our development team can implement systematically.

Thank you for your urgent assistance!

June 8, 2025 at 9:54 am
June 8, 2025 at 11:33 am #17116230

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

We always do our best to help with such a problem. Please provide further information about the performance issues you are experiencing on your site.

### 1. Database Issues
- WPML database table has grown to over 250MB for a single table

Can you please specify which WPML DB tables have grown over 250MB?

- Database queries are becoming increasingly slow

How did you determine that the DB queries related to WPML are the cause of the problem?

Can you share any findings about this?

If needed, please refer to our guide on debugging performance problems.

https://wpml.org/faq/how-to-debug-performance-problems/

### 2. Cron Job Performance

- WPML-related cron tasks are taking too long to execute

Can you please specify which WPML-related cron tasks are taking too long?

- Server becomes unresponsive during certain WPML operations

Can you please share any errors the server might be producing when this occurs?

- Background processes seem to be overwhelming the system

Is there a way for us to replicate this problem on your site?

### 3. General Performance Impact

- Page load times are affected when WPML processes are running

Could you please send links to the pages with this issue and indicate which WPML processes are causing it?

- Admin panel becomes sluggish during translation operations

Can you please tell us which admin pages become sluggish during translation operations?

- Database queries timeout frequently

Do you have any error messages you can share with us about this timeout incident?

If needed, to esclate this issue to our second-tier supporter, please allow me to take a copy of your site. For this, I must install a plugin like Duplicator or All In One Migration. Please let me know if you agree.

Regards,
Itamar.

June 9, 2025 at 7:33 am #17117197

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

In addition to the above, we would like to bring to your attention a problem with WordPress's REST API on your site. Please check the messages in Tools -> Site Health, and in WPML -> Support. Please see the attached screenshots. At the following link, you can read about the importance of enabling REST API on WordPress sites.

https://wpml.org/documentation/support/rest-api-dependencies/?utm_source=plugin&utm_medium=gui&utm_campaign=wpmlcore

Regards,
Itamar.

-- edit: attached the screenshots --

2025-06-09_10-23-44.jpg
2025-06-09_10-24-20.jpg

The topic ‘[Closed] WPML Support Ticket – Performance Optimization for 27 Languages’ is closed to new replies.