diff --git a/manual/config/README.md b/manual/config/README.md index 9f983bc2..a50a16f4 100644 --- a/manual/config/README.md +++ b/manual/config/README.md @@ -2,8 +2,6 @@ ## Config Files -**Important**: Since Seafile Server 5.0.0, all config files are moved to the central **conf** folder. [Read More](../deploy/new_directory_layout_5_0_0.md). - There are three config files in the community edition: * [ccnet.conf](ccnet-conf.md): contains the LDAP settings diff --git a/manual/config/ccnet-conf.md b/manual/config/ccnet-conf.md index 27f1a5a5..427639a1 100644 --- a/manual/config/ccnet-conf.md +++ b/manual/config/ccnet-conf.md @@ -1,8 +1,7 @@ # ccnet.conf -**Note**: Since Seafile Server 5.0.0, all config files are moved to the central **conf** folder. [Read More](../deploy/new_directory_layout_5_0_0.md). -Ccnet is the internal RPC framework used by Seafile server and also manages the user database. A few useful options are in ccnet.conf. +Ccnet is the internal RPC framework used by Seafile server and also manages the user database. A few useful options are in ccnet.conf. Ccnet component is merged into seaf-server in version 7.1, but the configuration file are still needed. ``` [General] @@ -29,32 +28,6 @@ PORT=13419 ``` -## Enabled Slow Log - -Since Seafile-pro-6.3.10, you can enable ccnet-server's RPC slow log to do performance analysis. The slow log is enabled by default. - -If you want to configure related options, add the options to ccnet.conf: - -``` -[Slow_log] -# default to true -ENABLE_SLOW_LOG = true -# the unit of all slow log thresholds is millisecond. -# default to 5000 milliseconds, only RPC queries processed for longer than 5000 milliseconds will be logged. -RPC_SLOW_THRESHOLD = 5000 - -``` - -You can find `ccnet_slow_rpc.log` in `logs/slow_logs`. You can also use [log-rotate](../deploy/using_logrotate.md) to rotate the log files. You just need to send `SIGUSR2` to `ccnet-server` process. The slow log file will be closed and reopened. - -**Note**: You should restart seafile so that your changes take effect. - -``` -cd seafile-server -./seafile.sh restart - -``` - ## Changing MySQL Connection Pool Size When you configure ccnet to use MySQL, the default connection pool size is 100, which should be enough for most use cases. You can change this value by adding following options to ccnet.conf: diff --git a/manual/config/seafevents-conf.md b/manual/config/seafevents-conf.md index 448344db..6c7b1d1b 100644 --- a/manual/config/seafevents-conf.md +++ b/manual/config/seafevents-conf.md @@ -1,7 +1,5 @@ # Configurable Options -**Note**: Since Seafile Server 5.0.0, all config files have been moved to the central **conf** folder. [Read More](../deploy/new_directory_layout_5_0_0.md). - In the file `seafevents.conf`: ```