memory leak on hobbitd_channel ?
nico
nico at crysto.org
Sat Mar 28 13:14:50 CET 2009
Hi,
On my hobbit server, i got lot of memory used by hobbitd_channel (4.4g =
74% of all the memory ).
Tasks: 177 total, 14 running, 162 sleeping, 0 stopped, 1 zombie
Cpu(s): 20.6% us, 3.2% sy, 0.0% ni, 32.9% id, 42.9% wa, 0.2% hi, 0.3% si
Mem: 6107804k total, 6059264k used, 48540k free, 195772k buffers
Swap: 4194288k total, 4194252k used, 36k free, 209976k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
24938 hobbit 15 0 6702m 4.4g 1400 S 0.0 74.7 0:00.76 hobbitd_channel
16808 hobbit 15 0 304m 253m 3600 S 0.3 4.3 26:55.67 hobbitd
16886 hobbit 15 0 145m 114m 444 S 0.0 1.9 0:02.41 hobbitd_channel
16902 hobbit 15 0 36312 31m 524 S 1.0 0.5 3:54.60 hobbitd_alert
24838 hobbit 17 0 36336 31m 344 R 0.3 0.5 0:00.01 hobbitd_alert
24829 hobbit 15 0 36312 31m 332 S 0.0 0.5 0:00.00 hobbitd_alert
3028 root 16 0 358m 21m 1556 S 0.0 0.4 64:04.23 mxdtf
16930 hobbit 17 0 87048 13m 1588 R 5.0 0.2 30:05.96 devmon
16897 hobbit 16 0 26128 12m 636 S
0.0 0.2 19:29.34 hobbitd_client
My questions:
- is it normal that hobbitd_channel takes so much memory (4.4Gb).
- Is it possible to decrease it ? (kill ? )
- Is it possible to know why it's taking so much memory (strace ?)
With strace on it, i only see this things:
write(4, "@@status#902860|1238227571.36674"..., 486) = -1 EAGAIN (Resource
temporarily unavailable)
nanosleep({0, 2500000}, NULL) = 0
semop(9666576, 0x7fbfffe460, 1) = 0
rt_sigaction(SIGALRM, {0x402140, [ALRM], SA_RESTORER|SA_RESTART,
0x2a9569a300}, {SIG_IGN}, 8) = 0
alarm(2) = 2
semop(9666576, 0x7fbfffe460, 1) = 0
rt_sigaction(SIGALRM, {SIG_IGN}, {0x402140, [ALRM],
SA_RESTORER|SA_RESTART, 0x2a9569a300}, 8) = 0
semop(9666576, 0x7fbfffe460, 1) = 0
write(4, "@@status#902860|1238227571.36674"..., 486) = -1 EAGAIN (Resource
temporarily unavailable)
nanosleep({0, 2500000}, NULL) = 0
semop(9666576, 0x7fbfffe460, 1) = 0
rt_sigaction(SIGALRM, {0x402140, [ALRM],
SA_RESTORER|SA_RESTART,
0x2a9569a300}, {SIG_IGN}, 8) = 0
alarm(2) = 2
semop(9666576, 0x7fbfffe460, 1) = 0
rt_sigaction(SIGALRM, {SIG_IGN}, {0x402140, [ALRM],
SA_RESTORER|SA_RESTART, 0x2a9569a300}, 8) = 0
semop(9666576, 0x7fbfffe460, 1) = 0
write(4, "@@status#902860|1238227571.36674"..., 486) = -1 EAGAIN (Resource
temporarily unavailable)
nanosleep({0, 2500000},
----> it s writing status. (?)
Here the status statistic (bbgen):
bbgen for Hobbit version 4.2.0
Statistics: Hosts : 8910 Status messages : 70987 Purple messages : 0
Pages : 29
Any idea about memory is welcome !
Thanks,
Regards,
nico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20090328/be393fcd/attachment.html>
More information about the Xymon
mailing list