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

Submitted by:  None
Submitted on:  Mon 05 Jan 2009 06:21:02 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: AnyAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup1