Hello,
i’m facing similar issues on Nexcloud 26 in a new server we have just migrated to.
We noticed that some old sync clients causes huge re-upload of old files and it doesn’t help, but it doesn’t seem to be enough.
php-fpm logs are not good
here is an example before it crash.
[11-Sep-2023 10:48:59] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 281 idle, and 735 total children
[11-Sep-2023 10:51:30] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 282 idle, and 756 total children
[11-Sep-2023 10:51:54] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 278 idle, and 766 total children
[11-Sep-2023 10:51:55] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 282 idle, and 771 total children
[11-Sep-2023 10:52:43] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 248 idle, and 790 total children
[11-Sep-2023 10:52:44] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 258 idle, and 798 total children
[11-Sep-2023 10:52:45] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 274 idle, and 814 total children
[11-Sep-2023 10:52:46] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 282 idle, and 823 total children
[11-Sep-2023 10:53:17] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 242 idle, and 839 total children
[11-Sep-2023 10:53:18] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 249 idle, and 847 total children
[11-Sep-2023 10:53:19] WARNING: [pool www] server reached pm.max_children setting (851), consider raisin
I raise pm.max_children to 1500 randomly because it’s hard to find good documentation in Internet for server like mine.
We have 1.4Tb of datas.
Server has 94Gb of RAM, and all tutorials are made for smaller server so i don’t really know how to adjust
For the moment here are the parameters in www.conf
pm.max_children = 1500
; Default Value: (min_spare_servers + max_spare_servers) / 2
pm.start_servers = 425
pm.min_spare_servers = 283
pm.max_spare_servers = 800
; Default Value: 32
;pm.max_spawn_rate = 32
; Default Value: 10s
;pm.process_idle_timeout = 10s;
pm.max_requests = 2000