-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmapbug
Description
Steps to reproduce
- When https://apps.nextcloud.com/api/v1/apps.json is not reachable.
- Nextcloud is slow responsible.
- Check log file.
- Found huge lines there so that log with 90 lines is around 20 MB. Example attached with few lines only.
Expected behaviour
Not full trace is writen into the logs.
Actual behaviour
Huge file with not needed information.
NC is not responsible, because php is quite busy:
# top -b -n 1 | head -n 25
top - 12:52:29 up 90 days, 3:20, 1 user, load average: 6.37, 7.06, 6.05
Tasks: 146 total, 12 running, 85 sleeping, 0 stopped, 0 zombie
%Cpu(s): 12.1 us, 10.0 sy, 0.1 ni, 76.3 id, 1.2 wa, 0.0 hi, 0.3 si, 0.0 st
KiB Mem : 2058420 total, 73772 free, 1268080 used, 716568 buff/cache
KiB Swap: 1029208 total, 108412 free, 920796 used. 690492 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
12502 www-data 20 0 283816 60892 32288 R 18.5 3.0 7:39.90 php-fpm7.3
13076 www-data 20 0 279840 58040 32244 R 18.5 2.8 6:08.41 php-fpm7.3
Server configuration
Operating system: Ubuntu 18.04
Web server: Apache/2.4.41
Database: 10.1.43-MariaDB
PHP version: 7.3.12
Nextcloud version: 16.0.6
Updated from an older Nextcloud/ownCloud or fresh install: update
Where did you install Nextcloud from: official
Signing status:
Signing status
No errors have been found.
List of activated apps:
App list
Enabled:
- accessibility: 1.2.0
- activity: 2.9.1
- admin_audit: 1.6.0
- audioplayer: 2.8.4
- bruteforcesettings: 1.4.0
- calendar: 1.7.1
- checksum: 0.4.3
- cloud_federation_api: 0.2.0
- comments: 1.6.0
- data_request: 1.3.0
- dav: 1.9.2
- deck: 0.6.6
- federatedfilesharing: 1.6.0
- federation: 1.6.0
- files: 1.11.0
- files_automatedtagging: 1.6.0
- files_external: 1.7.0
- files_pdfviewer: 1.5.0
- files_retention: 1.5.1
- files_rightclick: 0.15.1
- files_sharing: 1.8.0
- files_texteditor: 2.8.0
- files_trashbin: 1.6.0
- files_versions: 1.9.0
- files_videoplayer: 1.5.0
- firstrunwizard: 2.5.0
- flowupload: 0.1.7
- gallery: 18.3.0
- gpxpod: 4.1.0
- keeweb: 0.5.1
- logreader: 2.1.0
- lookup_server_connector: 1.4.0
- mail: 0.17.0
- maps: 0.1.2
- nextcloud_announcements: 1.5.0
- notes: 3.0.3
- notifications: 2.4.1
- oauth2: 1.4.2
- password_policy: 1.6.0
- phonetrack: 0.5.2
- polls: 0.10.4
- previewgenerator: 2.1.0
- privacy: 1.0.0
- provisioning_api: 1.6.0
- radio: 0.6.5
- recommendations: 0.4.0
- serverinfo: 1.6.0
- sharebymail: 1.6.0
- survey_client: 1.4.0
- systemtags: 1.6.0
- theming: 1.7.0
- twofactor_backupcodes: 1.5.0
- twofactor_totp: 3.0.1
- unsplash: 1.1.4
- updatenotification: 1.6.0
- viewer: 1.2.0
- weather: 1.6.4
- workflowengine: 1.6.0
Disabled:
- encryption
- impersonate
- sharerenamer
- support
- user_ldap
- workflow_script
Nextcloud configuration:
Config report
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": {
"0": "***REMOVED SENSITIVE VALUE***",
"2": "***REMOVED SENSITIVE VALUE***"
},
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "16.0.6.1",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"filesystem_check_changes": 0,
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.locking": "\\OC\\Memcache\\Redis",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379,
"timeout": 1.5
},
"mail_smtpmode": "smtp",
"mail_smtpauthtype": "LOGIN",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"maintenance": false,
"theme": "",
"logfile": "\/var\/nextcloud\/data\/nextcloud.log",
"loglevel": 1,
"trashbin_retention_obligation": "14, auto",
"versions_retention_obligation": "14, 180",
"data-fingerprint": "***REMOVED SENSITIVE VALUE***",
"enable_previews": true,
"enabledPreviewProviders": [
"OC\\Preview\\PNG",
"OC\\Preview\\JPEG",
"OC\\Preview\\GIF",
"OC\\Preview\\BMP",
"OC\\Preview\\XBitmap",
"OC\\Preview\\Movie",
"OC\\Preview\\PDF",
"OC\\Preview\\MP3",
"OC\\Preview\\TXT",
"OC\\Preview\\MarkDown"
],
"preview_max_x": 1080,
"preview_max_y": 1920,
"auth.bruteforce.protection.enabled": true,
"simpleSignUpLink.shown": false,
"mail_smtpsecure": "tls",
"mail_smtpauth": 1,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"twofactor_enforced": "true",
"twofactor_enforced_groups": [
"admin"
],
"twofactor_enforced_excluded_groups": [],
"has_rebuilt_cache": true
}
}
Are you using external storage, if yes which one: Local, Webdav
Are you using encryption: no
Are you using an external user-backend, if yes which one: No
Logs
Nextcloud log (data/nextcloud.log)
See attached file nextcloud.log
Metadata
Metadata
Assignees
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmapbug