fallocate problem on kernel 3.2.60-1+deb7u3
While trying to use wendelin.core (through ERP5's DataArray) I found the following error:
bigfile/ram_shmfs.c:129 shmfs_alloc_page WARN: fallocate() not supported bigfile/virtmem.c:930 OOM BUG!
I checked the source a little bit and I realized that /dev/shm was being mounted as tmpfs partition. I did a quick search and from what I found it looks like tmpfs doesn't support fallocate. I'm not really sure about this, because I also found patches to add support for fallocate in tmpfs, but no information if they were merged into upstream.
My machine is running Debian 7.6 with kernel 3.2.60-1+deb7u3.
@Camata thanks for reporting.
It is known problem that fallocate was not supported on tmpfs on older kernels, but it is now well supported e.g. on already a bit outdated kernel in Debian 8 - 3.16. And it is ok and expected that /dev/shm is actually a tmpfs filesystem.
Wendelin.core won't work without fallocate working on tmpfs, so please upgrade your kernel or distro to be at least 3.16 .
e8c05a22 has more details about this issue.
Status changed to closedToggle commit list