Closed olivierlambert closed 8 years ago
No more stories heard about this. Closing it for now.
I am experiencing the same issue.
Jan 6 11:59:42 xen-orchestra xo-server[728]: 2019-01-06T10:59:42.779Z - xo:perf - [INFO] blocked for 1823ms
Jan 6 11:59:45 xen-orchestra xo-server[728]: 2019-01-06T10:59:45.699Z - xo:perf - [INFO] blocked for 2421ms
Jan 6 11:59:48 xen-orchestra xo-server[728]: 2019-01-06T10:59:48.130Z - xo:perf - [INFO] blocked for 2130ms
Jan 6 11:59:50 xen-orchestra xo-server[728]: 2019-01-06T10:59:50.853Z - xo:perf - [INFO] blocked for 2012ms
Jan 6 11:59:52 xen-orchestra xo-server[728]: 2019-01-06T10:59:52.327Z - xo:perf - [INFO] blocked for 1175ms
Until the server runs out of memory. Adding more memory to the VM makes the process stay up longer but I cannot even backup a 50GB VM with 32GB memory for the xo-server.
I've built the xo-server from source and is fully updated.
While this is still an issue, I have solved this by creating an NFS mount to the XO-SERVER and add this mount as remotes (settings -> remotes)
That works very fast and is a very acceptable workaround. I still hope the project will solve the issue with SMB performance, if not please remove the feature and document how to make fast backups using NFS.
Using SMB mounts works for Linux systems, but Windows systems seems to create another unclear error (write error at the end of the backup sequence).
A local NFS mount seems to be the only way to use XO-SERVER for remote backups.
On ubuntu you need to install NFS support files
apt-get install nfs-common
And mount the NFS share e.g:
mount -t nfs {hostname}:/Snapshots /mnt/nfs
Hi @gerard-kanters, indeed we have some (more) SMB issues since the last release, we are working on them. Note that starting from the now, XO will use mount.cifs
if present on your system for better perf and stability (similar to NFS) :slightly_smiling_face:
After some times or an event (
xo.getAllObjects
?),xo-server
seem to use all the CPU and also the memory:Until it crashes:
Possible leads:
JSON.stringify()