Jan 3 11:57:35 db1-dev systemd[1]: Failed to reset devices.list on /system.slice/scylla-server.service: Operation not permitted
Jan 3 11:57:35 db1-dev systemd[1]: Starting Scylla Server...
Jan 3 11:57:35 db1-dev scylla_prepare[361]: hugeadm:WARNING: Directory /var/lib/hugetlbfs/pagesize-2MB is already mounted.
Jan 3 11:57:36 db1-dev scylla_prepare[361]: tuning /sys/dev/block/0:45
Jan 3 11:57:36 db1-dev scylla_prepare[361]: tuning /sys/dev/block/0:45
Jan 3 11:57:36 db1-dev scylla[364]: FATAL: Exception during startup, aborting: std::runtime_error (insufficient processing units)
Jan 3 11:57:36 db1-dev systemd[1]: scylla-server.service: Main process exited, code=exited, status=7/NOTRUNNING
Jan 3 11:57:36 db1-dev systemd[1]: Failed to start Scylla Server.
Jan 3 11:57:36 db1-dev systemd[1]: Dependency failed for Scylla JMX.
Jan 3 11:57:36 db1-dev systemd[1]: scylla-jmx.service: Job scylla-jmx.service/start failed with result 'dependency'.
Jan 3 11:57:36 db1-dev systemd[1]: Dependency failed for Run Scylla Housekeeping daily.
Jan 3 11:57:36 db1-dev systemd[1]: scylla-housekeeping.timer: Job scylla-housekeeping.timer/start failed with result 'dependency'.
Jan 3 11:57:36 db1-dev systemd[1]: scylla-server.service: Unit entered failed state.
Jan 3 11:57:36 db1-dev systemd[1]: scylla-server.service: Failed with result 'exit-code'.
Jan 3 12:03:36 db1-dev systemd[1]: Failed to reset devices.list on /system.slice/systemd-tmpfiles-clean.service: Operation not permitted
Jan 3 12:03:36 db1-dev systemd[1]: Starting Cleanup of Temporary Directories...
Jan 3 12:03:36 db1-dev systemd[1]: Failed to reset devices.list on /system.slice/scylla-server.service: Operation not permitted
Jan 3 12:03:36 db1-dev systemd[1]: Starting Scylla Server...
Jan 3 12:03:36 db1-dev systemd-tmpfiles[369]: [/usr/lib/tmpfiles.d/var.conf:14] Duplicate line for path "/var/log", ignoring.
Jan 3 12:03:36 db1-dev systemd[1]: Started Cleanup of Temporary Directories.
Jan 3 12:03:36 db1-dev scylla_prepare[370]: hugeadm:WARNING: Directory /var/lib/hugetlbfs/pagesize-2MB is already mounted.
Jan 3 12:03:36 db1-dev scylla_prepare[370]: tuning /sys/dev/block/0:45
Jan 3 12:03:36 db1-dev scylla_prepare[370]: tuning /sys/dev/block/0:45
Jan 3 12:03:36 db1-dev scylla[373]: FATAL: Exception during startup, aborting: std::runtime_error (insufficient processing units)
Jan 3 12:03:36 db1-dev systemd[1]: scylla-server.service: Main process exited, code=exited, status=7/NOTRUNNING
Jan 3 12:03:36 db1-dev systemd[1]: Failed to start Scylla Server.
Jan 3 12:03:36 db1-dev systemd[1]: Dependency failed for Scylla JMX.
Jan 3 12:03:36 db1-dev systemd[1]: scylla-jmx.service: Job scylla-jmx.service/start failed with result 'dependency'.
Jan 3 12:03:36 db1-dev systemd[1]: Dependency failed for Run Scylla Housekeeping daily.
Jan 3 12:03:36 db1-dev systemd[1]: scylla-housekeeping.timer: Job scylla-housekeeping.timer/start failed with result 'dependency'.
Jan 3 12:03:36 db1-dev systemd[1]: scylla-server.service: Unit entered failed state.
Jan 3 12:03:36 db1-dev systemd[1]: scylla-server.service: Failed with result 'exit-code'
root@s4:~# lxc profile show hugepages
name: hugepages
config:
security.privileged: "true"
description: ""
devices: {}
raw.lxc: |
lxc.mount.entry = hugetlbfs dev/hugepages hugetlbfs rw,relatime,create=dir 0 0
"insufficient processing units" means that Scylla thinks you asked for more logical cores than are available.
Did you tweak the configuration?
What does "hwloc-ls" show inside the container?
When Scylla starts up, it tries to take over all of the memory and all of the logical cores available on the machine. In container environments, some of this information reflects the entire machine (not the resources you allocated to the container), and some reflects the container. Therefore, you should override the auto-detection and supply your own values.
With your dual quad, you have 8 cores and 16 logical cores (hyper-threading), so a good configuration would be
"--smp 5 --memory 14G --thread-affinity 0"
If you are sharing the machine with something else, you can try
"--smp 5 --memory 14G --overprovisioned"
and Scylla will be more friendly towards other services running on the machine. Adjust --smp and especially --memory to leave some resources free.
Other notes:
- RAID10 is overkill due to replication, don't use it on production deployments
- starting scylla-jmx started scylla-server, which failed; the
two problems you saw are the same.
--
You received this message because you are subscribed to the Google Groups "ScyllaDB users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scylladb-user...@googlegroups.com.
To post to this group, send email to scyllad...@googlegroups.com.
Visit this group at https://groups.google.com/group/scylladb-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/scylladb-users/6b74da76-43a0-4b8f-9657-452c596f49dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
With the replicated storage provided by Scylla, there is no need for redundancy at the node level, so people typically use RAID-0 (not RAID-5/6). If you lose a drive, you replace it, then rebuild the node using the other replicas stored across the cluster.
With a typical replication factor of 3, using RAID10 gives you a total storage bloat factor of 6, while providing limited benefit (there is a benefit - rebuilding a RAID10 is less complex than rebuilding a node).
I don't recommend using RAID5/6 with Scylla unless it's a hardware RAID device with a battery backed unit.
Of course, non of this holds for a testing system that backs
three nodes using one machine; that's all for production
deployments.
To view this discussion on the web visit https://groups.google.com/d/msgid/scylladb-users/5efed404-81be-4d39-bd46-70af0acbe758%40googlegroups.com.
Ah, okay that totally makes sense with that use-case in mind. I'm running three physical hosts with Docker + LXC, so I have other app containers that run on the same system. If I was running dedicated boxes for ScyllaDB then I think that is what you are saying.In a private cloud environment, we may have a bit more control over how the underlying storage is configured, but in a public cloud if Linode for example uses raid10 or raid6, it is what it is.I am making (hopefully good) assumptions that for my particular use-case, I'm not going to have *that* much data, I mostly want the cross datacenter replication and ease of scaling vs master/slave RDBM headache. Hopefully ScyllaDB (or Cassandra for that matter) has "good enough" performance out of the box until you get to "real big data" levels (millions/billions of things?).
To unsubscribe from this group and stop receiving emails from it, send an email to scylladb-users+unsubscribe@googlegroups.com.
To post to this group, send email to scylladb-users@googlegroups.com.
Visit this group at https://groups.google.com/group/scylladb-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/scylladb-users/2fa8b62f-3c19-4e03-8dba-57beededc436%40googlegroups.com.