[Nut-upsuser] memory leak in newhidups 0.28 (2.0.3)
Tor Sjowall
nut at sjowall.org
Fri Mar 23 18:39:34 CET 2007
There is a memory leak in newhidups. After 23 days uptime it used 138M
memory. Apart from the memory leak, the system works ok.
Is there anything I can do to help fix this problem?
Tor.
[root at tophat init.d]# ps -unut v
PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND
21122 ? Ss 1:35 0 69 137934 136800 27.0 /sbin/newhidups auto
21125 ? Ss 0:37 0 45 1662 388 0.0 /usr/sbin/upsd
21129 ? S 0:00 0 39 1660 560 0.1 /usr/sbin/upsmon
[root at tophat init.d]# ./ups restart
Stopping UPS monitor: [ OK ]
Stopping upsd: [ OK ]
Shutting down newhidups: [ OK ]
Starting newhidups: Network UPS Tools: New USB/HID UPS driver 0.28 (2.0.3)
Detected a UPS: American Power Conversion/Back-UPS CS 350 FW:807.q5.I USB FW:q5
Using subdriver: APC HID 0.8
[ OK ]
Starting upsd: Network UPS Tools upsd 2.0.3
Connected to UPS [myups]: newhidups-auto
Synchronizing...done
[ OK ]
Starting UPS monitor (master): Network UPS Tools upsmon 2.0.3
UPS: myups at localhost (master) (power value 1)
Using power down flag file /etc/killpower
[ OK ]
[root at tophat init.d]# ps -unut v
PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND
2586 ? Ss 0:00 0 69 1706 464 0.0 /sbin/newhidups auto
2589 ? Ss 0:00 0 45 1658 384 0.0 /usr/sbin/upsd
2593 ? S 0:00 0 39 1656 528 0.1 /usr/sbin/upsmon
[root at tophat init.d]# uptime
17:47:31 up 23 days, 7:40, 3 users, load average: 0.00, 0.00, 0.00
[root at tophat init.d]# cat /proc/version
Linux version 2.6.19-1.2911.fc6
(brewbuilder at hs20-bc2-4.build.redhat.com) (gcc version 4.1.1 20070105
(Red Hat 4.1.1-51)) #1 SMP Sat Feb 10 15:51:47 EST 2007
[root at tophat init.d]#
2.3 GHz Celeron.
More information about the Nut-upsuser
mailing list