bugHddtemp - Bugs: bug #25254, hddtemp seems to unnecessarily...

 
 

bug #25254: hddtemp seems to unnecessarily store all the hddtemp.db entries in ram when run as a daemon

Submitter:  None
Submitted:  Mon 05 Jan 2009 06:21:02 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Any Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 05 Jan 2009 06:21:02 PM UTC, original submission:  

When running as a daemon, hddtemp uses over 4 MB RES memory, which isn't a lot, but by editing the hddtemp.db to only contain the three entries I need, the daemon uses less than 600 KB.

Since the drives to monitor are only specified at startup and can't be changed (ie start monitoring a new hotplugged drive), would it not make sense to "purge" all the unused db entries, freeing up the memory?

I'm not a programmer, so may be underestimating what's involved, but it looks like it would significantly reduce the ram usage when daemonized...

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code