Summary | Ingo breaks apache server due after array_merger error |
Queue | Ingo |
Queue Version | Git master |
Type | Bug |
State | Duplicate |
Priority | 3. High |
Owners | |
Requester | lfbm.andamentos (at) gmail (dot) com |
Created | 06/09/2012 (4786 days ago) |
Due | |
Updated | 06/11/2012 (4784 days ago) |
Assigned | |
Resolved | 06/11/2012 (4784 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
the CPU high usage and http stallment. The user had more than 6k
messages in his inbox and ingo filter was configured to process all
mail and not just the unread. So I guess the stall was due to the
amount of message. Once I changed that option in ingo to just "unread"
messages, http and cpu usage worked normally, although the error
message about the array_merge is still present.
State ⇒ Unconfirmed
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Ingo breaks apache server due after array_merger error
Queue ⇒ Ingo
Milestone ⇒
Patch ⇒ No
access a user“s mailbox, the cpu usage goes to 100% and I get no more
response. If I uninstall ingo, then everything works as expected and I
can list messages, create folders etc.
The only odd message I get from the log just before the crash is this:
Jun 9 03:20:37 ip-10-248-38-150 HORDE: [ingo] PHP ERROR:
array_merge(): Argument
#2is not an array [pid 24527 on line 627 of"/usr/share/php/Horde/Imap/Client/Search/Query.php"]
Using Horde::debug on the variable $queries from line 627 of the above
file returned this:
2012-06-09T03:08:47+00:00 DEBUG: Variable information:
object(Horde_Imap_Client_Search_Query)#295 (3) {
["_charset":protected]=>
NULL
["_search":protected]=>
array(1) {
["or"]=>
array(16) {
[0]=>
object(Horde_Imap_Client_Search_Query)#300 (3) {
["_charset":protected]=>
NULL
["_search":protected]=>
array(1) {
["header"]=>
array(1) {
[0]=>
array(2) {
["header"]=>
string(4) "FROM"
["text"]=>
string(19) "suporte@aasp.org.br"
}
}
}
["_temp":protected]=>
array(0) {
}
}
[1]=>
object(Horde_Imap_Client_Search_Query)#301 (3) {
["_charset":protected]=>
NULL
["_search":protected]=>
array(1) {
["header"]=>
array(1) {
[0]=>
array(2) {
["header"]=>
string(4) "FROM"
["text"]=>
string(31) "jornalgritocidadao@abdic.org.br"
}
}
}
["_temp":protected]=>
array(0) {
}
}
[2]=>
object(Horde_Imap_Client_Search_Query)#302 (3) {
["_charset":protected]=>
NULL
["_search":protected]=>
array(1) {
["header"]=>
array(1) {
[0]=>
array(2) {
["header"]=>
string(4) "FROM"
["text"]=>
string(22) "jf_sp_push@jfsp.jus.br"
}
}
}
["_temp":protected]=>
array(0) {
}
}
[3]=>
object(Horde_Imap_Client_Search_Query)#303 (3) {
["_charset":protected]=>
NULL
["_search":protected]=>
array(1) {
["header"]=>
array(1) {
[0]=>
array(2) {
["header"]=>
string(4) "FROM"
["text"]=>
string(24) "edmilson@marzagao.com.br"
}
}
}
["_temp":protected]=>
array(0) {
}
}
[4]=>
object(Horde_Imap_Client_Search_Query)#304 (3) {
["_charset":protected]=>
NULL
["_search":protected]=>
array(1) {
["header"]=>
array(1) {
[0]=>
array(2) {
["header"]=>
string(4) "FROM"
["text"]=>
string(22) "felipe@marzagao.com.br"
}
}
}
["_temp":protected]=>
array(0) {
}
}
[5]=>
object(Horde_Imap_Client_Search_Query)#305 (3) {
["_charset":protected]=>
NULL
["_search":protected]=>
array(1) {
["header"]=>
array(1) {
[0]=>
array(2) {
["header"]=>
string(4) "FROM"
["text"]=>
string(23) "gustavo@marzagao.com.br"
}
}
}
["_temp":protected]=>
array(0) {
}
}
[6]=>
object(Horde_Imap_Client_Search_Query)#306 (3) {
["_charset":protected]=>
NULL
["_search":protected]=>
array(1) {
["header"]=>
array(1) {
[0]=>
array(2) {
["header"]=>
string(4) "FROM"
["text"]=>
string(20) "ivan@marzagao.com.br"
}
}
}
["_temp":protected]=>
array(0) {
}
}
[7]=>
object(Horde_Imap_Client_Search_Query)#307 (3) {
["_charset":protected]=>
NULL
["_search":protected]=>
array(1) {
["header"]=>
array(1) {
[0]=>
array(2) {
["header"]=>
string(4) "FROM"
["text"]=>
string(23) "juliana@marzagao.com.br"
}
}
}
["_temp":protected]=>
array(0) {
}
}
[8]=>
object(Horde_Imap_Client_Search_Query)#308 (3) {
["_charset":protected]=>
NULL
["_search":protected]=>
array(1) {
["header"]=>
array(1) {
[0]=>
array(2) {
["header"]=>
string(4) "FROM"
["text"]=>
string(20) "lucy@marzagao.com.br"
}
}
}
["_temp":protected]=>
array(0) {
}
}
[9]=>
object(Horde_Imap_Client_Search_Query)#309 (3) {
["_charset":protected]=>
NULL
["_search":protected]=>
array(1) {
["header"]=>
array(1) {
[0]=>
array(2) {
["header"]=>
string(4) "FROM"
["text"]=>
string(23) "rodrigo@marzagao.com.br"
}
}
}
["_temp":protected]=>
array(0) {
}
}
[10]=>
object(Horde_Imap_Client_Search_Query)#310 (3) {
["_charset":protected]=>
NULL
["_search":protected]=>
array(1) {
["header"]=>
array(1) {
[0]=>
array(2) {
["header"]=>
string(4) "FROM"
["text"]=>
string(23) "ronaldo@marzagao.com.br"
}
}
}
["_temp":protected]=>
array(0) {
}
}
[11]=>
object(Horde_Imap_Client_Search_Query)#311 (3) {
["_charset":protected]=>
NULL
["_search":protected]=>
array(1) {
["header"]=>
array(1) {
[0]=>
array(2) {
["header"]=>
string(4) "FROM"
["text"]=>
string(25) "ronaldojr@marzagao.com.br"
}
}
}
["_temp":protected]=>
array(0) {
}
}
[12]=>
object(Horde_Imap_Client_Search_Query)#312 (3) {
["_charset":protected]=>
NULL
["_search":protected]=>
array(1) {
["header"]=>
array(1) {
[0]=>
array(2) {
["header"]=>
string(4) "FROM"
["text"]=>
string(23) "intimacoes@oabsp.org.br"
}
}
}
["_temp":protected]=>
array(0) {
}
}
[13]=>
object(Horde_Imap_Client_Search_Query)#313 (3) {
["_charset":protected]=>
NULL
["_search":protected]=>
array(1) {
["header"]=>
array(1) {
[0]=>
array(2) {
["header"]=>
string(4) "FROM"
["text"]=>
string(16) "mary@rbsm.adv.br"
}
}
}
["_temp":protected]=>
array(0) {
}
}
[14]=>
object(Horde_Imap_Client_Search_Query)#314 (3) {
["_charset":protected]=>
NULL
["_search":protected]=>
array(1) {
["header"]=>
array(1) {
[0]=>
array(2) {
["header"]=>
string(4) "FROM"
["text"]=>
string(20) "trf3push@trf3.gov.br"
}
}
}
["_temp":protected]=>
array(0) {
}
}
[15]=>
object(Horde_Imap_Client_Search_Query)#315 (3) {
["_charset":protected]=>
NULL
["_search":protected]=>
array(1) {
["header"]=>
array(1) {
[0]=>
array(2) {
["header"]=>
string(4) "FROM"
["text"]=>
string(24) "juizacarmen@yahoo.com.br"
}
}
}
["_temp":protected]=>
array(0) {
}
}
}
}
["_temp":protected]=>
array(0) {
}
}
Backtrace:
1. Horde_Registry::appInit() /var/www/horde/imp/index.php:16
2. Horde_Registry->pushApp() /usr/share/php/Horde/Registry.php:245
3. Horde_Core_LoginTasks->runTasks() /usr/share/php/Horde/Registry.php:1375
4. Horde_LoginTasks->runTasks() /usr/share/php/Horde/Core/LoginTasks.php:48
5. IMP_LoginTasks_Task_FilterOnLogin->execute()
/usr/share/php/Horde/LoginTasks.php:211
6. IMP_Filter->filter()
/var/www/horde/imp/lib/LoginTasks/Task/FilterOnLogin.php:44
7. Horde_Registry->call() /var/www/horde/imp/lib/Filter.php:46
8. Horde_Registry->callByPackage() /usr/share/php/Horde/Registry.php:979
9. call_user_func_array() /usr/share/php/Horde/Registry.php:1020
10. Ingo_Api->applyFilters()
11. Ingo_Script_Imap->perform() /var/www/horde/ingo/lib/Api.php:108
12. Horde_Imap_Client_Search_Query->andSearch()
/var/www/horde/ingo/lib/Script/Imap.php:159
13. Horde::debug() /usr/share/php/Horde/Imap/Client/Search/Query.php:626