Owncloud is slow - how to find the bottleneck?

I performed the benchmark of my local (in LAN) OwnCloud server.
It runs on my FreeNAS in a jail.
The FreeNAS server is a HPE ProLiant Microserver Gen8, with a Intel® Celeron® G1610T (2.3Hz/2-core), 16 Gig of RAM.
I using nginx + mysql.

The result is not very good (I guess). So, what could be a problem? Or it is ‘normal’ for my environment?

ab -n 10000 -c 10 https:///
This is ApacheBench, Version 2.3 <$Revision: 1826891 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Completed 10000 requests
Finished 10000 requests

Server Software: nginx/1.11.2
Server Hostname:
Server Port: 443
SSL/TLS Protocol: TLSv1.2,ECDHE-RSA-AES256-GCM-SHA384,2048,256
TLS Server Name:

Document Path: /
Document Length: 0 bytes

Concurrency Level: 10
Time taken for tests: 300.542 seconds
Complete requests: 10000
Failed requests: 0
Non-2xx responses: 10000
Total transferred: 10440684 bytes
HTML transferred: 0 bytes
Requests per second: 33.27 [#/sec] (mean)
Time per request: 300.542 [ms] (mean)
Time per request: 30.054 [ms] (mean, across all concurrent requests)
Transfer rate: 33.93 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 26 40 16.1 44 217
Processing: 73 260 97.4 245 1648
Waiting: 73 260 97.4 244 1648
Total: 130 300 97.1 284 1747

Percentage of the requests served within a certain time (ms)
50% 284
66% 313
75% 333
80% 347
90% 390
95% 442
98% 518
99% 617
100% 1747 (longest request)

Hey,

i think you need to first know / define what “slow” is and compare your numbers with similar environments then yours.

But maybe server tuning guides like the following is already giving you some pointers where to look for performance improvements.

https://doc.owncloud.org/server/administration_manual/configuration/server/oc_server_tuning.html