PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

500 error php search

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 500 error php search

    I have always used wrensoft as search function for my website. Since recently however I get an 500 error if I perform a search on my website. According to my host this is due to the fact that my php script uses too many resources. Unfortunately I cannot use cgi-bin script. Is there a way to decrease the number of resources wrensoft uses?

  • #2
    Are you able to get the exact error message from your webhost?

    If it regarding "allowed memory size exhausted", you can see if they are willing to bump up the limit.

    Is there a way to decrease the number of resources wrensoft uses?
    You can try to turn off features, but the amount of system resources being used is mostly dependent on the size of the index. If your site is too large for your webhost and you are unable to use CGI, then switching to another hosting plan (or host) that allows it might be the alternative.

    Comment


    • #3
      Or you can reduce the size of your index.
      For example, perhaps you can split up different sections of your site, so you can index and search them separately.
      --Ray
      Wrensoft Web Software
      Sydney, Australia
      Zoom Search Engine

      Comment


      • #4
        This is the exact error message: [Tue Oct 15 09:19:51.795466 2019] [error] [pid 20542] mod_proxy_fcgi.c(860): [client 80.112.123.182:57980] AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes
        ) in search.php on line 1875'

        Comment


        • #5
          That error message is explained in the link Richard posted above.

          As noted, your index (be they due to your settings, or the size of the content indexed) requires more than 134 MB of RAM to execute a search query. So the solutions mentioned above are what you have to consider.
          --Ray
          Wrensoft Web Software
          Sydney, Australia
          Zoom Search Engine

          Comment

          Working...
          X