Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1043296

Summary: Compression fails on low memory system
Product: [Community] GlusterFS Reporter: Richard <redhat.bugs>
Component: compression-xlatorAssignee: bugs <bugs>
Status: CLOSED EOL QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: bugs, ndevos
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-17 15:57:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard 2013-12-15 19:42:22 UTC
I am unable to activate compression on a server/client setup with less than 1GB Ram in each system creating a two brick replicated setup and using the defaults for compression other than for switching it on.

In my syslogs (not the gluster logs), I get the following:

Dec 15 14:21:58 localhost GlusterFS[13803]: [2013-12-15 14:21:58.585337] A [mem-pool.h:77:__gf_default_calloc] (-->/usr/lib64/glusterfs/3.5.0qa3/xlator/protocol/client.so(client3_3_readv+0x2ec) [0x7fb43bdd998c] (-->/usr/lib64/libglusterfs.so.0(iobuf_get2+0xa3) [0x7fb4471f8883] (-->/usr/lib64/libglusterfs.so.0(iobuf_get_from_stdalloc+0x60) [0x7fb4471f78a0]))) : no memory available for size (4294967787)

What are the memory requirements for compression to work?

Thanks,
Rich

Comment 3 Niels de Vos 2016-06-17 15:57:15 UTC
This bug is getting closed because the 3.5 is marked End-Of-Life. There will be no further updates to this version. Please open a new bug against a version that still receives bugfixes if you are still facing this issue in a more current release.