OpenVZ Forum


Home » General » Support » -bash: fork: Cannot allocate memory Error
-bash: fork: Cannot allocate memory Error [message #37096] Tue, 18 August 2009 22:40 Go to next message
imagenesis is currently offline  imagenesis
Messages: 6
Registered: August 2009
Junior Member

-bash: /bin/egrep: Argument list too long
-bash: fork: Cannot allocate memory

I am receiving the following error. In addition I am receiving the following error on tar:

-bash-3.2# tar -xzvf lzo-2.03.tar.gz

gzip: stdout: Cannot allocate memory
lzo-2.03/
lzo-2.03/src/
lzo-2.03/src/lzo_dict.h
lzo-2.03/src/lzo1b_8.c
lzo-2.03/src/lzo_ptr.h
lzo-2.03/src/lzo1z_9x.c
lzo-2.03/src/lzo1y_o.c
lzo-2.03/src/config1x.h
tar: Child returned status 1
tar: Error exit delayed from previous errors


This is on a VPS with 512mb memory. vmstat and /prov/meminfo both show that over 450mb is free. S
Re: -bash: fork: Cannot allocate memory Error [message #37097 is a reply to message #37096] Tue, 18 August 2009 23:04 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

Hi,

please post the containers ubc (=user_beancounters) :

# cat /proc/user_beancounters

any failcounter at the last column ?

Bye,
Thorsten
Re: -bash: fork: Cannot allocate memory Error [message #37100 is a reply to message #37097] Tue, 18 August 2009 23:22 Go to previous message
imagenesis is currently offline  imagenesis
Messages: 6
Registered: August 2009
Junior Member

The issue has been resolved after the VPS provider viewed this thread:

http://forum.openvz.org/index.php?t=msg&goto=9094&

However if you could take a look at the current UBC values and see if they look reasonable in comparison to the other allocated resources of the VPS:

http://pastebin.com/m18e7b779

Ram: 256mb

Heh I thought maybe there was something else I can provide... available CPU utilization? Guess not.

[Updated on: Tue, 18 August 2009 23:22]

Report message to a moderator

Previous Topic: how and what to backup?
Next Topic: Unable to get /proc/swaps file in vz
Goto Forum:
  


Current Time: Sun Aug 11 23:38:43 GMT 2024

Total time taken to generate the page: 0.02899 seconds