Very slow server

Ask all your questions regarding OC 8.0 and 8.1 Please read the Support Forum Rules
Forum rules
The forums were migrated over to https://central.owncloud.org which is based on the forum software Discourse. The forums here is put into read-only mode starting from today.

More background information about this move and the reasoning behind it is available in this blogpost:

https://daniel.molkentin.net/2016/07/20 ... d-central/
OlivierT82
Newbie
Posts: 1
Joined: Thu Dec 10, 2015 3:44 pm
ownCloud version: 8.2.1
Webserver: Apache
Database: SQLite
OS: Linux
PHP version: 5.5.9

Very slow server

Postby OlivierT82 » Thu Dec 10, 2015 3:51 pm

Hello,
I have my server is very slow when I upload files or that I use the customer owncloud
I looked at the logs in administration, and here is what I found:
Warning and Safety
The HTTP header "Strict-Transport-Security" is not set to "15768000" seconds. For additional security we recommend activating HSTS as described in our Guide to strengthening and security.

The transactional lock files uses the database. For best performance it is recommended to use memcached instead. ↗ Check the documentation for more information.
No cache memory is configured. If possible, set up a "memcached" to increase performance. For more information see the documentation

Logs:
Memcached \ CB \ memcached \ APCU not available for local cache 2015-12-09T14: 44: 11 + 00: 00
Fatal Exception webdav: {"message": "HTTP \ /1.1 503 OC \\ HintException: Memcache Memcache \\ \\ \\ OC APCU not available for local cache", "Exception": "Sabre \\ \\ DAV Exception \ \ ServiceUnavailable "," code ": 0," Trace ":" # 0 [internal function]: {} closure (Object (Sabre \\ \\ HTTP Request), Object (Sabre \\ \\ HTTP Response)) \ n # 1 \ / home \ / cloud \ / public_html \ / 3rdparty \ / sword \ / event \ / lib \ /EventEmitterTrait.php (105): call_user_func_array (Object (Closure) Array) \ n # 2 \ / home \ / cloud \ / public_html \ / 3rdparty \ / sword \ / dav \ / lib \ / DAV \ /Server.php (456): Sabre \\ \\ Event EventEmitter-> emit ('beforeMethod' Array) \ n # 3 \ /home\/cloud\/public_html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre \\ \\ Server- DAV> invokeMethod (Object (HTTP Sabre \\ \ \ Request), Object (Sabre \\ \\ HTTP Response)) \ n # 4 \ / home \ / cloud \ / public_html \ /remote.php (68) Sabre \\ \\ Server- DAV> exec () \ 5 n # \ / home \ / cloud \ / public_html \ /remote.php (140): HandleException (Object (OC \\ HintException)) \ n # 6 {main} "," File ":" \ / home \ / cloud \ / public_html \ /remote.php "," Line ": 66} 2015-12-09T14: 43: 37 + 00: 00
Error core Exception: {"Exception": "\\ HintException OC", "Message": "memcached memcached \\ \\ \\ OC APCU not available for local cache", "code": 0, "Trace": "# 0 \ / home \ / cloud \ / public_html \ / lib \ / private \ /server.php (268): OC \\ \\ memcached Factory -> __ construct ('dcaafc4d2884fb1 ...', Object (OC \\ Log) '\\ OC \\ \\ AP Memcache ...', '\\ OC \\ \\ memcached Me ...', NULL) \ n # 1 \ / home \ / cloud \ / public_html \ / 3rdparty \ /pimple\/pimple\/src\/Pimple\/Container.php(112): \\ Server-OC> OC \\ {} closure (Object (OC \\ Server)) \ n # 2 \ / home \ / cloud \ / public_html \ / lib \ / private \ / appframework \ / utility \ /simplecontainer.php (104): \\ Pimple Container-> offsetGet ('MemCacheFactory') \ n # 3 \ / home \ / cloud \ / public_html \ / lib \ / private \ /server.php (753): OC \\ \\ AppFramework Utility SimpleContainer- \\> query ('MemCacheFactory') \ n # 4 \ / home \ / cloud \ / public_html \ / lib \ /private\/server.php(242): OC \\ Server-> getMemCacheFactory () \ n # 5 \ / home \ / cloud \ / public_html \ / 3rdparty \ / pimple \ / pimple \ / src \ / Pimple \ / Container.php (112): OC \\ Server-> OC \\ {} closure (Object (OC \\ Server)) \ n # 6 \ / home \ / cloud \ / public_html \ / lib \ / private \ / appframework \ / utility \ /simplecontainer.php (104): \\ Pimple Container-> offsetGet ('URLGenerator') \ n # 7 \ / home \ / cloud \ / public_html \ / lib \ / private \ /server.php (726 ): OC \\ \\ AppFramework Utility SimpleContainer- \\> query ('URLGenerator') \ n # 8 \ / home \ / cloud \ / public_html \ / lib \ / private \ /helper.php (174): OC \ \ Server-> getURLGenerator () \ n # 9 \ / home \ / cloud \ / public_html \ / lib \ / private \ / template \ /functions.php (169) :: OC_Helper imagePath ('', 'favicon.png ') \ n # 10 \ / home \ / cloud \ / public_html \ / core \ / templates \ /layout.guest.php (15): image_path (' ',' favicon.png ') \ n # 11 \ / home \ / cloud \ / public_html \ / lib \ / private \ / template \ /base.php (160): include ('\ / home \ / cloud \ / pub ...') \ n # 12 \ / home \ / cloud \ / public_html \ / lib \ / private \ / template \ /base.php (138): OC \\ \\ Template Base-> load ('\ / home \ / cloud \ / pub ...') \ n # 13 \ / home \ / cloud \ / public_html \ / lib \ / private \ /template.php (211): OC \\ \\ Template Base-> fetchPage () \ n # 14 \ / home \ / cloud \ / public_html \ / lib \ / private \ /template.php (233): OC_Template-> fetchPage () \ n # 15 \ / home \ / cloud \ / public_html \ / lib \ / private \ / template \ /base.php ( 121): OC_Template-> fetchPage () \ n # 16 \ / home \ / cloud \ / public_html \ / lib \ / private \ /template.php (338): OC \\ \\ Template Base-> printPage () \ n # 17 [internal function]: OC_Template :: printExceptionErrorPage (Object (OC \\ HintException)) \ n # 18 {main} "," File ":" \ / home \ / cloud \ / public_html \ / lib \ / private \ / memcached \ /factory.php "," Line ": 94}

I made several different research and testing without success

do you have an idea of ​​the problem?

I count on you

good day

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: Very slow server

Postby RealRancor » Thu Dec 10, 2015 4:59 pm

Hi,

please configure file locking and a memchache like described in the oC docs (you get pointed there by the messages):

https://doc.owncloud.org/server/8.2/adm ... ation.html
https://doc.owncloud.org/server/8.2/adm ... ional.html
*gone*


  • Similar Topics
    Replies
    Views
    Last post

Return to “ownCloud Server 8.0 and 8.1”

Who is online

Users browsing this forum: No registered users and 1 guest