Skip to main content

Domain down

Comments

7 comments

  • cPanelMichael
    Hello, Do you notice any additional entries in the Apache error log when this happens? Also, feel free to open a support ticket using the link in my signature so we can take a closer look at the system and see what happened. Thank you.
    0
  • keat63
    I've been playing with ini_set('memory_limit earlier today, in the files on the domain. I was trying to determine if the local or master settings were being used. I set the limit to 2mb. It seems that this is leaving something behind, no amount of changing multiphp editor or inheriting PHP is affecting this. Even with the line removed, I'm hitting a 2mb limit. Change it to 128m it works, delete the line it reverts back to 2m
    0
  • cPanelMichael
    Hello, Could you let us know the contents of the .htaccess file associated with this domain name? Thank you.
    0
  • 24x7server
    Hi, I would ask you to create a PHP info in the account in question and navigate to it and check what memory limit is being supplied to the account for use and make the change you mentioned and again check whether there is any change in the memory limit that you are seeing..
    0
  • keat63
    PHPinfo would suggest that the memory limit is 128m. However, the Apache logs suggest only 2m. AH01215: PHP Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 65536 bytes) in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php70 I suspect, something maybe lurking in a cached file or similar below is the .htaccess
    ### File Security ### Order Allow,Deny Deny from all ### Apache directory listing rules ### DirectoryIndex index.php index.htm index.html IndexIgnore * Header always append X-Frame-Options SAMEORIGIN ### Rewrite rules for SEO functionality ### RewriteEngine On RewriteBase / ##### START v4 SEO URL BACKWARD COMPATIBILITY ##### RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule cat_([0-9]+)(\.[a-z]{3,4})?(.*)$ index.php?_a=category&cat_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule prod_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule info_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=document&doc_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule tell_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule _saleItems(\.[a-z]+)?(\?.*)?$ index.php?_a=saleitems&%1 [NC,L] ##### END v4 SEO URL BACKWARD COMPATIBILITY ##### RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*)\.html?$ index.php?seo_path=$1 [L,QSA] ### Default store 404 page ### ErrorDocument 404 /index.php ## Override default 404 error document for missing page resources ## ErrorDocument 404 " ##### END CubeCart .htaccess # php -- BEGIN cPanel-generated handler, do not edit # This domain inherits the "PHP" package. # php -- END cPanel-generated handler, do not edit [\code]
    0
  • keat63
    It turned out to be a schoolboy error on my part In Multi PHI ini editor, I'd earlier in the day, inadvertantly, left out M at the end of memory limit, so PHP was allocating bytes and not MegaBytes. I guess playing with this domain only was what triggered the outage, no other domains were affected on the server, as these have been left untouched. It's easy to feel a fool occasionally.
    0
  • cPanelMichael
    Hello, I'm glad to see you were able to solve the issue. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.