Re: groupadd, useradd, etc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mogens Kjaer wrote:

Can you run
strace groupadd xyz
and get an idea what takes so long time?

I ran: strace groupadd xyz 2>straceout

I looked at the file straceout and then did:
grep -v mremap straceout >noremap

root@s2 ~# ll straceout noremap
-rw-r--r--  1 root root   6281700 Feb 17 08:40 noremap
-rw-r--r--  1 root root 169173793 Feb 17 08:31 straceout

The straceout file is chock full of these lines where the center numerics change every so often:
mremap(0xb7d87000, 147456, 147456, MREMAP_MAYMOVE) = 0xb7d87000
mremap(0xb7d87000, 147456, 147456, MREMAP_MAYMOVE) = 0xb7d87000
mremap(0xb7d87000, 147456, 147456, MREMAP_MAYMOVE) = 0xb7d87000
mremap(0xb7d87000, 147456, 147456, MREMAP_MAYMOVE) = 0xb7d87000
mremap(0xb7d87000, 147456, 147456, MREMAP_MAYMOVE) = 0xb7d87000
mremap(0xb7d87000, 147456, 147456, MREMAP_MAYMOVE) = 0xb7d87000
mremap(0xb7d87000, 147456, 147456, MREMAP_MAYMOVE) = 0xb7d87000
mremap(0xb7d87000, 147456, 147456, MREMAP_MAYMOVE) = 0xb7d87000


The difference in size between straceout and noremap is how much mremap output there is.

Is this remaping RAM?

--
Bill Gradwohl
bill@xxxxxxx
http://www.ycc.com
spamSTOMPER Protected email


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux