Hi!
My daughter decided to upload all her photos and videos to our NS7 NextCloud and filled the disk. Our NS7.9 + NextCloud was running in a VM on Proxmox.
First I increase the VM disk but that wasn’t enough for her files …
So @Andy_Wismer suggested I move the NextCloud data from /var/lib/nethserver/nextcloud to the separate data disk attached to the NS7 VM. I created a sym link to the new data location and it restarted. All seemed to work OK.
Also got the following in NextCloud admin yesterday 5 days later than the data move.
Last background job execution ran 4 days ago. Something seems wrong. Check the background job settings
I also have found this in the past day:
The PHP OPcache module is not properly configured. See the documentation for more information.
The OPcache interned strings buffer is nearly full. To assure that repeating strings can be effectively cached, it is recommended to apply opcache.interned_strings_buffer to your PHP configuration with a value higher than 8.
The OPcache is set for 20, so I increased that to 50.
I’ve been searching for the solution to fix the EXEC error but no luck so far.
The only thing I’ve found is that this error has something to do with not enough virtual memory to fullfil cron’s job.
I’m not sure what to do to debug from there. Any suggestions welcome.
Thanks in advance.
I have 32GB RAM and 0 Swap on the Proxmox hypervisor. RAM usage is about 20GB on the hypervisor so I could increase the NS7 VM. There are 12 CPU cores. The hypervisor is never using more than 30% peak CPU and average is under 5%. The hypervisor:
free -h
total used free shared buff/cache available
Mem: 31Gi 20Gi 9Gi 55Mi 1.8Gi 11Gi
Swap: 0B 0B 0B
NS7 has 8GB RAM with 8GB swap. Weird, the Proxmox GUI shows no swap but I went to the command line in NS7 and get this.
free -h
total used free shared buff/cache available
Mem: 7.6G 2.5G 802M 278M 4.4G 4.6G
Swap: 7.9G 9.5M 7.9G
What I meant was that the Proxmox GUI would show that the NS7 VM disk0 has a swap partition or not. The Proxmox instance shows swap on the Summary page. I was just remarking that the VM summary doesn’t show the swap. But I guess it is inside the disk0 so I guess Proxmox doesn’t see it.
I have 8 cores allocated but I’ll adjust to 12GB and 4 cores, reboot and see if I get more errors.
I have a clients Proxmox with 128 GB RAM, never more than 80 GB used.
The box has only 8 GB swap (Proxmox pre-installed, badly!) - and this is filled up to the brim - and only really goes down when rebooting.
In my opinion, RAM should be used, not 1000% slower swap. Normally, NO swap should be used.
This is a fast machine, but I still wonder if the lack of Swap is slowing things up.
Generally, I will install a Proxmox with 16 GB swap. PBS same.