Public bug reported:

Binary package hint: conky

I am running Conky in 7.10 and it is leaking memory at a relatively fast
rate. Within a few hours its taking up close to a gigabyte. I left it
run while away for 24 hours and crashed sometime while I was gone. I am
not sure what is causing this, but I haven't found any major refrences
to this being a known bug on here or with google.


Here is my .conkyrc file:

[EMAIL PROTECTED] ~ $ cat .conkyrc
# set to yes if you want Conky to be forked in the background
background no
cpu_avg_samples 2
net_avg_samples 4
use_xft no 

# Xft font when Xft is enabled
#xftfont Bitstream Vera Sans Mono:size=8

# Text alpha when using Xft
#xftalpha 0.2

# Update interval in seconds
update_interval 0.5

# Create own window instead of using desktop (required in nautilus)
own_window no 

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 260 5
maximum_width 260

# Draw shades?
draw_shades no 
draw_outline yes

# Default colors and also border colors
default_color white
default_shade_color  
default_outline_color black 

# Text alignment, other possible values are commented
#alignment top_left
#minimum_size 10 10
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text

# Add spaces to keep things from moving about?  This only affects certain 
objects.
use_spacer no

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# boinc (seti) dir
# seti_dir /opt/seti

# Possible variables to be used:
#
#      Variable         Arguments                  Description                
#  acpiacadapter                     ACPI ac adapter state.                   
#  acpifan                           ACPI fan state                           
#  acpitemp                          ACPI temperature.                        
#  adt746xcpu                        CPU temperature from therm_adt746x       
#  adt746xfan                        Fan speed from therm_adt746x             
#  battery           (num)           Remaining capasity in ACPI or APM        
#                                    battery. ACPI battery number can be      
#                                    given as argument (default is BAT0).     
#  buffers                           Amount of memory buffered                
#  cached                            Amount of memory cached                  
#  color             (color)         Change drawing color to color            
#  cpu                               CPU usage in percents                    
#  cpubar            (height)        Bar that shows CPU usage, height is      
#                                    bar's height in pixels                   
#  downspeed         net             Download speed in kilobytes              
#  downspeedf        net             Download speed in kilobytes with one     
#                                    decimal                                  
#  exec              shell command   Executes a shell command and displays    
#                                    the output in torsmo. warning: this      
#                                    takes a lot more resources than other    
#                                    variables. I'd recommend coding wanted   
#                                    behaviour in C and posting a patch :-).  
#  execi             interval, shell Same as exec but with specific interval. 
#                    command         Interval can't be less than              
#                                    update_interval in configuration.        
#  fs_bar            (height), (fs)  Bar that shows how much space is used on 
#                                    a file system. height is the height in   
#                                    pixels. fs is any file on that file      
#                                    system.                                  
#  fs_free           (fs)            Free space on a file system available    
#                                    for users.                               
#  fs_free_perc      (fs)            Free percentage of space on a file       
#                                    system available for users.              
#  fs_size           (fs)            File system size                         
#  fs_used           (fs)            File system used space                   
#  hr                (height)        Horizontal line, height is the height in 
#                                    pixels                                   
#  i2c               (dev), type, n  I2C sensor from sysfs (Linux 2.6). dev   
#                                    may be omitted if you have only one I2C  
#                                    device. type is either in (or vol)       
#                                    meaning Volt, fan meaning fan or temp 
#                                    meaning temperature. n is number of the  
#                                    sensor. See /sys/bus/i2c/devices/ on     
#                                    your local computer.                     
#  kernel                            Kernel version                           
#  loadavg           (1), (2), (3)   System load average, 1 is for past 1     
#                                    minute, 2 for past 5 minutes and 3 for   
#                                    past 15 minutes.                         
#  machine                           Machine, i686 for example                
#  mails                             Mail count in mail spool. You can use    
#                                    program like fetchmail to get mails from 
#                                    some server using your favourite         
#                                    protocol. See also new_mails.            
#  mem                               Amount of memory in use                  
#  membar            (height)        Bar that shows amount of memory in use   
#  memmax                            Total amount of memory                   
#  memperc                           Percentage of memory in use              
#  new_mails                         Unread mail count in mail spool.         
#  nodename                          Hostname                                 
#  outlinecolor      (color)         Change outline color                     
#  pre_exec          shell command   Executes a shell command one time before 
#                                    torsmo displays anything and puts output 
#                                    as text.                                 
#  processes                         Total processes (sleeping and running)   
#  running_processes                 Running processes (not sleeping),        
#                                    requires Linux 2.6                       
#  shadecolor        (color)         Change shading color                     
#  stippled_hr       (space),        Stippled (dashed) horizontal line        
#                    (height)        
#  swapbar           (height)        Bar that shows amount of swap in use     
#  swap                              Amount of swap in use                    
#  swapmax                           Total amount of swap                     
#  swapperc                          Percentage of swap in use                
#  sysname                           System name, Linux for example           
#  time              (format)        Local time, see man strftime to get more 
#                                    information about format                 
#  totaldown         net             Total download, overflows at 4 GB on     
#                                    Linux with 32-bit arch and there doesn't 
#                                    seem to be a way to know how many times  
#                                    it has already done that before torsmo   
#                                    has started.                             
#  totalup           net             Total upload, this one too, may overflow 
#  updates                           Number of updates (for debugging)        
#  upspeed           net             Upload speed in kilobytes                
#  upspeedf          net             Upload speed in kilobytes with one       
#                                    decimal                                  
#  uptime                            Uptime                                   
#  uptime_short                      Uptime in a shorter format               
#
#  seti_prog                         [EMAIL PROTECTED] current progress
#  seti_progbar      (height)        [EMAIL PROTECTED] current progress bar
#  seti_credit                       [EMAIL PROTECTED] total user credit


# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
#${font Dungeon:style=Bold:pixelsize=10}I can change the font as well
#${font Verdana:size=10}as many times as I choose
#${font Perry:size=10}Including UTF-8,
# stuff after 'TEXT' will be formatted on screen
#${font Grunge:size=12}${time %a  %b  %d}${alignr -25}${time %k:%M}


############ TO DO ###############
#Transparent BG (W/O DESKTOP)
#
###### CPU
#CPU Voltage
#CPU Temp
#CPU Fan Speed
#Process CPU Usage?? (reword?)
#
###### GPU
#GPU Temp
#GPU Voltage
#Paste this code where you want it (betweem mem and disk, default loc)
#${alignc}${color white}gpu${color darkgrey}${font}
#${hr}
#${color darkgrey}GPU Temp: ${alignr}${color white}${hwmon temp 3}°C
#${color darkgrey}GPU Volt: ${alignr}${color white}${hwmon vol 3} V
#
#${execi 30 nvidia-settings -q gpucoretemp |grep '):' | cut -c 42-43} C
#
#####DISK
#disc temps?
#${hddtemp /dev/sda}
#
#####################################

TEXT
${alignc}${color white}${nodename}
${alignc}${sysname} ${kernel} ${machine}${color darkgrey}${font}
${hr}
${color darkgrey}Uptime: ${alignr}${color white}$uptime
${color darkgrey}Load:   ${alignr}${color white}$loadavg

${alignc}${color white}cpu${color darkgrey}${font}
${hr}
${color darkgrey}CPU  1: ${color white}${cpu cpu0}%${alignr}${color 
darkgrey}CPU 2: ${color white}${cpu cpu1}%
${color darkgrey}${cpubar cpu0 5,120}${alignr}${cpubar cpu1 5,120}
${color darkgrey}${cpugraph cpu0 27,120 2d6094 b3cfec}${alignr}${color 
darkgrey}${cpugraph cpu1 27,120 2d6094 b3cfec}
${color darkgrey}CPU  3: ${color white}${cpu cpu2}%${alignr}${color 
darkgrey}CPU 4: ${color white}${cpu cpu3}%
${color darkgrey}${cpubar cpu2 5,120}${alignr}${cpubar cpu3 5,120}
${color darkgrey}${cpugraph cpu2 27,120 2d6094 b3cfec}${alignr}${color 
darkgrey}${cpugraph cpu3 27,120 2d6094 b3cfec}
${color darkgrey}Process CPU Usage${alignr}PID:   CPU%:  MEM%: 
${color white} ${top name 1}${alignr}${top pid 1} ${top cpu 1} ${top mem 1}
${color darkgrey} ${top name 2}${alignr}${top pid 2} ${top cpu 2} ${top mem 2}
${color darkgrey} ${top name 3}${alignr}${top pid 3} ${top cpu 3} ${top mem 3}

