I noticed a strange behaviour, , massive memory comsuption and cpu usage, on accounts-daemon on my ubuntu 15.04 instalation.
You can attach gdb to a running process by using --pid. So by using
1 | sudo gdb --pid=597 |
I could debug the running process, and then i saw :
1 2 3 4 5 6 | 0x00007f4ae4dea1e1 in __GI__nss_files_parse_pwent (
line=0x1f00606 ":x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin",
line@entry=0x1f00600 "nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin", result=result@entry=0x7f4ae50e7060 <resbuf>, data=data@entry=0x1f00600,
datalen=datalen@entry=1024, errnop=errnop@entry=0x7f4ae60747d0)
at fgetpwent_r.c:34
34 fgetpwent_r.c: Ficheiro ou directoria inexistente (*).
|
(*) File or directory not existent..
Not good not good at all..
Sem comentários:
Enviar um comentário