[RAS] nebka disk
Thomas Krichel
krichel at openlib.org
Mon Jun 7 21:22:44 CDT 2010
Christian Zimmermann writes
> Usage is steadily increasing by several % a day, now at 93%. I will
> be leaving for travel across Europe tomorrow and will not be able to
> monitor the situation. Please watch it and act if necessary. Note
> that I have no idea what is taking so much space now.
One thing is the sql log
aras at nebka:~/acis$ ls -lt | less
aras at nebka:~/acis$ rid stop
Killing control_daemon with pid 2759
aras at nebka:~/acis$ rm sql.log
aras at nebka:~/acis$ rid start
going to start RI daemon (/home/aras/acis/bin/control_daemon.pl)
done
aras at nebka:~/acis$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 134574084 108562820 19175208 85% /
tmpfs 1558300 0 1558300 0% /lib/init/rw
udev 10240 584 9656 6% /dev
tmpfs 1558300 4 1558296 1% /dev/shm
The other thing to make sure is that the sql log is moved
into an opt directory, preventing it from being backed up.
aras at nebka:~/acis/lib$ grep -r sql.log .
./ARDB.pm: sql_helper -> set_log_filename ( $home . '/sql.log' );
./Web/App.pm.bak: sql_helper -> set_log_filename ( $self ->{home} . '/sql.log' );
./ACIS/Web.pm: $class -> set_log_filename ( $self ->{home} . '/sql.log' );
./ACIS/ShortIDs.pm: logfile => $home_dir . '/sql.log',
./ARDB/Setup.pm: sql_helper -> set_log_filename ( $home . '/sql.log' );
./ARDB.pm.bak: sql_helper -> set_log_filename ( $home . '/sql.log' );
aras at nebka:~/acis/lib$ e ARDB.pm
aras at nebka:~/acis/lib$ e ACIS/Web.pm
aras at nebka:~/acis/lib$ e ARDB/Setup.pm
aras at nebka:~/acis/lib$ e ACIS/ShortIDs.pm
aras at nebka:~/acis/lib$ grep -r sql.log .
./ARDB.pm: sql_helper -> set_log_filename ( $home . '/opt/sql.log' );
./ARDB.pm~: sql_helper -> set_log_filename ( $home . '/sql.log' );
./Web/App.pm.bak: sql_helper -> set_log_filename ( $self ->{home} . '/sql.log' );
./ACIS/ShortIDs.pm~: logfile => $home_dir . '/sql.log',
./ACIS/Web.pm: $class -> set_log_filename ( $self ->{home} . '/opt/sql.log' );
./ACIS/ShortIDs.pm: logfile => $home_dir . '/opt/sql.log',
./ACIS/Web.pm~: $class -> set_log_filename ( $self ->{home} . '/sql.log' );
./ARDB/Setup.pm: sql_helper -> set_log_filename ( $home . '/opt/sql.log' );
./ARDB/Setup.pm~: sql_helper -> set_log_filename ( $home . '/sql.log' );
./ARDB.pm.bak: sql_helper -> set_log_filename ( $home . '/sql.log' );
Cheers,
Thomas Krichel http://openlib.org/home/krichel
http://authorclaim.org/profile/pkr1
skype: thomaskrichel
More information about the RAS-run
mailing list