${alignc}${color white}memory${color darkgrey}${font}
${hr}
${color darkgrey}RAM:${color white}${alignr}$mem/$memmax - $memperc% 
${alignr}${color darkgrey}${membar 5,100}
${color darkgrey}SWAP:${color white}${alignr}$swap/$swapmax - $swapperc% 
${alignr}${color darkgrey}${swapbar 5,100}

${color darkgrey}Mem Usage${alignr}PID:   CPU%:  MEM%: 
${color white} ${top_mem name 1}${alignr}${top_mem pid 1} ${top_mem cpu 1} 
${top_mem mem 1}
${color darkgrey} ${top_mem name 2}${alignr}${top_mem pid 2} ${top_mem cpu 2} 
${top_mem mem 2}
${color darkgrey} ${top_mem name 3}${alignr}${top_mem pid 3} ${top_mem cpu 3} 
${top_mem mem 3}

${alignc}${color white}disk${color darkgrey}${font}
${hr}
${color darkgrey}IO Reads: ${color white}${diskio_read} ${alignr}${color 
darkgrey}IO Writes: ${color white}${diskio_write}
${color darkgrey}${diskiograph_read 27,120 2d6094 b3cfec}${alignr}${color 
darkgrey}${diskiograph_write 27,120 2d6094 b3cfec}
${color darkgrey}local (benzene)${alignr}Temp: ${color white}${hddtemp /dev/sda}
${color darkgrey}  root: ${color white}${alignr}${fs_used /} / ${fs_size /}  
${color darkgrey}${fs_bar 5,68 /}
${color darkgrey}  home: ${color white}${alignr}${fs_used /home} / ${fs_size 
/home}  ${color darkgrey}${fs_bar 5,68 /home}
${color darkgrey}remote (carbon)${alignr}
${color darkgrey}  media: ${color white}${alignr}${fs_used /mnt/media} / 
${fs_size /mnt/media}  ${color darkgrey}${fs_bar 5,68 /mnt/media}
${color darkgrey}  root: ${color white}${alignr}${fs_used /mnt/carbon} / 
${fs_size /mnt/carbon}  ${color darkgrey}${fs_bar 5,68 /mnt/carbon}

${alignc}${color white}network${color darkgrey}${font}
${hr}
${color darkgrey}Local IP:${alignr}${color white}${addr eth0}
${color darkgrey}Public IP:${alignr}${color white}${execi 600 wget -O - 
http://whatismyip.org/ | tail}

${color darkgrey}Down:${color white} ${downspeed eth0} kB/s $alignr${color 
darkgrey} Up:${color white} ${upspeed eth0} kB/s
${color darkgrey}${downspeedgraph eth0 27,120 2d6094 b3cfec 1024} 
$alignr${color darkgrey}${upspeedgraph eth0 27,120 2d6094 b3cfec 125}
${color darkgrey}Total down: ${color white}${totaldown eth0}$alignr${color 
darkgrey}Total up: ${color white}${totalup eth0}


Some further background information.... I am running Ubuntu 7.10 64 Bit. I am 
using KDE with compiz-fusion running and emerald as my WM. My system is a Intel 
Q6600 CPU on an Intel P35 chipset. I have 4GB of ram, relatively generic 
branding on it.

I am not sure what other information is required but I will be more than
happy to provide it for you. Please let me know what you need.

** Affects: conky (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Conky is leaking memory at a very fast rate
https://bugs.launchpad.net/bugs/158933
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to