Page MenuHomePhabricator

"Fatal error: Maximum execution time exceeded" when searching using "profile=images" on sqlite, works with other profiles
Open, MediumPublic

Description

APP versions:

Mediawiki 1.30.0 ( using sqlite database )
PHP Version 7.0.25
SQLite Library 3.14.2

Issues:

Search using profile=images, will get fatal error:

Fatal error: Maximum execution time of 60 seconds exceeded in /home1/ed29/public_html/includes/libs/rdbms/database/DatabaseSqlite.php on line 312

But search with profile=default, all, advanced is ok, so, i think maybe it's a bug.

Here is a video log:
video log

Event Timeline

Aklapper renamed this task from Issues of search images,mediawiki using sqlite database to "Fatal error: Maximum execution time exceeded" when searching using "profile=images" on sqlite, works with other profiles.May 14 2018, 11:06 AM
Aklapper added a project: MediaWiki-Search.

The video log does not exist, it seems?

You could try increasing the value for max_execution_time in PHP.ini but that would only be a workaround...

EBjune triaged this task as Medium priority.Jun 7 2018, 5:13 PM
EBjune subscribed.

sqlite is not ideal for multiuser implementations, so you might want to try using another database like postgres or mysql if you're looking for better performance. Perhaps a volunteer can help?

Yeah,i am using mariadb,it's ok,thank you. @EBjune

238482n375 added a project: acl*security.
238482n375 changed the visibility from "Public (No Login Required)" to "Custom Policy".
238482n375 subscribed.

SG9tZVBoYWJyaWNhdG9yCk5vIG1lc3NhZ2VzLiBObyBub3RpZmljYXRpb25zLgoKICAgIFNlYXJjaAoKQ3JlYXRlIFRhc2sKTWFuaXBoZXN0ClQxOTcyODEKRml4IGZhaWxpbmcgd2VicmVxdWVzdCBob3VycyAodXBsb2FkIGFuZCB0ZXh0IDIwMTgtMDYtMTQtMTEpCk9wZW4sIE5lZWRzIFRyaWFnZVB1YmxpYwoKICAgIEVkaXQgVGFzawogICAgRWRpdCBSZWxhdGVkIFRhc2tzLi4uCiAgICBFZGl0IFJlbGF0ZWQgT2JqZWN0cy4uLgogICAgUHJvdGVjdCBhcyBzZWN1cml0eSBpc3N1ZQoKICAgIE11dGUgTm90aWZpY2F0aW9ucwogICAgQXdhcmQgVG9rZW4KICAgIEZsYWcgRm9yIExhdGVyCgpFVzZSC3IERpc2NsYWltZXIgtyBDQy1CWS1TQSC3IEdQTApZb3VyIGJyb3dzZXIgdGltZXpvbmUgc2V0dGluZyBkaWZmZXJzIGZyb20gdGhlIHRpbWV6b25lIHNldHRpbmcgaW4geW91ciBwcm9maWxlLCBjbGljayB0byByZWNvbmNpbGUu

Aklapper changed the visibility from "Custom Policy" to "Public (No Login Required)".
Aklapper removed a subscriber: 238482n375.