Results 1 to 5 of 5

Thread: var full

  1. #1
    Join Date
    Dec 2006
    Location
    Switzerland
    Posts
    16

    var full

    /var seems to be almost full but the server has only been up a couple of days. Note that the only file that seems large is /named/chroot/proc/kcore but that is not really supposed to take any disk space ... it obviously is. Does anybody know what I should do to free up space here?

    Details follow:
    [[email protected] var]# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/hda1 1.9G 700M 1.1G 40% /
    /dev/hda2 1.9G 1.6G 151M 92% /var
    /dev/hda5 1.9G 33M 1.8G 2% /tmp
    /dev/hda6 25G 303M 23G 2% /home
    none 379M 0 379M 0% /dev/shm

    [[email protected] var]# du -ha
    1.0G ./named/chroot/proc/kcore
    14M ./lib/rpm/Packages
    1.2M ./lib/rpm/Basenames
    1.3M ./lib/rpm/Filemd5s
    1.3M ./lib/rpm/__db.002
    19M ./lib/rpm
    19M ./lib/mysql/ibdata1
    5.1M ./lib/mysql/ib_logfile0
    5.1M ./lib/mysql/ib_logfile1
    4.0K ./lib/mysql/site1/active_guests.MYI
    4.0K ./lib/mysql/site1/active_guests.MYD
    4.0K ./lib/mysql/site1/active_users.MYI
    4.0K ./lib/mysql/site1/address_book.MYI
    4.0K ./lib/mysql/site1/address_book.MYD
    4.0K ./lib/mysql/site1/address_format.MYI
    4.0K ./lib/mysql/site1/address_format.MYD
    4.0K ./lib/mysql/site1/banned_users.MYI
    4.0K ./lib/mysql/site1/banners.MYI
    4.0K ./lib/mysql/site1/banners.MYD
    4.0K ./lib/mysql/site1/banners_history.MYI
    4.0K ./lib/mysql/site1/banners_history.MYD
    4.0K ./lib/mysql/site1/categories.MYI
    4.0K ./lib/mysql/site1/categories.MYD
    4.0K ./lib/mysql/site1/categories_description.MYI
    4.0K ./lib/mysql/site1/categories_description.MYD
    4.0K ./lib/mysql/site1/configuration.MYI
    24K ./lib/mysql/site1/configuration.MYD
    4.0K ./lib/mysql/site1/configuration_group.MYI
    4.0K ./lib/mysql/site1/configuration_group.MYD
    4.0K ./lib/mysql/site1/counter.MYI
    4.0K ./lib/mysql/site1/counter.MYD
    4.0K ./lib/mysql/site1/counter_history.MYI
    12K ./lib/mysql/site1/countries.MYI
    8.0K ./lib/mysql/site1/countries.MYD
    4.0K ./lib/mysql/site1/currencies.MYI
    4.0K ./lib/mysql/site1/currencies.MYD
    4.0K ./lib/mysql/site1/customers.MYI
    4.0K ./lib/mysql/site1/customers.MYD
    4.0K ./lib/mysql/site1/customers_basket.MYI
    4.0K ./lib/mysql/site1/customers_basket.MYD
    4.0K ./lib/mysql/site1/customers_basket_attributes.MYI
    4.0K ./lib/mysql/site1/customers_info.MYI
    4.0K ./lib/mysql/site1/customers_info.MYD
    4.0K ./lib/mysql/site1/geo_zones.MYI
    4.0K ./lib/mysql/site1/geo_zones.MYD
    4.0K ./lib/mysql/site1/info_about_us.MYI
    4.0K ./lib/mysql/site1/info_about_us.MYD
    4.0K ./lib/mysql/site1/info_conditions.MYI
    32K ./lib/mysql/site1/info_conditions.MYD
    4.0K ./lib/mysql/site1/info_privacy.MYI
    28K ./lib/mysql/site1/info_privacy.MYD
    4.0K ./lib/mysql/site1/info_shipping.MYI
    8.0K ./lib/mysql/site1/info_shipping.MYD
    4.0K ./lib/mysql/site1/languages.MYI
    4.0K ./lib/mysql/site1/languages.MYD
    4.0K ./lib/mysql/site1/manufacturers.MYI
    4.0K ./lib/mysql/site1/manufacturers.MYD
    4.0K ./lib/mysql/site1/manufacturers_info.MYI
    4.0K ./lib/mysql/site1/manufacturers_info.MYD
    8.0K ./lib/mysql/site1/msistuff_searchindex.MYI
    4.0K ./lib/mysql/site1/msistuff_searchindex.MYD
    4.0K ./lib/mysql/site1/msistuff_user_newtalk.MYI
    4.0K ./lib/mysql/site1/newsletters.MYI
    4.0K ./lib/mysql/site1/orders.MYI
    4.0K ./lib/mysql/site1/orders_products.MYI
    4.0K ./lib/mysql/site1/orders_products_attributes.MYI
    4.0K ./lib/mysql/site1/orders_products_download.MYI
    4.0K ./lib/mysql/site1/orders_status.MYI
    4.0K ./lib/mysql/site1/orders_status.MYD
    4.0K ./lib/mysql/site1/orders_status_history.MYI
    4.0K ./lib/mysql/site1/orders_total.MYI
    4.0K ./lib/mysql/site1/products.MYI
    4.0K ./lib/mysql/site1/products.MYD
    4.0K ./lib/mysql/site1/products_attributes.MYI
    4.0K ./lib/mysql/site1/products_attributes.MYD
    4.0K ./lib/mysql/site1/products_attributes_download.MYI
    4.0K ./lib/mysql/site1/products_attributes_download.MYD
    4.0K ./lib/mysql/site1/products_description.MYI
    48K ./lib/mysql/site1/products_description.MYD
    4.0K ./lib/mysql/site1/products_notifications.MYI
    4.0K ./lib/mysql/site1/products_options.MYI
    4.0K ./lib/mysql/site1/products_options.MYD
    4.0K ./lib/mysql/site1/products_options_values.MYI
    4.0K ./lib/mysql/site1/products_options_values.MYD
    4.0K ./lib/mysql/site1/products_options_values_to_products_options.MYI
    4.0K ./lib/mysql/site1/products_options_values_to_products_options.MYD
    4.0K ./lib/mysql/site1/products_to_categories.MYI
    4.0K ./lib/mysql/site1/products_to_categories.MYD
    4.0K ./lib/mysql/site1/reviews.MYI
    4.0K ./lib/mysql/site1/reviews.MYD
    4.0K ./lib/mysql/site1/reviews_description.MYI
    4.0K ./lib/mysql/site1/reviews_description.MYD
    8.0K ./lib/mysql/site1/sessions.MYI
    60K ./lib/mysql/site1/sessions.MYD
    4.0K ./lib/mysql/site1/specials.MYI
    4.0K ./lib/mysql/site1/specials.MYD
    4.0K ./lib/mysql/site1/tax_class.MYI
    4.0K ./lib/mysql/site1/tax_class.MYD
    4.0K ./lib/mysql/site1/tax_rates.MYI
    4.0K ./lib/mysql/site1/tax_rates.MYD
    4.0K ./lib/mysql/site1/users.MYI
    4.0K ./lib/mysql/site1/users.MYD
    4.0K ./lib/mysql/site1/whos_online.MYI
    4.0K ./lib/mysql/site1/whos_online.MYD
    4.0K ./lib/mysql/site1/zones.MYI
    8.0K ./lib/mysql/site1/zones.MYD
    4.0K ./lib/mysql/site1/zones_to_geo_zones.MYI
    4.0K ./lib/mysql/site1/zones_to_geo_zones.MYD
    1.6M ./lib/mysql/site1
    31M ./lib/mysql
    50M ./lib
    1.5M ./log/messages
    5.0M ./log/httpd/access_log
    4.2M ./log/httpd/access_log.1
    5.6M ./log/httpd/access_log.2
    6.5M ./log/httpd/access_log.3
    7.5M ./log/httpd/access_log.4
    6.5M ./log/httpd/error_log.1
    1.2M ./log/httpd/error_log.2
    37M ./log/httpd
    1.5M ./log/admserv/adm_access.2
    2.0M ./log/admserv
    3.2M ./log/messages.1
    4.0M ./log/messages.2
    49M ./log
    3.2M ./cache/yum/base/primary.xml.gz.sqlite
    3.8M ./cache/yum/base
    1.1M ./cache/yum/BlueQuartz
    5.7M ./cache/yum
    6.1M ./cache
    1.9M ./www
    1.9M ./analog-5.32/lang
    1.9M ./analog-5.32

  2. #2
    Join Date
    Jun 2006
    Posts
    88
    I can't be all that helpful, but a few ideas

    du -ha --max-depth=1 would make that a bit more readable also

    kcore (I think) is your RAM

    Clean out some of those old logs, that'll clear out a few megs.

  3. #3
    Join Date
    Dec 2006
    Location
    Switzerland
    Posts
    16
    Yes, that is the strange thing. As far as I understand kcore is my RAM but it is not supposed to take any disk space but is is taking 256M more memory than I have installed.

    [[email protected] var]# du -ha --max-depth=1
    16K ./lost+found
    50M ./lib
    45M ./log
    6.1M ./cache
    940K ./db
    8.0K ./empty
    4.0K ./local
    16K ./lock
    4.0K ./nis
    4.0K ./opt
    0 ./mail
    4.0K ./preserve
    136K ./run
    40K ./spool
    4.0K ./tmp
    4.0K ./yp
    8.0K ./crash
    4.0K ./account
    1.1G ./named
    2.0M ./www
    1.9M ./analog-5.32
    16K ./state
    16K ./ftp
    1.2G .

  4. #4
    Join Date
    Dec 2006
    Posts
    66
    The coredump occurs when a program crashes. I would recommend uninstalling chroot and reinstall it

    rpm -e bind-chroot

    restart named /etc/init.d/named restart

    check the disk usage



    If you want to reinstall 'yum install bind-chroot'
    Reverse engineering Rocks

  5. #5
    Join Date
    Dec 2006
    Location
    Switzerland
    Posts
    16
    Strangely it went back down to only 7% full on it's own.

    Your uninstall reinstall tip is a good one though and if this happens again I will do that.

    Thanks for your help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •