Код: Выделить всё
[root@brabus /usr/home/floor12]# du -hs /var
1.6G /varКод: Выделить всё
[root@brabus /usr/home/floor12]# df -H|grep /var
/dev/ad8s1d 10G 9.3G -936k 100% /var
Модератор: terminus
Код: Выделить всё
[root@brabus /usr/home/floor12]# du -hs /var
1.6G /varКод: Выделить всё
[root@brabus /usr/home/floor12]# df -H|grep /var
/dev/ad8s1d 10G 9.3G -936k 100% /var
Код: Выделить всё
1. в сингле отмонтировали (или не монтировали вовсе) /var
2. fsck -y /dev/диск_с_varа диск то при чём? это косяк файловой системы, а не дискаfloor12 писал(а):диске никаких ошибок нет 8(
выложи плизfloor12 писал(а): du -hs /var
Код: Выделить всё
du -d1 -h /varищи какой сервис его душитfloor12 писал(а):Если остановить все сервисы, отмонтировать и подмонтировать диск снова, то размер нормальные, через 3 минуты после запуска сервисов - опять полный.
Код: Выделить всё
# du -d1 -h /var
2.0K /var/.snap
2.0K /var/account
6.0K /var/at
2.0K /var/audit
20K /var/backups
292M /var/crash
58K /var/cron
8.9M /var/db
2.0K /var/empty
2.0K /var/games
2.0K /var/heimdal
6.0K /var/lib
319M /var/log
104K /var/logs
106K /var/lost+found
2.0K /var/mail
4.0K /var/msgs
153K /var/named
2.0K /var/preserve
84K /var/run
2.0K /var/rwho
9.2M /var/spool
2.0K /var/test
211M /var/tmp
8.0K /var/ucd-snmp
52M /var/www
22K /var/yp
892M /var
Код: Выделить всё
# df -H
Filesystem Size Used Avail Capacity Mounted on
/dev/ad6s1a 520M 185M 293M 39% /
devfs 1.0k 1.0k 0B 100% /dev
/dev/ad6s1e 520M 8.7M 470M 2% /tmp
/dev/ad6s1f 302G 83G 195G 30% /usr
procfs 4.1k 4.1k 0B 100% /proc
/dev/ad8s1e 30G 2.2G 26G 8% /mysql
/dev/ad8s1f 202G 113G 72G 61% /backup
/dev/ad8s1d 10G 4.7G 4.6G 50% /var
devfs 1.0k 1.0k 0B 100% /var/named/dev
А как это определить? поочерёдно включая сервисы? lsof здесь не поможет я думаю )zg писал(а):ищи какой сервис его душит
да, и ещё выложиfloor12 писал(а):А как это определить? поочерёдно включая сервисы?
Код: Выделить всё
pkg_infoКод: Выделить всё
# pkg_info
ZendOptimizer-3.3.0.a An optimizer for PHP code
amanda-client-2.5.1p3_3,1 The Advanced Maryland Automatic Network Disk Archiver (clie
amanda-server-2.5.1p3_5,1 The Advanced Maryland Automatic Network Disk Archiver (serv
apache-2.2.9_5 Version 2.2.x of Apache web server with prefork MPM.
autoconf-2.62 Automatically configure source code on many Un*x platforms
autoconf-wrapper-20071109 Wrapper script for GNU autoconf
bash-3.2.39_1 The GNU Project's Bourne Again SHell
bdftopcf-1.0.1 Convert X font from BDF to PCF
bigreqsproto-1.0.2 BigReqs extension headers
bison-2.3_4,1 A parser generator from FSF, (mostly) compatible with Yacc
bitstream-vera-1.10_4 Bitstream Vera TrueType font collection
bsdpan-DB_File-1.815 DB_File - Perl5 access to Berkeley DB version 1.x
bsdpan-Digest-1.15 Digest - Modules that calculate message digests
bsdpan-Digest-SHA1-2.11 Digest::SHA1 - Perl interface to the SHA-1 algorithm
bsdpan-HTML-Parser-3.56 HTML::Parser - HTML parser class
bsdpan-IO-Socket-SSL-1.06 IO::Socket::SSL -- Nearly transparent SSL encapsulation for
bsdpan-Mail-SpamAssassin-3.002005 Mail::SpamAssassin - Spam detector and markup engine
bsdpan-Net-CIDR-Lite-0.20 Net::CIDR::Lite - Perl extension for merging IPv4 or IPv6 C
bsdpan-Net-DNS-0.60 Net::DNS - Perl interface to the DNS resolver
bsdpan-Net-IP-1.25 Net::IP - Perl extension for manipulating IPv4/IPv6 address
bsdpan-Net_SSLeay.pm-1.30 Net::SSLeay - Perl extension for using OpenSSL
bsdpan-Storable-2.16 Storable - persistence for Perl data structures
bsdpan-Sys-Hostname-Long-1.4 Sys::Hostname::Long - Try every conceivable way to get full
bsdpan-URI-1.35 URI - Uniform Resource Identifiers (absolute and relative)
cacti-0.8.7b.2_2 Web-driven graphing interface for RRDTool
cairo-1.6.4_2,1 Vector graphics library with cross-device output support
colorize-0.3.4 A robust log colorizer
compat6x-i386-6.3.603000.200801 A convenience package to install the compat6x libraries
encodings-1.0.2,1 X.Org Encoding fonts
exim-4.69-1 exim 4.69 mail server
expat-2.0.1 XML 1.0 parser written in C
font-bh-ttf-1.0.0 X.Org Bigelow & Holmes TTF font
font-misc-ethiopic-1.0.0 X.Org miscellaneous Ethiopic font
font-misc-meltho-1.0.0_1 X.Org miscellaneous Meltho font
font-util-1.0.1 Create an index of X font files in a directory
fontcacheproto-0.1.2 Fontcache extension headers
fontconfig-2.5.0,1 An XML-based font configuration API for X Windows
fontsproto-2.0.2 Fonts extension headers
freetype2-2.3.5 A free and portable TrueType font rendering engine
gamin-0.1.9_2 A file and directory monitoring system
gd-2.0.35,1 A graphics library for fast creation of images
gettext-0.17_1 GNU gettext package
gio-fam-backend-2.16.5 FAM backend for GLib's GIO library
glib-2.16.5 Some useful routines of C programming (current stable versi
gmake-3.81_3 GNU version of 'make' utility
gtar-1.20_1 GNU version of the traditional tape archiver
help2man-1.36.4_2 Automatically generating simple manual pages from program o
inputproto-1.4.2.1 Input extension headers
jpeg-6b_4 IJG's jpeg compression utilities
kbproto-1.0.3 KB extension headers
libICE-1.0.4_1,1 Inter Client Exchange library for X11
libSM-1.0.3_1,1 Session Management library for X11
libX11-1.1.3_1,1 X11 library
libXau-1.0.3_2 Authentication Protocol library for X11
libXaw-1.0.4_1,1 X Athena Widgets library
libXdmcp-1.0.2_1 X Display Manager Control Protocol library
libXext-1.0.3,1 X11 Extension library
libXfont-1.3.1_3,1 X font libary
libXft-2.1.13 A client-sided font API for X applications
libXmu-1.0.3,1 X Miscellaneous Utilities libraries
libXp-1.0.0,1 X print library
libXpm-3.5.7 X Pixmap library
libXrender-0.9.4_1 X Render extension library
libXt-1.0.5_1 X Toolkit library
libfontenc-1.0.4 The fontenc Library
libiconv-1.11_1 A character set conversion library
libltdl-1.5.26 System independent dlopen wrapper
libslang2-2.1.3 Routines for rapid alpha-numeric terminal applications deve
libtool-1.5.26 Generic shared library support script
libxml2-2.6.32 XML parser library for GNOME
lsof-4.79D Lists information about open files (similar to fstat(1))
lynx-2.8.6.5_4,1 A non-graphical, text-based World-Wide Web client
lzmautils-4.32.7 LZMA compression and decompression tools
m4-1.4.11,1 GNU m4
mc-4.6.1_8 Midnight Commander, a free Norton Commander Clone
mkfontdir-1.0.3_1 Create an index of X font files in a directory
mkfontscale-1.0.3 Creates an index of scalable font files for X
mod_rpaf-ap2-0.6 Make proxied requests appear with client IP
monit-4.10.1 Unix system management and monitoring
mysql-client-5.0.67 Multithreaded SQL database (client)
mytop-1.6_4 A top clone for MySQL
nginx-0.6.32 Robust and small WWW server
p5-Authen-SASL-2.12 Perl5 module for SASL authentication
p5-Cache-2.04_1 A Perl Cache interface
p5-Cache-Cache-1.05_1 Cache::Cache -- Perl Cache interface
p5-Compress-Raw-Zlib-2.015 Low-Level Interface to zlib compression library
p5-Compress-Zlib-2.015 Perl5 interface to zlib compression library
p5-DBD-mysql-4.006 MySQL driver for the Perl5 Database Interface (DBI)
p5-DBI-1.60.4 The perl5 Database Interface. Required for DBD::* modules
p5-Digest-HMAC-1.01 Perl5 interface to HMAC Message-Digest Algorithms
p5-Digest-MD5-2.36_1 Perl5 interface to the MD5 algorithm
p5-Digest-SHA1-2.11 Perl interface to the SHA-1 Algorithm
p5-Error-0.17015 Perl module to provide Error/exception support for perl: Er
p5-File-NFSLock-1.20 File::NFSLock - perl module to do NFS (or not) locking
p5-GSSAPI-0.26 Perl extension providing access to the GSSAPIv2 library
p5-Heap-0.80 Perl extensions for keeping data partially sorted
p5-IO-Compress-Base-2.015 Base Class for IO::Uncompress modules
p5-IO-Compress-Zlib-2.015 Perl5 interface for reading and writing of (g)zip files
p5-IO-String-1.08 Simplified Perl5 module to handle I/O on in-core strings
p5-IPC-ShareLite-0.13 A simple interface to access shared memory
p5-LWP-UserAgent-WithCache-0.06_1 LWP::UserAgent extension with local cache
p5-MIME-Base64-3.07 Perl5 module for Base64 and Quoted-Printable encodings
p5-Net-1.22,1 Perl5 modules to access and use network protocols
p5-Storable-2.18 Persistency for perl data structures
p5-Term-ANSIColor-1.12 Color screen output using ANSI escape sequences
p5-Term-ReadKey-2.30 A perl5 module for simple terminal control
p5-TimeDate-1.16,1 Perl5 module containing a better/faster date parser for abs
p5-gettext-1.05_1 Message handling functions
p5-libwww-5.814 Perl5 library for WWW access
pango-1.20.5 An open-source framework for the layout and rendering of i1
pcre-7.7_1 Perl Compatible Regular Expressions library
pdflib-7.0.2 A C library for dynamically generating PDF
pecl-pdflib-2.1.5 A PECL extension to create PDF on the fly
perl-5.8.8_1 Practical Extraction and Report Language
php5-5.2.6_2 PHP Scripting Language
php5-bz2-5.2.6_2 The bz2 shared extension for php
php5-ctype-5.2.6_2 The ctype shared extension for php
php5-gd-5.2.6_2 The gd shared extension for php
php5-mbstring-5.2.6_2 The mbstring shared extension for php
php5-mcrypt-5.2.6_2 The mcrypt shared extension for php
php5-mysql-5.2.6_2 The mysql shared extension for php
php5-openssl-5.2.6_2 The openssl shared extension for php
php5-pcre-5.2.6_2 The pcre shared extension for php
php5-session-5.2.6_2 The session shared extension for php
php5-snmp-5.2.6_2 The snmp shared extension for php
php5-sockets-5.2.6_2 The sockets shared extension for php
php5-xml-5.2.6_2 The xml shared extension for php
php5-zlib-5.2.6_2 The zlib shared extension for php
phpMyAdmin-2.11.9.1 A set of PHP-scripts to manage MySQL over the web
pixman-0.10.0_2 Low-level pixel manipulation library
pkg-config-0.23_1 A utility to retrieve information about installed libraries
png-1.2.31 Library for manipulating PNG images
portupgrade-2.4.6,2 FreeBSD ports/packages administration and management tool s
printproto-1.0.3 Print extension headers
proftpd-1.3.1 Highly configurable ftp daemon
python25-2.5.2_3 An interpreted object-oriented programming language
renderproto-0.9.3 RenderProto protocol headers
rinetd-0.62_3 A simple TCP port redirector
rrdtool-1.3.1 Round Robin Database Tools
ruby-1.8.6.287,1 An object-oriented interpreted scripting language
scrnsaverproto-1.1.0 ScrnSaver extension headers
sudo-1.6.9.17 Allow others to run commands as root
t1lib-5.1.2,1 A Type 1 Rasterizer Library for UNIX/X11
ucd-snmp-4.2.7.1 An extendable SNMP implementation
unrar-3.80.b2,5 Extract, view & test RAR archives
unzip-5.52_5 List, test and extract compressed files in a ZIP archive
videoproto-2.2.2 Video extension headers
vm-pop3d-1.1.7f A virtual POP3 server
wget-1.11.2_1 Retrieve files from the Net via HTTP(S) and FTP
xcmiscproto-1.1.2 XCMisc extension headers
xextproto-7.0.2 XExt extension headers
xf86bigfontproto-1.1.2 XFree86-Bigfont extension headers
xf86dgaproto-2.0.3 XFree86-DGA extension headers
xf86miscproto-0.9.2 XFree86-Misc extension headers
xf86vidmodeproto-2.2.2 XFree86-VidModeExtension extension headers
xineramaproto-1.1.2 Xinerama extension headers
xorg-fonts-truetype-7.3 X.Org TrueType fonts
xproto-7.0.10_1 X11 protocol headers
xtrans-1.0.4 Abstract network code for X
там даже при удалении файлов информация о свободном месте идёт с задержкой... я про такое честно говоря не слышалfloor12 писал(а):в реальном времени наблюдать за размером раздела?
Код: Выделить всё
lsof +aL1 /varКод: Выделить всё
# lsof +aL1 /var
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NLINK NODE NAME
nginx 620 apache 46u VREG 0,87 150491136 0 1224869 /var (/dev/ad8s1d)
nginx 620 apache 50u VREG 0,87 1073729536 0 1248427 /var (/dev/ad8s1d)
nginx 620 apache 74u VREG 0,87 65536 0 1224873 /var (/dev/ad8s1d)
nginx 620 apache 132u VREG 0,87 846684160 0 1224868 /var (/dev/ad8s1d)
nginx 620 apache 219u VREG 0,87 1073741824 0 47320 /var (/dev/ad8s1d)
nginx 620 apache 228u VREG 0,87 2396160 0 47319 /var (/dev/ad8s1d)
nginx 620 apache 252u VREG 0,87 1073729536 0 1201791 /var (/dev/ad8s1d)
nginx 620 apache 257u VREG 0,87 492519424 0 1224872 /var (/dev/ad8s1d)
nginx 620 apache 306u VREG 0,87 218636288 0 23714 /var (/dev/ad8s1d)
nginx 620 apache 326u VREG 0,87 739209216 0 1224871 /var (/dev/ad8s1d)
nginx 620 apache 385u VREG 0,87 889286656 0 47318 /var (/dev/ad8s1d)
nginx 620 apache 410u VREG 0,87 943742976 0 166 /var (/dev/ad8s1d)
nginx 620 apache 456u VREG 0,87 125300736 0 23715 /var (/dev/ad8s1d)
nginx 620 apache 541u VREG 0,87 758988800 0 1224867 /var (/dev/ad8s1d)
nginx 620 apache 589u VREG 0,87 5906432 0 1224866 /var (/dev/ad8s1d)
nginx 620 apache 605u VREG 0,87 2883584 0 1224870 /var (/dev/ad8s1d)
httpd 47700 apache 225w VREG 0,87 0 0 989213 /var (/dev/ad8s1d)
httpd 47801 apache 225w VREG 0,87 0 0 989213 /var (/dev/ad8s1d)
httpd 47974 apache 225w VREG 0,87 0 0 989213 /var (/dev/ad8s1d)
httpd 47975 apache 225w VREG 0,87 0 0 989213 /var (/dev/ad8s1d)
httpd 48075 apache 225w VREG 0,87 0 0 989213 /var (/dev/ad8s1d)
httpd 48087 apache 225w VREG 0,87 0 0 989213 /var (/dev/ad8s1d)
httpd 48216 apache 225w VREG 0,87 0 0 989213 /var (/dev/ad8s1d)
httpd 48747 apache 225w VREG 0,87 0 0 989213 /var (/dev/ad8s1d)
httpd 48749 apache 225w VREG 0,87 0 0 989213 /var (/dev/ad8s1d)
httpd 48833 apache 225w VREG 0,87 0 0 989213 /var (/dev/ad8s1d)
httpd 48845 apache 225w VREG 0,87 0 0 989213 /var (/dev/ad8s1d)
httpd 48885 apache 225w VREG 0,87 0 0 989213 /var (/dev/ad8s1d)
httpd 54656 root 225w VREG 0,87 0 0 989213 /var (/dev/ad8s1d)
Код: Выделить всё
# df -H|grep var
/dev/ad8s1d 10G 8.8G 573M 94% /var
# du -hs /var
861M /var
Код: Выделить всё
]# df -H|grep var
/dev/ad8s1d 10G 9.3G 49M 99% /var
Код: Выделить всё
]# df -H|grep var
/dev/ad8s1d 10G 7.7G 1.6G 83% /var
Код: Выделить всё
du -sch /var/logлоги не смотрел?zg писал(а):в логах апача ничего подозрительного нет?
и видимо не вырубал....zg писал(а):попробуй его вырубить и понаблюдать.
появилась недавно.(process:92107): Pango-CRITICAL **: pango_context_load_font: assertion `pango_font_description_get_family (desc) != NULL' failed
Код: Выделить всё
[root@brabus /]# df -H|grep ad8s1d
/dev/ad8s1d 10G 5.2G 4.2G 55% /var
[root@brabus /]# /usr/local/etc/rc.d/nginx restart
Stopping nginx.
Waiting for PIDS: 98434.
Starting nginx.
[root@brabus /]# df -H|grep ad8s1d
/dev/ad8s1d 10G 1.1G 8.2G 12% /var
[root@brabus /]#
Код: Выделить всё
find /var -type f |xargs ls -s | sort -rn