• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Awaiting feedback Error by Member search

teletubbi

Well-known member
#1
Yesterday i got some error messages in ACP.

ErrorException: Fatal Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 270938 bytes) - library/Zend/Db/Statement/Mysqli.php:276
Generiert durch: curiousity, Gestern um 15:52 Uhr
Stapelverfolgung
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Benötigter Status
array(3) {
["url"] => string(61) "Suchergebnisse | Pattayaforum"
["_GET"] => array(1) {
["user_id"] => string(4) "2416"
}
["_POST"] => array(0) {
}
}
All produced from same member.
 

imthebest

Well-known member
#2
Are you able to reproduce the problem with all add-ons disabled? What version of XF are you using? Do you have Enhanced Search installed?
 

teletubbi

Well-known member
#3
I am using 1.4.10
Is been running nearly 6 month. Before this error shows up i did not change anything.
Elasticsearch is running from today. This message was from yesterday.

I am digging into it. Looks like it is related to memchached.
 

teletubbi

Well-known member
#4
I can reproduce it if i use the same string as in the error message.

http : //www .pattayaforum.net/forums/search/member?user_id=2416

This is an actual active member.
But i don`t know where this url comes from.

If i search for a a particular user i use the name instead of id.
And i guess other members will do the search in the same way.

So if i use the username in search it brings me to this member.
 

Mike

XenForo developer
Staff member
#5
What's your max search results? Higher search results sizes will require more memory usage to do permission filtering.

Unfortunately though, PHP makes these errors very difficult to debug as there's no backtrace. I can't reproduce it as a guest, so it could be related to something with being logged in (including an add-on) or permissions.
 

Mike

XenForo developer
Staff member
#7
A max of 1000 is potentially quite large -- it is 5 times the default -- and is likely the cause of this. I would experiment with lower values to see if that resolves it.