#170 closed defect (fixed)
memory leaks in check SERVICESTATE
| Reported by: | mickem | Owned by: | mickem |
|---|---|---|---|
| Priority: | 1 | Milestone: | 0.3.2 |
| Component: | CheckSystem | Version: | 0.3.1 |
| Severity: | Bugs | Keywords: | |
| Cc: |
Description
I'm trying to track it down. I can say it's related to a check though, because every time i run any kind of query, the process gains ~60KB of memory.
And with that, i've got it narrowed down to the service checks.
#define service{ # use generic-service # host_name HOSTNAME # service_description SERVICE NAME # check_command check_nt!SERVICESTATE!-d SHOWALL -l "SERVICENAME" # }
I have the service name in quotes in the check command because the name contains a space. I hope this is helpful in some way -- please let me know what other information i can provide that would be useful in troubleshooting.
Okay, I can say for sure that this is it. It only happens when the service checks are enabled. I disabled all of them on two boxes, and saw no growth throughout the day, where as the other processes had put on ~10MB.
Change History (3)
comment:1 Changed 5 years ago by mickem
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 5 years ago by mickem
- Milestone changed from 0.4.0 to 0.3.2
comment:3 Changed 5 years ago by samuraipenguin
I can confirm that this issue is indeed fixed in the nightly. Rock on!









New nightly that fixes this issue: NSClient++-Win32-20080514-2247.zip
Please test this and I will make a new 0.3.2 version (same thing as the nightly) for tomorrow.
MickeM