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. 2024-06-04, 14:58:57

Author Topic: Running /script/fixdns causes server to go out of memory !  (Read 2807 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
I have 1500 domains and running /script/fixdns causes this:

Code: [Select]
Out of memory: Kill process 14566 (php) score 859 or sacrifice child
Killed process 14566 (php) total-vm:31825548kB, anon-rss:30910972kB, file-rss:14                                                                       44kB

I got 32 GB RAM !
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Running /script/fixdns causes server to go out of memory
« Reply #1 on: 2013-08-17, 23:38:44 »
The new php52s is just memory crazy !!!

Code: [Select]
top - 19:37:49 up 2 days,  5:52,  3 users,  load average: 2.28, 2.08, 1.55
Tasks: 246 total,   4 running, 242 sleeping,   0 stopped,   0 zombie
Cpu(s): 15.0%us,  2.4%sy,  0.0%ni, 72.2%id, 10.2%wa,  0.0%hi,  0.1%si,  0.0%st
Mem:  32715788k total, 32224336k used,   491452k free,     2152k buffers
Swap:  2097148k total,  2097148k used,        0k free,    33692k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
20805 root      20   0 26.3g  24g 2672 R 87.1 77.0   3:23.91 php
24909 root      20   0 5836m 5.3g 3144 R 41.9 17.1   3:27.37 php
   46 root      20   0     0    0    0 D 11.0  0.0   0:55.57 kswapd0
26928 mysql     20   0 7398m 510m 3032 S  3.3  1.6   0:53.87 mysqld
« Last Edit: 2013-08-17, 23:42:58 by Spacedust »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Running /script/fixdns causes server to go out of memory
« Reply #2 on: 2013-08-17, 23:40:40 »
Why are you assigning 80 GB RAM for PHP ???

memory_limit = 80000M
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Running /script/fixdns causes server to go out of memory
« Reply #3 on: 2013-08-17, 23:43:23 »
This 'old' value (taken from Kloxo official) of php not impact to Kloxo-MR panel because hiawatha only permit 100MB (max value for upload on hiawatha).
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Running /script/fixdns causes server to go out of memory
« Reply #4 on: 2013-08-17, 23:47:08 »
Quote from: "MRatWork"
This 'old' value (taken from Kloxo official) of php not impact to Kloxo-MR panel because hiawatha only permit 100MB (max value on hiawatha).

Why it doesn't work ? The old one was working fine.

It just takes whole server memory then the process is killed.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Running /script/fixdns causes server to go out of memory
« Reply #5 on: 2013-08-18, 09:07:47 »
Have you try decrease memory limit in /opt/php52s/etc/php.ini?.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.044 seconds with 18 queries.

web stats analysis