mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-18 12:47:04 +01:00
23 lines
728 B
Markdown
23 lines
728 B
Markdown
|
+++
|
||
|
date = "2015-12-02T13:18:00+03:00"
|
||
|
author = "Alan Orth"
|
||
|
title = "December, 2015"
|
||
|
tags = ["notes"]
|
||
|
image = "../images/bg.jpg"
|
||
|
|
||
|
+++
|
||
|
## 2015-12-02
|
||
|
|
||
|
- Replace `lzop` with `xz` in log compression cron jobs on DSpace Test—it uses less space:
|
||
|
|
||
|
```
|
||
|
# cd /home/dspacetest.cgiar.org/log
|
||
|
# ls -lh dspace.log.2015-11-18*
|
||
|
-rw-rw-r-- 1 tomcat7 tomcat7 2.0M Nov 18 23:59 dspace.log.2015-11-18
|
||
|
-rw-rw-r-- 1 tomcat7 tomcat7 387K Nov 18 23:59 dspace.log.2015-11-18.lzo
|
||
|
-rw-rw-r-- 1 tomcat7 tomcat7 169K Nov 18 23:59 dspace.log.2015-11-18.xz
|
||
|
```
|
||
|
|
||
|
- I had used lrzip once, but it needs more memory and is harder to use as it requires the lrztar wrapper
|
||
|
- Need to remember to go check if everything is ok in a few days and then change CGSpace
|