XF 1.5 xf_search table using 20.7 gig

Handyman

Member
I have been getting warnings from the server that the /var is almost full. Looking around it's the database that's the biggest with xf_search table taking up a whopping 20.7 gig
Why is this so large and can i empty it. I am using the Elastic search addon.
 
Thanks, just run that and i get a server error.

Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Lock wait timeout exceeded; try restarting transaction - library/Zend/Db/Statement/Mysqli.php:214
 
That error messages explains why the xf_search tables has grown so large. I suggest you contact your web host and explain what is happening, provide the error message. They will be able to increase the lock wait so the Cron Entry can run without error.
 
You can truncate the table manually using phpMyAdmin.

Once it is clear, assuming the cron runs correctly in future, it shouldn't continue to grow.
 
Back
Top Bottom