Skip to content


Note: Since Seafile Server 5.0.0, all config files are moved to the central conf folder. Read More.

Ccnet is the internal RPC framework used by Seafile server and also manages the user database. A few useful options are in ccnet.conf.


# Used internally. Don't delete.

# Used internally. Don't delete.

# This is outside URL for Seahub(Seafile Web). 
# The domain part (i.e., will be used in generating share links and download/upload file via web.
# Note: Outside URL means "if you use Nginx, it should be the Nginx's address"

# Not used anymore

# Not used anymore

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:

# default to 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.

You can find ccnet_slow_rpc.log in logs/slow_logs. You can also use log-rotate 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
./ 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:

# Use larger connection pool

Changing name of table 'Group'

There is a table named 'Group' in ccnet database, however, 'Group' is the key word in some of databases, you can configure this table name to avoid conflicts if necessary: