MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: m7shapan on 2016-08-16, 21:38:32

Title: memory limit stuck at 128M
Post by: m7shapan on 2016-08-16, 21:38:32
Hello
I'm tried to change memory limit to 512M as I will deal with large images
I change it from Kloxo panel and from etc/php.ini and I searched for other files name php.ini and changed it but nothing happens, any help ?
Title: Re: memory limit stuck at 128M
Post by: MRatWork on 2016-08-17, 01:39:14
Inform here your 'sh /script/sysinfo'.
Title: Re: memory limit stuck at 128M
Post by: m7shapan on 2016-08-17, 10:38:06
Code: [Select]
{code]
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016080801
   - Web: hiawatha-10.3.0-f.1.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
   - Hostname: restart55.cloudapp.net
C. Services:
   1. MySQL: MariaDB-server-10.0.26-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php70w-cli-7.0.9-1.w6.x86_64
        - Multiple:
          * php56m-5.6.24-1.ius.el6
          * php70m-7.0.9-1.w6
      - Used: php56m-fpm
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.3.0-f.1.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.39-3.el6.x86_64
     - Nginx: nginx-1.11.3-1.el6.ngx.x86_64
     - Apache: httpd-2.2.31-1.mr.el6.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.7-1.mr.el6.x86_64
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: package none-toaster is not installed
      - smtp: package none-toaster is not installed
      - spam: bogofilter-1.2.4-1.el6.x86_64
   7. Stats: awstats
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          6852       1407       5445          0        117        801
   -/+ buffers/cache:        489       6363
   Swap:            0          0          0
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/sda1        30G  4.0G   24G  15% /
Title: Re: memory limit stuck at 128M
Post by: MRatWork on 2016-08-17, 13:41:37
Not sure for your Kloxo-MR 7.0, but no problem in latest update.
Title: Re: memory limit stuck at 128M
Post by: m7shapan on 2016-08-17, 14:41:37
what do you mean by latest update ?
I'm already using your latest
Title: Re: memory limit stuck at 128M
Post by: MRatWork on 2016-08-17, 14:55:33
Latest update is kloxomr7-7.0.0.b-2016081702
Title: Re: memory limit stuck at 128M
Post by: m7shapan on 2016-08-17, 15:03:38
how to update to the latest release ?
Title: Re: memory limit stuck at 128M
Post by: MRatWork on 2016-08-17, 15:26:39
Run 'yum clean all; yum update -y; sh /script/cleanup'.
Title: Re: memory limit stuck at 128M
Post by: m7shapan on 2016-08-17, 15:49:49
I update to latest release and still facing the sam problem nothing charges
Title: Re: memory limit stuck at 128M
Post by: MRatWork on 2016-08-17, 15:53:45
Did you change 'memory limit' from 'advanced php configure'?.

I didn't found this issue.
Title: Re: memory limit stuck at 128M
Post by: m7shapan on 2016-08-17, 16:10:36
yes i did
Title: Re: memory limit stuck at 128M
Post by: MRatWork on 2016-08-17, 16:23:05
Inform here, what's steps you did.
Title: Re: memory limit stuck at 128M
Post by: m7shapan on 2016-08-17, 16:40:03
from header  Basic->PHP Configure » localhost   then Advanced PHP Configure
then set Memory Limit  to 512M then update
Title: Re: memory limit stuck at 128M
Post by: MRatWork on 2016-08-17, 16:52:11
from header  Basic->PHP Configure » localhost   then Advanced PHP Configure
then set Memory Limit  to 512M then update
So, it's for Admin?.
Title: Re: memory limit stuck at 128M
Post by: MRatWork on 2016-08-17, 16:59:28
What's about this https://xl1.mratwork.com/php/ with spec:
Code: [Select]
[root@xl1 ~]# sh /script/sysinfo
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016081702
   - Web: hiawatha-10.3.0-f.1.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
   - Hostname: xl1.mratwork.com
C. Services:
   1. MySQL: --uninstalled--
   2. PHP:
      - Installed:
        - Branch: php54-cli-5.4.45-1.ius.el6.x86_64
        - Multiple:
          * php52m-5.2.17-102.mr.el6
          * php53m-5.3.29-1.ius.el6
          * php54m-5.4.45-1.ius.el6
          * php55m-5.5.38-1.ius.el6
          * php56m-5.6.24-1.ius.el6
          * php70m-7.0.9-1.w6
      - Used: php56m-fpm
      - Multiple: disable
   3. Web Used: nginx
     - Hiawatha: hiawatha-10.3.0-f.1.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.39-3.el6.x86_64
     - Nginx: nginx-1.11.3-1.el6.ngx.x86_64
     - Apache: httpd24u-2.4.23-2.ius.el6.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: on
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: --uninstalled--
     - DJBDns: --uninstalled--
     - NSD: nsd-4.1.10-1.mr.el6.x86_64
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: dovecot-toaster-2.2.24-1.mr.el6.x86_64
      - smtp: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - spam: bogofilter-1.2.4-1.el6.x86_64
   7. Stats: awstats
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1024        630        393         79          0        429
   -/+ buffers/cache:        201        822
   Swap:          128          1        126
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/simfs       15G  2.6G   13G  18% /


*** Process Time: 00:00:00:11.11134 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)

[root@xl1 ~]#
Title: Re: memory limit stuck at 128M
Post by: m7shapan on 2016-08-17, 17:19:38
yes it's for admin
Title: Re: memory limit stuck at 128M
Post by: MRatWork on 2016-08-17, 17:28:32
Did you added '512M' instead '512' or '512m'?.

Again, I didn't found this issue in my server (see link above).
Title: Re: memory limit stuck at 128M
Post by: m7shapan on 2016-08-17, 17:58:36
yes I did this in the first place

I saw your link
I didn't know what I say but this problem annoying me
Title: Re: memory limit stuck at 128M
Post by: MRatWork on 2016-08-17, 18:00:05
Inform your link where you sure that only 128M memory limit.
Title: Re: memory limit stuck at 128M
Post by: m7shapan on 2016-08-17, 20:33:29
i write
echo ini_get('memory_limit');
in a file and open it on the server
 and I also try to start the image processing that it take about 400M Ram
Title: Re: memory limit stuck at 128M
Post by: MRatWork on 2016-08-17, 20:48:38
What's about https://xl1.mratwork.com/mem.php