Forum Search Problem

hannamar

New member
For the last several days I have been getting the following error when trying to perform a keyword search of all forums:

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 524288 bytes) in /var/www/forums/search.php on line 884

Any idea what I'm doing wrong? Thanks.
 
Hello,

Thank you for reporting, I have informed the webmaster.

The error seems to occur when searching a word that has a large amount of data.

Best regards.
 
Last edited:
For the last several days I have been getting the following error when trying to perform a keyword search of all forums:

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 524288 bytes) in /var/www/forums/search.php on line 884

Any idea what I'm doing wrong? Thanks.

Thank you for reporting this problem. :2thumb:

You did not do anything wrong. The PHP configuration option memory_limit was configured too low after we moved to a new server a few days ago. I just fixed this by doubling this limit.

Please report back if you still see this error when using this forum.

Stefan
 
daemon:

I've encountered an error doing a search for "system startup" (entered with the quotes). I ended up with a blank screen several times. However, on one occasion I received the following:

Code:
[b]Fatal error[/b]: Allowed memory size of 33554432 bytes exhausted (tried to allocate 71 bytes) in /[b]var/www/forums/search.php[/b] on line [b]1033[/b]
 
daemon:

I've encountered an error doing a search for "system startup" (entered with the quotes). I ended up with a blank screen several times. However, on one occasion I received the following:

Code:
[b]Fatal error[/b]: Allowed memory size of 33554432 bytes exhausted (tried to allocate 71 bytes) in /[b]var/www/forums/search.php[/b] on line [b]1033[/b]

Thank you for reporting this. :bigthumb: I am hesitant to increase the memory_limit because of this even more however. This is a resource limit to protect the server from PHP processes taking all the memory. So when you hit this limit by searching a term that is contained in thousands posts, I guess this is how it should work. The solution for this problem is to use a more specific search term in this case.

Let's see how much resources are left, when we migrate more services to this new server in the next time.

Stefan
 
Back
Top