Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2017-11-07, 18:44:15

Author Topic: Error when running /script/fixweb  (Read 1344 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Error when running /script/fixweb
« on: 2016-05-19, 00:24:29 »
What's wrong ? After about 200 domains I got this:

Quote
PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 86 bytes) in /usr/local/lxlabs/kloxo/httpdocs/lib/php/sqlitelib.php on line 142

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Error when running /script/fixweb
« Reply #1 on: 2016-05-19, 03:07:41 »
Setting for 'memory_limit' is '80000M' for phpXYs.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Error when running /script/fixweb
« Reply #2 on: 2016-05-19, 11:52:00 »
I just added a line in this script and it worked ;)

ini_set('memory_limit', '-1');

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Error when running /script/fixweb
« Reply #3 on: 2016-05-21, 13:23:22 »
It still happens despite latest fixes. I needed to add ini_set('memory_limit', '-1'); to /usr/local/lxlabs/kloxo/httpdocs/lib/php/sqlitelib.php then it works well.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Error when running /script/fixweb
« Reply #4 on: 2016-05-21, 15:48:21 »
Don't know about it, but php.ini and php-fpm.conf for Kloxo already set to '-1' for kloxo service.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Error when running /script/fixweb
« Reply #5 on: 2016-05-21, 15:50:59 »
Are you sure database not corrupt?. Run 'sh /script/mysql-optimize --select=repair' to make sure (not work for innodb).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Error when running /script/fixweb
« Reply #6 on: 2016-05-21, 20:01:18 »
Are you sure database not corrupt?. Run 'sh /script/mysql-optimize --select=repair' to make sure (not work for innodb).

Database is OK

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Error when running /script/fixweb
« Reply #7 on: 2016-05-21, 21:44:33 »
It fixed after updating to latest release.

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.047 seconds with 17 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM