Title: Errors: sqlite_object_cache failure, deleting sqlite files to retry
Last modified: November 13, 2023

---

# Errors: sqlite_object_cache failure, deleting sqlite files to retry

 *  Resolved [yessoftmk](https://wordpress.org/support/users/yessoftmk/)
 * (@yessoftmk)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/errors-sqlite_object_cache-failure-deleting-sqlite-files-to-retry-2/)
 * Hi, firstly thanks for your plugins, its really speed up my woocomerce site.
 * Some time (once in several days) my site not respond for 5-15 min… I look at 
   log and see:
 *     ```wp-block-code
       mod_fcgid: stderr: #31 /var/www/musite_usr/data/www/amusite.com/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.php(22): wc_get_template('archive-product...')
       mod_fcgid: stderr: #32 /var/www/musite_usr/data/www/amusite.com/wp-includes/template-loader.php(106): include('/var/www/adelbe...')
       mod_fcgid: stderr: #33 /var/www/musite_usr/data/www/amusite.com/wp-blog-header.php(19): require_once('/var/www/adelbe...')
       mod_fcgid: stderr: #34 /var/www/musite_usr/data/www/amusite.com/index.php(17): require('/var/www/adelbe...')
       mod_fcgid: stderr: #35 {main}
       mod_fcgid: stderr: sqlite_object_cache failure, deleting sqlite files to retry. 0
       mod_fcgid: stderr: SQLite Object Cache: 3.31.1 igbinary: handle_put database is locked (5) Unable to execute statement: database is locked (0) #0 /var/www/musite_usr/data/www/amusite.com/wp-content/object-cache.php(1449): SQLite3Stmt->execute()
       mod_fcgid: stderr: #1 /var/www/musite_usr/data/www/amusite.com/wp-content/object-cache.php(1425): WP_Object_Cache->put_by_name('options|asp_css', 'a:2:{s:5:"basic...', 0)
       mod_fcgid: stderr: #2 /var/www/musite_usr/data/www/amusite.com/wp-content/object-cache.php(1257): WP_Object_Cache->set('asp_css', 'a:2:{s:5:"basic...', 'options', 0)
       mod_fcgid: stderr: #3 /var/www/musite_usr/data/www/amusite.com/wp-content/object-cache.php(2296): WP_Object_Cache->add('asp_css', 'a:2:{s:5:"basic...', 'options', 0)
       mod_fcgid: stderr: #4 /var/www/musite_usr/data/www/amusite.com/wp-includes/option.php(204): wp_cache_add('asp_css', 'a:2:{s:5:"basic...', 'options')
       mod_fcgid: stderr: #5 /var/www/musite_usr/data/www/amusite.com/wp-includes/option.php(1501): get_option('asp_css', Array)
       mod_fcgid: stderr: #6 /var/www/musite_usr/data/www/amusite.com/wp-includes/option.php(1366): get_network_option(1, 'asp_css', Array)
   
   
   
       mod_fcgid: stderr: #22 {main}
       mod_fcgid: stderr: sqlite_object_cache failure, deleting sqlite files to retry. 0
       mod_fcgid: stderr: PHP Fatal error:  ob_start(): Cannot use output buffering in output buffering display handlers in /var/www/musite_usr/data/www/amusite.com/wp-content/object-cache.php on line 2237
       od_fcgid: stderr: com/wp-includes/load.php(1252): do_action('shutdown')
       od_fcgid: stderr: #21 [internal function]: shutdown_action_hook()
       od_fcgid: stderr: #22 {main}
       od_fcgid: stderr: sqlite_object_cache failure, deleting sqlite files to retry. 0
       od_fcgid: stderr: PHP Fatal error:  ob_start(): Cannot use output buffering in output buffering display handlers in /var/www/musite_usr/data/www/amusite.com/wp-content/object-cache.php on line 2237
       mod_fcgid: stderr: SQLite Object Cache: 3.31.1 igbinary: handle_put database is locked (5) Unable to execute statement: database is locked (0) #0 /var/www/musite_usr/data/www/amusite.com/wp-content/object-cache.php(1449): SQLite3Stmt->execute()
       mod_fcgid: stderr: #1 /var/www/musite_usr/data/www/amusite.com/wp-content/object-cache.php(1425): WP_Object_Cache->put_by_name('post_meta|\\x1F0011...', Array, 0)
       mod_fcgid: stderr: #2 /var/www/musite_usr/data/www/amusite.com/wp-content/object-cache.php(1257): WP_Object_Cache->set(11178, Array, 'post_meta', 0)
       ```
   
 * This errors 2-5 times each days…
 * Can you tell me which way to look, what could be wrong, thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [OllieJones](https://wordpress.org/support/users/olliejones/)
 * (@olliejones)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/errors-sqlite_object_cache-failure-deleting-sqlite-files-to-retry-2/#post-17200513)
 * Thanks for the defect report.
 * This happens upon a timeout writing the object cache. In your case it looks like
   theme code is trying to save a network option called `'asp_css'` into the cache.
   I can’t find that option mentioned in [https://wpdirectory.net/](https://wpdirectory.net/)
   so it’s hard for me to guess exactly what is wrong.
 * The default timeout setting is 5 sec (5000 milliseconds). You can change it with
   a wp-config.php option. For example this one will set it to 15 sec.
 * define( ‘WP_SQLITE_OBJECT_CACHE_TIMEOUT’, 15000 );
 * Also, please see this. [https://wordpress.org/plugins/sqlite-object-cache/#i%20sometimes%20get%20timeout%20errors%20from%20sqlite.%20how%20can%20i%20fix%20them%3F](https://wordpress.org/plugins/sqlite-object-cache/#i%20sometimes%20get%20timeout%20errors%20from%20sqlite.%20how%20can%20i%20fix%20them%3F)
 *  Thread Starter [yessoftmk](https://wordpress.org/support/users/yessoftmk/)
 * (@yessoftmk)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/errors-sqlite_object_cache-failure-deleting-sqlite-files-to-retry-2/#post-17209562)
 * thanks for help, I understand…. asp_css its – _Ajax Search Pro_ now I know where
   problem, thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Errors: sqlite_object_cache failure, deleting sqlite files to retry’ 
is closed to new replies.

 * ![](https://ps.w.org/sqlite-object-cache/assets/icon-128x128.jpg?rev=2829632)
 * [SQLite Object Cache](https://wordpress.org/plugins/sqlite-object-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sqlite-object-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sqlite-object-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/sqlite-object-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sqlite-object-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sqlite-object-cache/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [yessoftmk](https://wordpress.org/support/users/yessoftmk/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/errors-sqlite_object_cache-failure-deleting-sqlite-files-to-retry-2/#post-17209562)
 * Status: resolved