Results 1 to 3 of 3

Thread: Cannot allocate memory

  1. #1
    RCull is offline Nearly a Glow Sage
    Join Date
    Dec 2014
    Posts
    19

    Default Cannot allocate memory

    I am finding that when I am having memory problems when Yahoo, 68.180.228.41 and BingBot, 207.46.13.77 come and visit my Vbulletin Forums.

    Errors look like:
    [Sat Oct 03 20:47:30 2015] [error] [client 68.180.228.41] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/teambuic/public_html/showroom/showphoto.php

    CPU usage is also too high.

    Any tips or suggestions?
    Thanks

  2. #2
    GlowHost-Sara is offline Technical Analyst
    Join Date
    Feb 2014
    Posts
    865

    Default

    If some specific IP's are causing the memory errors, then it would be better to block them and see how things will run.

    Also, I would suggest you to create a robots.txt file in your public_html folder and blocking all bots except of those you'd like to visit your website.

    You should be able to see in stats what exact file is usually accessed by bots. Based on the stats, we can further add security measures into the site by adding some redirect rules to block request or password protecting that file.

  3. #3
    David I is offline Newbie
    Join Date
    Jun 2010
    Posts
    1,242

    Default

    We also highly recommend you to add crawl-delay directive to your robots.txt file, it will decrease bot's activity on your site.

    It will be look like this:
    User-agent: *
    Crawl-delay: 5

Similar Threads

  1. [How to] Increase memory limit for Word Press
    By Alexander in forum Knowledge Base
    Replies: 2
    Last Post: 06-12-2012, 12:10 PM
  2. 1000meg host memory is less than 5 videos!
    By Triple in forum Pre-Sales Questions
    Replies: 1
    Last Post: 05-19-2009, 12:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14