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, 21:53:16

Author Topic: pure-pw useradd sfsdfdsx333 -u admin2 -d /home/admin2/ -m  (Read 2012 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Such command takes about 5 minutes on my production server while taking about a second on virtualbox ;(

What's wrong ?

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: pure-pw useradd sfsdfdsx333 -u admin2 -d /home/admin2/ -m
« Reply #1 on: 2015-07-17, 14:52:39 »
It's probably some lag - because now even yum stopped working:

14:56:56 up 174 days, 13:37,  2 users,  load average: 9.97, 13.63, 16.90

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: pure-pw useradd sfsdfdsx333 -u admin2 -d /home/admin2/ -m
« Reply #2 on: 2015-07-17, 15:00:02 »
Some strace:

Quote
read(8, "", 4096)                       = 0
read(8, "", 4096)                       = 0
close(8)                                = 0
munmap(0x7f5bc52d1000, 4096)            = 0
write(7, "\0\0\255$6$y1vXZN0h1WmurO70$TlscgAc8F"..., 2976) = 2976
fsync(7
« Last Edit: 2015-07-17, 15:10:04 by Spacedust »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: pure-pw useradd sfsdfdsx333 -u admin2 -d /home/admin2/ -m
« Reply #3 on: 2015-07-17, 15:44:05 »
Try running 'top' in ssh and inform here %wa value in pure-ftp process (open 2 terminal; 1 for 'top' and 1 for pure-ftpd process).

If %wa with high value (like 90 or more) that mean pure-ftpd process wait too long for io process until ready.
« Last Edit: 2015-07-17, 15:46:25 by MRatWork »
..:: 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: pure-pw useradd sfsdfdsx333 -u admin2 -d /home/admin2/ -m
« Reply #4 on: 2015-07-17, 18:16:30 »
Try running 'top' in ssh and inform here %wa value in pure-ftp process (open 2 terminal; 1 for 'top' and 1 for pure-ftpd process).

If %wa with high value (like 90 or more) that mean pure-ftpd process wait too long for io process until ready.

I know that. Wa is about 2,5% - I use Intel SSD drives.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: pure-pw useradd sfsdfdsx333 -u admin2 -d /home/admin2/ -m
« Reply #5 on: 2015-07-17, 18:36:41 »
Another possibility is database corrupt and or data not match in database.
..:: 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: pure-pw useradd sfsdfdsx333 -u admin2 -d /home/admin2/ -m
« Reply #6 on: 2015-07-17, 18:37:22 »
Another possibility is database corrupt and or data not match in database.

I've rebuild database from scratch and also tested the same database on Virtualbox and it works perfectly on my Virtualbox, but slow on my production server.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: pure-pw useradd sfsdfdsx333 -u admin2 -d /home/admin2/ -m
« Reply #7 on: 2015-07-17, 20:50:20 »
Have you try using mysqltuner for optimize your mariadb/mysql?.
..:: 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: pure-pw useradd sfsdfdsx333 -u admin2 -d /home/admin2/ -m
« Reply #8 on: 2015-07-17, 23:39:01 »
Have you try using mysqltuner for optimize your mariadb/mysql?.

Yes, but my config is perfect. It would take ages to complete with 1500 databases ;)

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: pure-pw useradd sfsdfdsx333 -u admin2 -d /home/admin2/ -m
« Reply #9 on: 2015-07-18, 00:35:36 »
Rebooted and voila ! One second like new ;D

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: pure-pw useradd sfsdfdsx333 -u admin2 -d /home/admin2/ -m
« Reply #10 on: 2015-07-18, 04:09:33 »
Another possibility, swap memory too high and it's make slow response.
..:: 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: pure-pw useradd sfsdfdsx333 -u admin2 -d /home/admin2/ -m
« Reply #11 on: 2015-07-18, 11:58:26 »
Another possibility, swap memory too high and it's make slow response.

No - just 2 GB for SWAP on SSD

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: pure-pw useradd sfsdfdsx333 -u admin2 -d /home/admin2/ -m
« Reply #12 on: 2015-07-19, 01:27:49 »
Another possibility, swap memory too high and it's make slow response.

No - just 2 GB for SWAP on SSD
I mean swap usage.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.049 seconds with 18 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM