Cannot Allocate Memory

Mar 21, 2007

I got this error after trying to login to the server

-bash: /bin/egrep: Cannot allocate memory
-bash: /bin/fgrep: Cannot allocate memory
-bash: /bin/grep: Cannot allocate memory
-bash: /bin/grep: Cannot allocate memory

Also I notice my server load are was also high due to '/usr/sbin/httpd -k start -DSSL' taking half of my CPU process. I tried to killall -9 httpd and restart again. See all below
login as: wheel
wheel@user:
-bash: /bin/egrep: Cannot allocate memory
-bash: /bin/fgrep: Cannot allocate memory
-bash: /bin/grep: Cannot allocate memory
-bash: /bin/grep: Cannot allocate memory
[~]# su -
Password:
-bash: /bin/egrep: Cannot allocate memory
-bash: /bin/egrep: Cannot allocate memory
-bash: /bin/egrep: Cannot allocate memory
-bash: /bin/egrep: Cannot allocate memory
-bash: /bin/fgrep: Cannot allocate memory
-bash: /bin/grep: Cannot allocate memory
-bash: /bin/grep: Cannot allocate memory
-bash: /bin/cut: Cannot allocate memory
-bash: /bin/cut: Cannot allocate memory

After then I reliased I cannot pingt the server from same Lan network

root@t [~]# ping xxx.xxx.xxx.xxx
PING xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx) 56(84) bytes of data.
From xxx.xxx.xxx.xxx icmp_seq=1 Destination Host Unreachable
From xxx.xxx.xxx.xxx icmp_seq=2 Destination Host Unreachable
From xxx.xxx.xxx.xxx icmp_seq=3 Destination Host Unreachable
From xxx.xxx.xxx.xxx icmp_seq=5 Destination Host Unreachable

My server was totally offline!

When I type 'ls', it says
bash /bin/ls: Cannot allocate memory.

I have unplugged the server from datacenter. Right now the server is infront of me. Please advise what command and fixes should i do.

View 14 Replies


ADVERTISEMENT

Iconv: Unable To Allocate Buffer For Input: Cannot Allocate Memory

Jun 26, 2009

iconv: unable to allocate buffer for input: Cannot allocate memory

as title I have this error when I try convert database to uft-8
when I try this command

Code:
# iconv -c -f windows-1251 -t utf-8 vbulletin_db.sql > vbulletin_db_utf8.sql

I get this error
iconv: unable to allocate buffer for input: Cannot allocate memory

View 12 Replies View Related

FSCKVPS Install Nginx :: Cannot Allocate Memory

Oct 17, 2009

when I tried to install nginx,but always said:

cannot allocate memory ....

View 14 Replies View Related

OpenVZ/HyperVM Unable To Fork: Cannot Allocate Memory

Jun 5, 2009

We're in the process of setting up our new VPS Server, and we can create a VPS with 256MB memory and with 512MB memory fine, but when creating one with 1GB memory, we get the error:

Could Not Start Vps, Reason: Unable to fork: Cannot allocate memory: Not enough resources to start environment: Container start failed:

Even though the server has 4GB RAM and no other VPS's running. Any ideas?
Thanks.

[Edit]We now seem to get the problem for all our VPS's. I think it may be something to do with the Server not unallocating the memory, as we've provisioned and de-provisioned quite a few Servers

View 10 Replies View Related

Plesk 12.x / Linux :: Error Reading Data From FastCGI Server - Cannot Allocate Memory

Jun 22, 2015

PleskLog File

104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Mon Jun 22 15:33:11 2015] [error] [client 176.10.112.11] Premature end of script headers: import_cop.php

and Apache Log

[Mon Jun 22 11:06:57 2015] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Mon Jun 22 15:46:17 2015] [error] (12)Cannot allocate memory: fork: Unable to fork new process
PHP Warning: Module 'zip' already loaded in Unknown on line 0

How can I fix this problem? The Script is 100% i/O because it has worked onder PHP 5.2 and its comp. whit 5.4.

View 12 Replies View Related

"bash: Fork: Cannot Allocate Memory" Error

Mar 29, 2008

Working on CentOs 5, I got this error when listing a folder 'ls' with 5 files in it:

root@s1 [/usr/local/lib]# ls-bash: fork: Cannot allocate memory 

What does it mean? How can I fix it?

and my memory status is: .....

View 13 Replies View Related

Allocate System Ram

Jul 22, 2008

I have a VPS acct with Plesk, am peaking out my system ram at 128mb. Host said to allocate ,ore = purchase more. What I would like to do is hunt down where I am using the most of it. I have 8 sites (non that are too big). Most of them are wordpress sites.

Would caching help? Not sure where to look to find this out.

View 2 Replies View Related

How Much Email Space To Allocate

Mar 26, 2009

I have never really looked to far into this but I was wondering how much space to allocate to my clients email accounts. Any rule of thumb for this?

View 6 Replies View Related

Server Refused To Allocate Pty

Jun 3, 2008

All our vps customer have following error when login to ssh after one day:

"root@xxx.xxx.xxx.xxx's password:
Server refused to allocate pty"

And ssh not work too!

View 2 Replies View Related

I've Wordpress Blog And Forum - How To Allocate Them On Server

Mar 20, 2007

Basically I installed wordpress in the same mysql as forum... but wordpress uses different username to connect to it. I wonder if there is any security risk associated with this, like would it be better to move out wordpress on to a different db? what about speed? what if my forum receives allot of mysql usage?

View 5 Replies View Related

Cpanel VPS - Plenty Of Free Memory, But 'committed' Memory Exceeds VPS RAM

Jun 12, 2009

I have a VPS. And have had an issue both when it was 1Gig and now I recently downgraded it to 768m, because I am moving some sites to a dedicated.

However, the part I am having trouble grasping is that when I look at graphs from Munin, it will typically always show 200-400MB free memory (and free -m and top agrees with munin), but Munin shows 'committed' memory that is above the total Ram on the VPS and once the 'committed' ram exceeds the VPS limit, processes start failing.

So, why is 'committed' memory exceeding the RAM on my VPS, when Munin, free -m and top all show there is free memory available?

Code:
root@server [~]# free -m
total used free shared buffers cached
Mem: 768 449 318 0 0 0
-/+ buffers/cache: 449 318
Swap: 0 0 0
Here's a graph that munin produces that shows the 'committed' memory exceeding the total memory.
[url]

View 3 Replies View Related

Memory Usage :: Put More Content Into Memory?

Jul 16, 2009

I just got a new server Dual E5520 with 6GB RAM, SAS 15k rpm raid10. It's running well. However, the memory usage is just around 2.5GB, even when I have more traffic. Here is the kernel info

Quote:

# uname -a
Linux server2.[url]2.6.18-128.1.10.el5 #1 SMP Thu May 7 10:35:59 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

Any idea that we can put more content into memory?

View 11 Replies View Related

What Does "Server Refused To Allocate Pty"

Jun 19, 2009

On one of our servers, a Athlon 64, 4 GB DDR2 RAM, Linux server with CentOS 5.3 64-bit installed and running the latest kernel (and which is located entirely different from the previous post, in a different city and DC), after installing some packages using yum and installing the latest PHP and Apache from tarballs, the server began slowing down and hanging on trying to do additional yum installs.

So, we rebooted and logged back into our SSH shell and got "Server refused to allocate pty" after entering the password and then, nothing. We can't run other diagnostics or anything to determine the issue, look at any logs, etc.

What does this mean and does anyone know how to fix it without reinstalling the OS? We have rescue mode available to us but we're not sure how to use it to fix this problem.

We look forward to your solutions-oriented responses.

View 14 Replies View Related

I'm Missing 7 GB Of Ram: Installed Physical Memory 8 GB / Total Physical Memory 1 GB

Apr 4, 2009

I just ordered a server from serverbeach that should have come with 2 GB but I see that this one comes with 8 GB

Unfortunately, I seem to be missing 7 GB of ram.
Installed Physical Memory: 8 GB
Total Physical Memory: 1 GB

Windows 2008 Server Web 32-bit

Now, being a 32-bit system, I should see 3-4 GB of ram right?

Any idea why only 1 GB is available for the OS?

[url]

View 14 Replies View Related

512MB Memory VPS... Out Of Memory Already

Oct 1, 2009

I have a 512mb DV server with Mediatemple, which I am running 24 (ish) domains off (most of them static websites) and a teamspeak server. I would say MAX theres 10 users online at a time)

Now, I know its running out of memory because i get frequent QoS Alerts in plesk (kmemsize is apparently the memory size):

Oct 01, 2009 11:52:57 AMBlack zonekmemsize

I have attached my results (when I did top).

My questions are:

1. Should I be expecting to be out of memory running what I am?

2. Is there a way to see the problem domains (memory wise)?

3. Are there any ways I can reduce the memory? (I have followed this already:
[url]

4. Where is the memory usage coming from (I am finding it very hard to understand TOP)

View 14 Replies View Related

VPS Memory

Jun 19, 2007

I am hoping someone with experience of these things can comment on memory usage on my VPS partition. The master server on which my partition sits seems to be running at full memory usage and I'm getting lots of fork and mutex errors in apache causing apache to crash several times a day.

I'm running Invision Power Board on there with an average of 100 users in the last 15 mins during most of the day.

oomguarpages and privmpages are reported in 4KB blocks.

View 6 Replies View Related

More CPU Or RAM Memory?

Jun 18, 2009

Hello everyone.i run LAMP on a dedicated server at theplanet.I have a small vbulletin forum.

I m planning to move to a new server.Just a quick question.for my new hardware,do i give more emphasis to ram or cpu...i will be getting 2 gb at the minimum.

SO,is LAMP dependant more on cpu resources or ram?

View 4 Replies View Related

Xen Using More Memory

Jun 25, 2009

I previuosly have a forum hosted on a VPS with a 512 MB RAM (OpenVZ) and at that time it was only using 300MB of ram during peak time but the server was always down due to harware failures so I move to a new host this time Using Xen with a 768 RAM now it is using all the RAM available which is double the ram that it uses before. Is it really normal for a XEN vps to consume more memory than on a VPS using OpenVZ?

View 2 Replies View Related

Memory And Cpu

May 4, 2008

today I recieved an email from my server saying:

Drive Space Critical on server
Drive Critical: /dev/simfs (/) is 91% full

When i check the whm I see

cpsrvdfailed
exim (exim-4.68-1_cpanel_maildir)up
ftpdup
httpd (2.2.8 (Unix))up
imapup
mysql (4.1.22-standard)up
named (9.3.3rc2)up
popup
Server Load0.11 (2 cpus)
Memory Used38 %
Swap Used0.00 %
Disk /dev/simfs (/) 91 %

what i dont understand is where did it go. I dont really have much traffic and nothing was uploaded or downloaded. I dont have any automatic backups enabled. How do I get it back to the normal 40%

I do notice i have alot of cpu usage
Top Process%CPU 77.4gzip
Top Process%CPU 76.2gzip
Top Process%CPU 75.9gzip

Which is also confussing to me because I am the only user. I didnt do any backups didnt have any major traffic. And my disk space "memory used" didnt change.

View 1 Replies View Related

VPS And Min Memory

May 5, 2008

How much memory would I need to run a couple of websites, with gallery,postgresql,wordpress,dotproject,spamassassin on top of usual apache, mysql, php etc?

Most of the cheap VPS starts from 196MB or 256MB. 512MB upgrades are expensive :p

View 13 Replies View Related

How Much Memory Is Best

Aug 8, 2008

How much extra memory do I need on a VPs to be safe ?

Do I need something like 20% more of what I actually use just to be safe?

View 10 Replies View Related

How Can I Use More Memory

Mar 12, 2008

I am trying to optimize my VPS setup and can't seem to get it to use all of the memory that I have. I have problems even getting it to use half of it. What kind of changes can I make so that it uses more memory while reducing load? My recent MySQL and Apache conf optimizations I have read about here and other sites have sent my loads above 1, but the memory usage is staying the same.

View 4 Replies View Related

Xen Memory Used

Nov 27, 2008

I've a question with XEN VPS. I rented vps with sweden provider and its 20 GB HD and 256MB memory. The setup isnt bad, done within 1 day. I check inside the vps and its XEN VPS.

I tried "top" command and wow, I am supprised !! here what I saw
Mem: 262320k total, 208708k used, 53612k free, 54680k buffers
isnt it funny ? 50MB++ left(not yet run anything, no panel running too). is it normal ?

I have other vps running inside virtuozzo, and got 192 MB inside. even its running so many process inside(about 15) that takes about 5-10MB each, its still have more left than XEN.

Mem: 196608k total, 82972k used, 113636k free, 0k buffers
100MB++ left,

View 4 Replies View Related

Xen Using Too Much Memory

Jun 4, 2008

I noticed that, VPS with Xen technology, are using up far more memory than others?

Lets say, I usually use about 300mb of ram in a VPS with openvz, but VPS with xen, with the same usage, is using about 820mb of ram.

Even without running anything...after a fresh install of centos 5, with only few OS processes, its using around 170mb of ram already.

Is this so with Xen? The expected ram usage with Xen? Or am I missing something?

View 3 Replies View Related

VPS Memory

Sep 20, 2007

I have this 512MB memory VPS plan from fdcservers.net and it kept running out of memory.

The memory went up and down like roller coaster every seconds although I switched off httpd. Anyone can tell me what RAM do they assign to my VPS? Here's the beancounter results: [Please find the result in the attachment] Dont know why webhostingtalk mess up the spaces between each texts.

View 9 Replies View Related

Memory Used On VPS

Apr 20, 2007

We are running into yellow status often at our new VPS. We have been with the web host for almost 1 year and recently got moved to a new VPS. WHM often show a yellow status for Memory Used (80% or so). As per the web host, WHM shows RAM for the entire server and not just our VPS. So how can we determine how much RAM we are using so? And to determine if we are using more RAM than we should or if others on the server are the culprit?

never got this yellow status on the old VPS.

View 12 Replies View Related

VPS Memory

Oct 5, 2007

if someone here could offer their advice/expertise in this problem. I have a 256MB CPanel VPS. When Apache is restarted, memory is around 180MB which is perfect

However, before long, memory usage is at 240MB. Looking at top processes, this is the top 5 i get...

PID USER PR NI VERT RES SHR S %CPU %MEM TIME+ COMMAND
29833 nobody 15 0 27616 14m 3776 S 1 1.4 0:30.32 httpd
26432 nobody 15 0 29104 16m 3836 S 1 1.6 0:24.80 httpd
28398 nobody 15 0 26996 14m 3776 S 0 1.4 0:28.70 httpd
28645 nobody 15 0 31324 17m 3776 S 0 1.7 0:25.93 httpd
31981 nobody 15 0 32232 17m 3776 S 0 1.7 0:38.69 httpd

Anybody able to offer any advice? I see that all processes are httpd, is lighthttpd or lightspeed a solution?

The main site serves up php content (No mySQL) and a few images. It also has a LOT of image requests which are redirected by photobucket via .htaccess.

The secondary site on the server (not yet launched) is going to be an arcade site running gamescript. I have been hesitant to release this site untill these memory issues are sorted.

View 9 Replies View Related

Memory Used

May 3, 2007

My VPS Service Status showing
Memory Used 70.4 %

is that normal? how I can less memory used.
----------------------------------------------
Second I just got following email from system

"The following list of files have FAILED the md5sum comparision test. This means that the file has been changed in some way. This could be a result of an OS update or application upgrade. If the change is unexpected it should be investigated:

/usr/bin/sa-learn: FAILED
/usr/bin/sa-update: FAILED
/usr/bin/spamassassin: FAILED
/usr/bin/spamc: FAILED
/usr/bin/spamd: FAILED"

any issue with server?

View 3 Replies View Related

VPS Memory

Jun 20, 2007

I have got a VPS with slhost but seems like I am hitting my memory limit when I check in VZPP.

Is there anyway I can find out which websites are causing high loads etc and get the limit back to normal?

View 14 Replies View Related

VPS Memory

Jul 4, 2007

is there a way to quickly check and see how much guaranteed ram my VPS has?

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved