ccnet.conf

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.

  1. [General]
  2. # Used internally. Don't delete.
  3. ID=eb812fd276432eff33bcdde7506f896eb4769da0
  4. # Used internally. Don't delete.
  5. NAME=example
  6. # This is outside URL for Seahub(Seafile Web).
  7. # The domain part (i.e., www.example.com) will be used in generating share links and download/upload file via web.
  8. # Note: Outside URL means "if you use Nginx, it should be the Nginx's address"
  9. SERVICE_URL=http://www.example.com:8000
  10. [Network]
  11. # Not used anymore
  12. PORT=10001
  13. [Client]
  14. # Not used anymore
  15. PORT=13419

Note: You should restart seafile so that your changes take effect.

  1. cd seafile-server
  2. ./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:

  1. [Database]
  2. ......
  3. # Use larger connection pool
  4. MAX_CONNECTIONS = 200