Re: [Gluster-users] server3_1-fops.c:1240 (Cannot allocate memory)

2013-02-13 Thread Brian Candler
On Tue, Feb 12, 2013 at 07:19:43PM +0100, samuel wrote:
Both nodes have enough disk space (1.3T) but looks like used memory is
quite high:

Not true.

node1:
 total   used   free sharedbufferscached
Mem:   40476804012700  34980  02763728652
-/+ buffers/cache: 2837723763908

It shows:

* total memory is 4GB

* any spare memory is used to cache disk blocks. In this case it's 3.7GB.

* the second line shows you the memory usage after disk buffers and cache
  are ignored. It shows you are only using 283M and have 3.7GB free.

Ditto for the second box.
___
Gluster-users mailing list
Gluster-users@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-users


[Gluster-users] server3_1-fops.c:1240 (Cannot allocate memory)

2013-02-12 Thread samuel
Hi folks,

We're using in an old environment gluster 3.2.2 and we've just started
seeing the following error in /usr/local/var/log/glusterfs/bricks/gfs-log:

[2013-02-12 19:15:05.214430] I [server3_1-fops.c:1240:server_writev_cbk]
0-cloud-server: 2400444243: WRITEV 7 (37067) == -1 (Cannot allocate memory)
[2013-02-12 19:15:19.463087] I [server3_1-fops.c:1240:server_writev_cbk]
0-cloud-server: 2249406582: WRITEV 15 (52493) == -1 (Cannot allocate
memory)

in a distributed replicated 2-node environment.

Both nodes have enough disk space (1.3T) but looks like used memory is
quite high:

node1:
 total   used   free sharedbuffers cached
Mem:   40476804012700  34980  02763728652
-/+ buffers/cache: 2837723763908
Swap:  3906244  199163886328

node2:
 total   used   free sharedbuffers cached
Mem:   40476804012488  35192  0   10883713512
-/+ buffers/cache: 2978883749792
Swap:  3905532  252443880288

could it be a memory issue?

Best regards,
Samuel.
___
Gluster-users mailing list
Gluster-users@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-users