[Samba] smbd's using up 100% of all cpu's and load avg slowly going up
Bruno Andrade
bma at eurotux.com
Mon Dec 29 07:58:59 MST 2014
Hi,
Yes, I already thought about it.
I have the sernet repo installed.. Is possible to yum update and jump
from 4.1.6 to 4.1.14 directly, without problems or should I follow some
kind of procedure to avoid future problems?
Regards,
Bruno Andrade.
On 12/29/2014 01:46 PM, Rowland Penny wrote:
> On 29/12/14 12:02, Bruno Andrade wrote:
>> Hi again,
>>
>> Sorry, I forgot to include the fd used...
>>
>> 13 -> /var/lib/samba/private/sam.ldb.d/DC=EXAMPLE,DC=COM.ldb
>> 16 -> /var/lib/samba/private/sam.ldb.d/metadata.tdb
>>
>> the others refers to /var/run/samba/winbindd/pipe
>>
>> Regards,
>> Bruno Andrade.
>>
>> On 12/29/2014 11:56 AM, Bruno Andrade wrote:
>>> Hi,
>>>
>>> Here is some output of "strace -ff -p" to the process using ~100% CPU
>>>
>>> writev(75, [{"\250\r\0\0\2\0\0\0S-1-5-21-2097307442-3435"..., 3496}],
>>> 1) = 3496
>>> epoll_wait(9, {{EPOLLIN, {u32=2539833808, u64=140271876753872}}}, 1,
>>> 30000) = 1
>>> readv(91,
>>> [{"\34\0\0\0\0\0\0\0rT\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
>>> 2092}],
>>> 1) = 2092
>>> gettimeofday({1419854003, 222035}, NULL) = 0
>>> gettimeofday({1419854003, 222103}, NULL) = 0
>>> gettimeofday({1419854003, 222169}, NULL) = 0
>>> fcntl(16, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=176,
>>> len=1}) = 0
>>> fcntl(16, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=176,
>>> len=1}) = 0
>>> gettimeofday({1419854003, 222345}, NULL) = 0
>>> gettimeofday({1419854003, 222482}, NULL) = 0
>>> gettimeofday({1419854003, 222868}, NULL) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=14324,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=14324,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=14576,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=14576,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=17520,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=17520,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=16112,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=16112,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=1488,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1488,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=15644,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=15644,
>>> len=1}) = 0
>>> writev(91, [{"\250\r\0\0\2\0\0\0S-1-5-21-2097307442-3435"..., 3496}],
>>> 1) = 3496
>>> epoll_wait(9, {{EPOLLIN, {u32=2540085760, u64=140271877005824}}}, 1,
>>> 30000) = 1
>>> readv(41,
>>> [{"\34\0\0\0\0\0\0\0WS\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
>>> 2092}],
>>> 1) = 2092
>>> gettimeofday({1419854003, 230871}, NULL) = 0
>>> gettimeofday({1419854003, 230939}, NULL) = 0
>>> gettimeofday({1419854003, 231002}, NULL) = 0
>>> fcntl(16, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=176,
>>> len=1}) = 0
>>> fcntl(16, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=176,
>>> len=1}) = 0
>>> gettimeofday({1419854003, 231249}, NULL) = 0
>>> gettimeofday({1419854003, 231328}, NULL) = 0
>>> gettimeofday({1419854003, 231474}, NULL) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=14324,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=14324,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=14576,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=14576,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=17520,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=17520,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=16112,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=16112,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=8580,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=8580,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=26136,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=26136,
>>> len=1}) = 0
>>> writev(41, [{"\250\r\0\0\2\0\0\0S-1-5-21-2097307442-3435"..., 3496}],
>>> 1) = 3496
>>> epoll_wait(9, {{EPOLLIN, {u32=2524503808, u64=140271861423872}}}, 1,
>>> 30000) = 1
>>> readv(103,
>>> [{"\34\0\0\0\0\0\0\0\303Y\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
>>>
>>> 2092}], 1) = 2092
>>> gettimeofday({1419854003, 244114}, NULL) = 0
>>> gettimeofday({1419854003, 244183}, NULL) = 0
>>> gettimeofday({1419854003, 244248}, NULL) = 0
>>> fcntl(16, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=176,
>>> len=1}) = 0
>>> fcntl(16, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=176,
>>> len=1}) = 0
>>> gettimeofday({1419854003, 244437}, NULL) = 0
>>> gettimeofday({1419854003, 244516}, NULL) = 0
>>> gettimeofday({1419854003, 244594}, NULL) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=14324,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=14324,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=14576,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=14576,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=17520,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=17520,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=16112,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=16112,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=26920,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=26920,
>>> len=1}) = 0
>>> gettimeofday({1419854003, 250616}, NULL) = 0
>>> fcntl(25, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=31032,
>>> len=1}) = 0
>>> fcntl(25, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=31032,
>>> len=1}) = 0
>>> fcntl(25, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=31248,
>>> len=1}) = 0
>>> fcntl(25, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=31248,
>>> len=1}) = 0
>>> writev(103,
>>> [{"\250\r\0\0\2\0\0\0S-1-5-18\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
>>> 3496}], 1) = 3496
>>> epoll_wait(9, {{EPOLLIN, {u32=2541756464, u64=140271878676528}}}, 1,
>>> 30000) = 1
>>> readv(63,
>>> [{"\35\0\0\0\0\0\0\0gS\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
>>> 2092}],
>>> 1) = 2092
>>> gettimeofday({1419854003, 251629}, NULL) = 0
>>> gettimeofday({1419854003, 251695}, NULL) = 0
>>> gettimeofday({1419854003, 251758}, NULL) = 0
>>> fcntl(16, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=176,
>>> len=1}) = 0
>>> fcntl(16, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=176,
>>> len=1}) = 0
>>> gettimeofday({1419854003, 251941}, NULL) = 0
>>> gettimeofday({1419854003, 252022}, NULL) = 0
>>> gettimeofday({1419854003, 252100}, NULL) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=14324,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=14324,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=39416,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=39416,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=11800,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=11800,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=15836,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=15836,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=29212,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=29212,
>>> len=1}) = 0
>>> writev(63, [{"\250\r\0\0\2\0\0\0S-1-5-21-2097307442-3435"..., 3496}],
>>> 1) = 3496
>>> epoll_wait(9, {{EPOLLIN, {u32=2538724032, u64=140271875644096}}}, 1,
>>> 30000) = 1
>>> readv(105, [{"0\10\0\0", 4}], 1) = 4
>>> epoll_wait(9, {{EPOLLIN, {u32=2536963296, u64=140271873883360}}}, 1,
>>> 30000) = 1
>>> readv(61,
>>> [{"\35\0\0\0\0\0\0\0hS\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
>>> 2092}],
>>> 1) = 2092
>>> gettimeofday({1419854003, 271593}, NULL) = 0
>>> gettimeofday({1419854003, 271662}, NULL) = 0
>>> gettimeofday({1419854003, 271726}, NULL) = 0
>>> fcntl(16, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=176,
>>> len=1}) = 0
>>> fcntl(16, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=176,
>>> len=1}) = 0
>>> gettimeofday({1419854003, 271919}, NULL) = 0
>>> gettimeofday({1419854003, 272002}, NULL) = 0
>>> gettimeofday({1419854003, 272081}, NULL) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=14324,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=14324,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=39416,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=39416,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=11800,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=11800,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=15836,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=15836,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=29212,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=29212,
>>> len=1}) = 0
>>> writev(61, [{"\250\r\0\0\2\0\0\0S-1-5-21-2097307442-3435"..., 3496}],
>>> 1) = 3496
>>> epoll_wait(9, {{EPOLLIN, {u32=2546587904, u64=140271883507968}}}, 1,
>>> 30000) = 1
>>> readv(81,
>>> [{"\35\0\0\0\0\0\0\0}S\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
>>> 2092}],
>>> 1) = 2092
>>> gettimeofday({1419854003, 291592}, NULL) = 0
>>> gettimeofday({1419854003, 291662}, NULL) = 0
>>> gettimeofday({1419854003, 291725}, NULL) = 0
>>> fcntl(16, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=176,
>>> len=1}) = 0
>>> fcntl(16, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=176,
>>> len=1}) = 0
>>> gettimeofday({1419854003, 291923}, NULL) = 0
>>> gettimeofday({1419854003, 292005}, NULL) = 0
>>> gettimeofday({1419854003, 292082}, NULL) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=14324,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=14324,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=39416,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=39416,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=11800,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=11800,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=4252,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=4252,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=30108,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=30108,
>>> len=1}) = 0
>>> writev(81, [{"\250\r\0\0\2\0\0\0S-1-5-21-2097307442-3435"..., 3496}],
>>> 1) = 3496
>>> epoll_wait(9, {{EPOLLIN, {u32=2540754848, u64=140271877674912}}}, 1,
>>> 30000) = 1
>>> readv(77,
>>> [{"\34\0\0\0\0\0\0\0{V\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
>>> 2092}],
>>> 1) = 2092
>>> gettimeofday({1419854003, 294575}, NULL) = 0
>>> gettimeofday({1419854003, 294641}, NULL) = 0
>>> gettimeofday({1419854003, 294701}, NULL) = 0
>>> fcntl(16, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=176,
>>> len=1}) = 0
>>> fcntl(16, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=176,
>>> len=1}) = 0
>>> gettimeofday({1419854003, 294876}, NULL) = 0
>>> gettimeofday({1419854003, 294945}, NULL) = 0
>>> gettimeofday({1419854003, 295014}, NULL) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=14324,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=14324,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=14576,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=14576,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=17520,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=17520,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=16112,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=16112,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=8528,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=8528,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=15000,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=15000,
>>> len=1}) = 0
>>> writev(77, [{"\250\r\0\0\2\0\0\0S-1-5-21-2097307442-3435"..., 3496}],
>>> 1) = 3496
>>> epoll_wait(9, {{EPOLLIN, {u32=2527645056, u64=140271864565120}}}, 1,
>>> 30000) = 1
>>> readv(101,
>>> [{"\34\0\0\0\0\0\0\0\26Y\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
>>>
>>> 2092}], 1) = 2092
>>> gettimeofday({1419854003, 302283}, NULL) = 0
>>> gettimeofday({1419854003, 302351}, NULL) = 0
>>> gettimeofday({1419854003, 302413}, NULL) = 0
>>> fcntl(16, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=176,
>>> len=1}) = 0
>>> fcntl(16, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=176,
>>> len=1}) = 0
>>> gettimeofday({1419854003, 302598}, NULL) = 0
>>> gettimeofday({1419854003, 302676}, NULL) = 0
>>> gettimeofday({1419854003, 302753}, NULL) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=14324,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=14324,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=14576,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=14576,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=17520,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=17520,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=16112,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=16112,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=37968,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=37968,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=5132,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=5132,
>>> len=1}) = 0
>>> writev(101, [{"\250\r\0\0\2\0\0\0S-1-5-21-2097307442-3435"..., 3496}],
>>> 1) = 3496
>>> epoll_wait(9, {{EPOLLIN, {u32=2545364480, u64=140271882284544}}}, 1,
>>> 30000) = 1
>>> readv(83,
>>> [{"\34\0\0\0\0\0\0\0\247S\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
>>>
>>> 2092}], 1) = 2092
>>> gettimeofday({1419854003, 309621}, NULL) = 0
>>> gettimeofday({1419854003, 309691}, NULL) = 0
>>> gettimeofday({1419854003, 309754}, NULL) = 0
>>> fcntl(16, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=176,
>>> len=1}) = 0
>>> fcntl(16, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=176,
>>> len=1}) = 0
>>> gettimeofday({1419854003, 309944}, NULL) = 0
>>> gettimeofday({1419854003, 310024}, NULL) = 0
>>> gettimeofday({1419854003, 310108}, NULL) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=14324,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=14324,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=14576,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=14576,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=17520,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=17520,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=16112,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=16112,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=1040,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1040,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=13464,
>>> len=1}) = 0
>>> fcntl(13, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=13464,
>>> len=1}) = 0
>>>
>>>
>>> Regards,
>>> Bruno Andrade.
>>>
>>> On 12/29/2014 10:48 AM, Bruno Andrade wrote:
>>>> Hi,
>>>>
>>>> I'm having problems in a second domain controller machine. Every
>>>> time a
>>>> restart samba, few time after a samba process starts using almost
>>>> 100% cpu.
>>>>
>>>> It's a Centos 6.5 x86_64 with the following:
>>>>
>>>> sernet-samba-libsmbclient0-4.1.6-7.el6.x86_64
>>>> sernet-samba-ad-4.1.6-7.el6.x86_64
>>>> sernet-build-key-1.1-4.noarch
>>>> sernet-samba-libs-4.1.6-7.el6.x86_64
>>>> sernet-samba-client-4.1.6-7.el6.x86_64
>>>> sernet-samba-4.1.6-7.el6.x86_64
>>>> sernet-samba-common-4.1.6-7.el6.x86_64
>>>> sernet-samba-winbind-4.1.6-7.el6.x86_64
>>>>
>>>> The testparm outputs the following:
>>>> Load smb config files from /etc/samba/smb.conf
>>>> Processing section "[netlogon]"
>>>> Processing section "[sysvol]"
>>>> Processing section "[Profiles]"
>>>> Processing section "[home]"
>>>> Loaded services file OK.
>>>> Server role: ROLE_ACTIVE_DIRECTORY_DC
>>>> Press enter to see a dump of your service definitions
>>>>
>>>> [global]
>>>> dos charset = ISO8859-1
>>>> unix charset = cp850
>>>> workgroup = EXAMPLE
>>>> realm = EXAMPLE.COM
>>>> netbios aliases = FS.ROAMING.EXAMPLE.COM
>>>> interfaces = eth1
>>>> bind interfaces only = Yes
>>>> server role = active directory domain controller
>>>> passdb backend = samba_dsdb
>>>> allow dns updates = nonsecure and secure
>>>> server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl,
>>>> winbind, ntp_signd, kcc, dnsupdate
>>>> rpc_server:tcpip = no
>>>> rpc_daemon:spoolssd = embedded
>>>> rpc_server:spoolss = embedded
>>>> rpc_server:winreg = embedded
>>>> rpc_server:ntsvcs = embedded
>>>> rpc_server:eventlog = embedded
>>>> rpc_server:srvsvc = embedded
>>>> rpc_server:svcctl = embedded
>>>> rpc_server:default = external
>>>> dsdb:schema update allowed = true
>>>> idmap_ldb:use rfc2307 = yes
>>>> idmap config * : backend = tdb
>>>> map archive = No
>>>> map readonly = no
>>>> store dos attributes = Yes
>>>> vfs objects = dfs_samba4, acl_xattr
>>>>
>>>> [netlogon]
>>>> path = /var/lib/samba/sysvol/example.com/scripts
>>>> read only = No
>>>>
>>>> [sysvol]
>>>> path = /var/lib/samba/sysvol
>>>> read only = No
>>>>
>>>> [Profiles]
>>>> path = /samba4/profiles/
>>>> read only = No
>>>>
>>>> [home]
>>>> path = /samba4/home/
>>>> read only = No
>>>>
>>>> Any suggestions?
>>>>
>>>> Regards,
>>>> Bruno Andrade.
>
> Hi, have you considered upgrading to the latest sernet packages ? this
> may cure your problems.
>
> Rowland
>
More information about the samba
mailing list