The Basics
- Nextcloud Server version (e.g., 29.x.x):
- 28.0.12
- Operating system and version (e.g., Ubuntu 24.04):
- Ubuntu 24.04 (but it started on Ubuntu 22.04)
- Web server and version (e.g, Apache 2.4.25):
- Apache/2.4.58
- PHP version (e.g, 8.3):
- 8.3.13 (but it started on 8.2)
- Is this the first time you’ve seen this error? (Yes / No):
- No
Summary of the issue you are facing:
Hello! I’ve got some strange problem that randomly stops our Nextcloud server. First of all, this is a VM (30vCPU, 64Gb and 15Tb storage). This problem stated on NC27 and still persists in NC28. Randomly php processes start to grow unill they reach limit set in configuration (5000):
[19-Nov-2024 20:31:18] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 95 idle, and 206 total children
[19-Nov-2024 20:31:19] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 97 idle, and 211 total children
[19-Nov-2024 20:31:20] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 99 idle, and 214 total children
[19-Nov-2024 20:31:21] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 92 idle, and 215 total children
[19-Nov-2024 20:31:22] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 98 idle, and 223 total children
[19-Nov-2024 20:31:28] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 77 idle, and 232 total children
[19-Nov-2024 20:31:29] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 64 idle, and 240 total children
and so on.
The problem is that I can’t find who or what is responcible for that? The only thing that was added some time before is CODE server app, but I think it’s a coincidence.
When php stops responding it is enough
Configuration
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"cloud.***REMOVED***"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"version": "28.0.12.2",
"overwrite.cli.url": "https:\/\/cloud.***REMOVED***\/",
"overwriteprotocol": "https",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"memcache.local": "\\OC\\Memcache\\APCu",
"filelocking.enabled": true,
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"timeout": 0
},
"overwritehost": "cloud.***REMOVED***",
"htaccess.RewriteBase": "\/",
"ldapIgnoreNamingRules": false,
"ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
"ldapUserCleanupInterval": 60,
"skeletondirectory": "",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "1025",
"mail_send_plaintext_only": true,
"versions_retention_obligation": "disabled",
"tempdirectory": "\/var\/www\/nextcloud\/data\/tmp",
"hashingThreads": 4,
"default_locale": "ru_RU",
"default_language": "ru",
"simpleSignUpLink.shown": false,
"trashbin_retention_obligation": "auto, 15",
"lost_password_link": "disabled",
"knowledgebaseenabled": true,
"enable_previews": true,
"preview_ffmpeg_path": "\/usr\/bin\/ffmpeg",
"enabledPreviewProviders": [
"OC\\Preview\\PNG",
"OC\\Preview\\JPEG",
"OC\\Preview\\GIF",
"OC\\Preview\\HEIC",
"OC\\Preview\\BMP",
"OC\\Preview\\XBitmap",
"OC\\Preview\\MP3",
"OC\\Preview\\TXT",
"OC\\Preview\\MarkDown",
"OC\\Preview\\OpenDocument",
"OC\\Preview\\Krita",
"OC\\Preview\\PDF",
"OC\\Preview\\Movie"
],
"maintenance": false,
"default_phone_region": "RU",
"app_install_overwrite": [
"files_retention",
"sharelisting"
],
"theme": "",
"loglevel": 3,
"updater.release.channel": "stable",
"enforce_theme": "",
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"maintenance_window_start": 17,
"activity_expire_days": 30
}
Any advice would be appreciated. Thanks in advance.