Apache Eats All Free Memory And Swap

Jun 22, 2009

I'm having an issue with what I believe is Apache. Things will be running nicely, then all of a sudden things will just 'blow up'. Apache seems to fork a bunch of new processes, and it starts ripping into the memory. I've had it essentially eat through all the free memory and swap, and the system will then freeze up as there's no more memory. This is a CentOS server running CPanel, the configuration had been up and running for a long time without problems then this suddenly started happening.

View 7 Replies


CPanel Eats VPS Memory Or You Just Don't Have Enough

Dec 15, 2008

I was told that cPanel itself eats about 128-256Mb of memory from the VPS, so if I want to have cPanel I need at least 384mb RAM to start few simple sites working.

Is it true? (I definitely need cPanel, abandon it - it's not an option)
What (as I think) require resources I need to work at the VPS:

1. Three php sites (osCommerce, MySQL, not ideal code optimization I believe, 80-180 visitors at the same time for all 3 in total)

2. One php photo gallery (20-50 visitors at the same time)
Those 4 sites generate about 70Gb bandwidth monthly.

3. cPanel.

which amount of RAM is required to get it working fast?

View 10 Replies View Related

Server Hang - No Free Swap

Mar 24, 2008

I encounter this problem in one of my server today..

Memory is 99% used
Swap is 100% used

top - 20:50:53 up 2 days, 7:05, 2 users, load average: 69.58, 41.63, 24.91
Tasks: 397 total, 57 running, 334 sleeping, 1 stopped, 5 zombie
Cpu(s): 1.9% us, 96.5% sy, 0.1% ni, 0.0% id, 0.0% wa, 0.5% hi, 1.0% si
Mem: 2076300k total, 2027140k used, 49160k free, 1116k buffers
Swap: 5245212k total, 5245212k used, 0k free, 13108k cached

Over my KVM, it just hang. When I try to type something, it shows this on the KVM screen:

[17379796.260000] HighMem 59*4kB 3*8kB 0*16kB 0*32kB 0*64kB 1*128kB 1*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 664kB
[17379796.260000] Swap cache: add 6615861, delete 6615849, find 2695269/27558673, race 0+86
[17379796.260000] Free swap = 0kB
[17379796.260000] Total swap = 5245212kB

Based on the message on screen, what is the message telling me?

[17379796.260000] HighMem 59*4kB 3*8kB 0*16kB 0*32kB 0*64kB 1*128kB 1*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 664kB
[17379796.260000] Swap cache: add 6615861, delete 6615849, find 2695269/27558673, race 0+86

View 12 Replies View Related

Why Is Taking Swap If My Server Still Have Free Ram

Apr 14, 2008

Look this:

root@empresarios [~]# free -m
total used free shared buffers cached
Mem: 2017 1966 50 0 20 1054
-/+ buffers/cache: 892 1125
Swap: 2000 1378 621

U know more than me, but why my dedicated server is taking Swap if as u cann se still have 50 Mb free of RAM?

View 2 Replies View Related

How Can I Identify What Is Using My Swap Memory

Apr 19, 2009

if there is any specific way (maybe logs) to see what is using the swap memory of a dedicated server..

its a server with 8GB ram.. it has 60% of memory used, and a constant swap memory usage of 30%.. i thought that in normal conditions swap memory was not used..

its a centos / cPanel/WHM based server

View 7 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?

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.

View 3 Replies View Related

Server Sucking Up Memory And Using Swap

Jan 25, 2007

I have a server that I have had for a little while now that was runnning perfectly fine. All of the sudden it started just using up a ton of the memory and started using up swap. This has caused the server to slow down and e-mail to stop working. I would upgrade to more memory but I suspect it is someone on the server doing something they shouldn't be. My only reasoning for this is due to the fact that this problem just suddenly arised. I cannot for the life of me determine where this ram usage is coming from.

Here are a few of the errors I have recently got just while logging in..

RIGHT after logging in...
id: cannot find name for group ID 0
id: cannot find name for user ID 0
[root@www root]# top
top: Unknown terminal "xterm" in $TERM
[root@www root]# killall -9 spamd
bash: /usr/bin/killall: Too many open files in system

I have added 2 screen shots as well. First one (top1) is what happens once I can get the command "top" to actually run (normally takes quite a few tries). Second attachement (top2) is after I sorted by mem usage...

View 4 Replies View Related

High Server Load! Swap And Memory Usage

Nov 19, 2007

I have a linux server that is only hosting one site , and although the httpd and mysql are working well , then the server load is high and when I restart the server the server load is high till the swap accelerates to 100% and then it uses the memory alot.

View 5 Replies View Related

Plesk 12.x / Linux :: High Memory Usage - Swap So High

Nov 14, 2014

This is my free -m

total used free shared buffers cached
Mem: 1998 1903 95 0 45 542
-/+ buffers/cache: 1315 683
Swap: 2662 36 2625

Not good ....

I got 5 wordpress and 5 statics website on this server and 100 visitors by 24H00 each day.

Question 1 : Why the memory is so low and the swap so high ?
Question 2 : Why i don't find high usage process in top command ?
Question 3 How can i resolve this problem ?

View 2 Replies View Related

Memory Free But Swaping

Mar 21, 2007

i have a lot of free memory but i dont know why it swaping

[root@ ~]# free -m
total used free shared buffers cached
Mem: 1003 683 320 0 18 371
-/+ buffers/cache: 293 710
Swap: 2047 501 1545

View 3 Replies View Related

Lighttpd - 95% Cpu Usage. Apache - All Ram Used, Swap Comes In

Oct 9, 2007

I've hired *name* to take care of my server, but it's just getting so frustrating, as it seems they can't fix my server/optimize it correctly.

I just want some input as to what the problem is here.

I got them to install lighttpd along with xcache.

After about 15-18 hours, the server's CPU slowly increases to be using 90-90%, giving me the 500 Internal Server Error.

I've asked them to optimize xcache and lighttpd, but I keep getting these responses:


The should be pretty optimized. Xcache has limited optimization features.


Lighttpd itself is pretty optimized, the problem is php. Php runs as its own binary and theres not many parameters that can be tweaked.

Is that even correct?


So I got them to enable apache, and disable lighttpd.

This time, it's the other way around.

My ram get's completely used up, forcing the server to use Swap; making the load shoot to 50+. CPU usage is fine the entire way.


This has been going back and forth, enabling/disabling lighttpd and re-enabling apache but a problem always comes up each time.

Am I asking for too much?

Server specs;
Intel C2D E6400
4GB Ram

There is only one IPB board on this server - nothing else.

Average users is 70-200 users within 15 minutes.

This is what I'm getting when lighttpd is on:

top - 22:56:02 up 18:46, 1 user, load average: 23.38, 22.84, 22.44
Tasks: 117 total, 17 running, 100 sleeping, 0 stopped, 0 zombie
Cpu(s): 95.0%us, 4.3%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.2%hi, 0.5%si, 0.0%st
Mem: 4147196k total, 1346888k used, 2800308k free, 203144k buffers
Swap: 2907756k total, 0k used, 2907756k free, 712584k cached

2401 mysql 15 0 318m 107m 3868 S 44 2.6 49:02.02 /usr/libexec/mysqld --defaults-file=/etc/my.cnf --basedir=/usr --datadir=/var/lib
3279 root 15 0 27712 15m 2900 S 12 0.4 10:33.81 /usr/local/lighttpd/bin/php-cgi
3272 root 16 0 29752 16m 2908 R 11 0.4 10:15.94 /usr/local/lighttpd/bin/php-cgi
3266 root 15 0 27536 14m 2920 S 11 0.4 10:40.14 /usr/local/lighttpd/bin/php-cgi
3270 root 16 0 27624 14m 2908 R 11 0.4 10:36.71 /usr/local/lighttpd/bin/php-cgi
3267 root 16 0 27796 14m 2972 R 10 0.4 10:35.22 /usr/local/lighttpd/bin/php-cgi
3268 root 15 0 28148 15m 3112 S 10 0.4 10:49.86 /usr/local/lighttpd/bin/php-cgi
3276 root 16 0 27696 15m 2900 R 10 0.4 10:29.73 /usr/local/lighttpd/bin/php-cgi
3269 root 16 0 28312 15m 2916 R 10 0.4 10:23.57 /usr/local/lighttpd/bin/php-cgi
3274 root 16 0 27924 15m 2912 R 10 0.4 10:44.51 /usr/local/lighttpd/bin/php-cgi
3275 root 16 0 29368 16m 2928 R 9 0.4 10:41.84 /usr/local/lighttpd/bin/php-cgi
3278 root 15 0 29432 16m 2876 S 9 0.4 10:28.52 /usr/local/lighttpd/bin/php-cgi
3271 root 16 0 26784 14m 2900 R 9 0.3 10:41.61 /usr/local/lighttpd/bin/php-cgi
3277 root 16 0 27156 14m 2928 R 9 0.4 10:31.07 /usr/local/lighttpd/bin/php-cgi
3265 root 15 0 28408 15m 2880 S 8 0.4 10:46.89 /usr/local/lighttpd/bin/php-cgi
3280 root 16 0 27036 14m 2880 R 8 0.3 10:43.20 /usr/local/lighttpd/bin/php-cgi
3273 root 15 0 24676 12m 2952 R 8 0.3 10:43.57 /usr/local/lighttpd/bin/php-cgi
3262 root 15 0 13356 11m 632 R 3 0.3 3:04.27 /usr/local/lighttpd/sbin/lighttpd -f /etc/lighttpd.conf
1 root 15 0 2032 648 552 S 0 0.0 0:00.36 init [3]
2 root RT 0 0 0 0 S 0 0.0 0:00.00 [migration/0]
3 root 34 19 0 0 0 R 0 0.0 0:00.00 [ksoftirqd/0]
4 root RT 0 0 0 0 S 0 0.0 0:00.00 [watchdog/0]
5 root RT 0 0 0 0 S 0 0.0 0:00.00 [migration/1]
6 root 34 19 0 0 0 S 0 0.0 0:00.00 [ksoftirqd/1]
7 root RT 0 0 0 0 S 0 0.0 0:00.00 [watchdog/1]
8 root 10 -5 0 0 0 S 0 0.0 0:00.00 [events/0]
9 root 10 -5 0 0 0 S 0 0.0 0:00.00 [events/1]
10 root 10 -5 0 0 0 S 0 0.0 0:00.00 [khelper]
11 root 11 -5 0 0 0 S 0 0.0 0:00.00 [kthread]
15 root 10 -5 0 0 0 S 0 0.0 0:00.00 [kblockd/0]
16 root 10 -5 0 0 0 S 0 0.0 0:00.00 [kblockd/1]

View 14 Replies View Related

Asp.net Iis Eats RAM

Apr 24, 2005

we have a problem with one of our web servers where the asp_net service eats ram like crazy and peeks the processor to 100% from time to time. We tried to sniff out what is going wrong but everything looks normal ...

View 1 Replies View Related

Apache Server And No-ip.com Free Dns

Jun 7, 2008

ive created myself a little test site and i mananged to host it with a server thats sitting behind a nat router by forwarding port 80 to it, this site can be accessed from outside my home network by entering the ip address of my router into internet explorer.

then i create myself a free host at no-ip.com and i used the .servegame.com option so its MySite.servegame.com.

it succesfully resolves to my ip becuese when i ping it from the wndows command line it pings the IP of my router.

but for some reason it cant be used to acces my site through a web browser.

the only thing i can think of is that it has somehhing to do with the "domain name" and "server name" fields that you have to fill in while installing apache although no matter what i put into those fields i can stil access my site using my routers IP.

View 1 Replies View Related

Apache Memory

Aug 2, 2009

I am using VPS (Linux OS), and web server is apache. I totally have 768M memory. When the system start up, I usually have 550M-600M free memory.

I just found that each httpd process occupied almost 20M memory. It's horrible, I was though that 1M for each process is reasonable.

Now the httpd.conf looks like:
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150

But if I change StartServers to 50, httpd will eat up all my memory. I did some calculation, that 600M/20M = 30. This means if apache have more than 30 concurrent requests, There server will be out of memory. The "MaxClients 150" is meaningless! I was though 150 is too small.

I only use apache with php, they are complied by WHM. Should I re-complied the apache with php?

View 14 Replies View Related

Apache Memory

Sep 24, 2007

Configuration: Xeon 3060 4gb of ram

So mysql is using 6% of memory, xcache is set to 256MB, and rest is for apache.
So my question is what do I need to do? Compile apache to have smaller memory foot print or cut down more quicker idlers? Usually there is no problem, but if I got like 300+ people browsing the joomla site all day eventually system gets out of memory and starts swaping. Any ideas?


Server Version: Apache/1.3.37 (Unix) mod_gzip/ mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.7 FrontPage/ mod_ssl/2.8.28 OpenSSL/0.9.7a
Server Built: May 31 2007 00:49:37


Current Time: Monday, 24-Sep-2007 19:54:50 CEST
Restart Time: Monday, 24-Sep-2007 12:19:45 CEST
Parent Server Generation: 27
Server uptime: 7 hours 35 minutes 5 seconds
Total accesses: 691782 - Total Traffic: 2.7 GB
CPU Usage: u199.12 s35.93 cu.09 cs.71 - .864% CPU load
25.3 requests/sec - 102.3 kB/second - 4135 B/request
30 requests currently being processed, 31 idle servers


total used free shared buffers cached
Mem: 4054 3227 826 0 44 456
-/+ buffers/cache: 2727 1326
Swap: 1992 125 1867


netstat -an|awk '/tcp/ {print $6}'|sort|uniq -c


Timeout 45
KeepAlive On
MaxKeepAliveRequests 300
KeepAliveTimeout 2
MinSpareServers 10
MaxSpareServers 20
StartServers 10
MaxClients 300
MaxRequestsPerChild 1000

nobody 24280 0.2 4.3 418304 179380 ? S 17:01 0:24 /usr/local/apache
mysql 4071 4.9 6.1 290892 255556 ? S<l Jul23 4523:49 /usr/sbin/mysqld
nobody 24812 0.2 4.2 418180 176320 ? S 17:08 0:25 /usr/local/apache
nobody 25029 0.2 1.2 296428 52092 ? S 17:11 0:24 /usr/local/apache
nobody 25107 0.2 3.5 417672 147076 ? S 17:12 0:21 /usr/local/apache
nobody 26743 0.2 4.1 418276 173520 ? S 17:34 0:20 /usr/local/apache
nobody 31438 0.2 3.4 417864 142332 ? S 18:37 0:10 /usr/local/apache
nobody 31443 0.3 4.0 417720 169660 ? S 18:37 0:13 /usr/local/apache
nobody 31444 0.2 4.0 417112 167412 ? S 18:37 0:12 /usr/local/apache
nobody 31445 0.2 4.1 417820 171336 ? S 18:37 0:12 /usr/local/apache
nobody 31446 0.2 1.0 294716 45512 ? S 18:37 0:10 /usr/local/apache
nobody 31447 0.2 4.1 417668 171076 ? S 18:37 0:12 /usr/local/apache
nobody 32514 0.2 3.2 416880 135924 ? S 18:52 0:07 /usr/local/apache
root 32578 0.0 0.0 7456 2340 ? Ss 18:53 0:00 sshd: root@pts/2

View 12 Replies View Related

Apache Memory

May 9, 2007

I got apache installed and i really do not know what to do. I though I already optimized server but after 6 days of uptime memory is full and i just saw load went to 3 and started to swap. Specs are RHEL 4, xeon 3060 with 4gb of ram.

Timeout 300
KeepAlive On
MaxKeepAliveRequests 200
KeepAliveTimeout 4
MinSpareServers 10
MaxSpareServers 15
StartServers 10
MaxClients 200

I'm under impression that if i add 64gb of ram i would still fill it up in lets say 15 days because apache isn't releasing memory properly. After load 3 some memory is released:

Mem: 4054 3171 882 0 22 259
-/+ buffers/cache: 2890 1163
Swap: 1992 330 1662

I got atm 220 users online and when i restart apache even if i have 500 concurrent users online usage of memory is only 800mb, and as u see now its 3gb and only half of users are online so its not really peak time.
Apache processes are still hanging from 4 hours ago and they are not cut, as you can see every process takes around 4% of memory:

nobody 19618 0.1 4.1 281596 172400 ? S 18:36 0:20 /usr/local/apache/bin/httpd -DSSL
nobody 21100 0.2 4.4 288872 183672 ? S 18:57 0:22 /usr/local/apache/bin/httpd -DSSL
nobody 22654 0.2 1.5 161620 66168 ? S 19:18 0:22 /usr/local/apache/bin/httpd -DSSL
nobody 23250 0.2 1.4 161740 60564 ? S 19:28 0:20 /usr/local/apache/bin/httpd -DSSL
nobody 23423 0.2 4.2 283636 176940 ? S 19:30 0:22 /usr/local/apache/bin/httpd -DSSL
nobody 23479 0.1 2.3 283652 96900 ? S 19:31 0:16 /usr/local/apache/bin/httpd -DSSL

So i really hope there is solution because restarting apache every few days isn't fun and it sounds insane.

View 9 Replies View Related

Apache :: Setting Up Free Dns Service For Local Web Server

Jan 26, 2013

*My computer is a computer of a 500 computers network within our company.

* i have been given a STATIC local intranet ip assigned by our IT department via their router.

* i have the internet facility provided through the above mentioned intranet for which i get a dynamic ip ex:,

* i have installed WAMP server.

my current project for the company i am doing should be able to access via internet in addition to the local access. local access is the primary access method. so now i have installed a free dns service like dyndns. at the setup of that, i have choosen a free subdomain ex: my.freedns.com they offer. then i assigned the ip ex: also installed their desktop client for monitoring ip changes auto updates.

Now the problem is : when i hit my.freedns.com the page displaying is of our internet service provider. not of my project homepage . How can i fix so when i issue above subdomain it will show my webserver default page? 

View 11 Replies View Related

Apache Eating Memory

Apr 20, 2009

Apache is wasting away a bit over a GB of memory at about 100 connections. Is this something normal? Or should I be receiving a little better performance?

Also, I find that the load is very low. Is there anyway to sort of trade a bit of the CPU Usage for some more memory?

View 12 Replies View Related

Apache On OpenVZ VPS Uses All Memory

Apr 16, 2009

When my OpenVZ VPS is running with lighttpd, RAM usage is very low, but when I switch to Apache, RAM usage goes all the way up to the max. I've had this happen to two VPSs already and can't figure out why this happens.

I also have two other VPSs, one Xen and one Virtuozzo and have no troubles with Apache.

View 6 Replies View Related

Apache Keep Alive Vs Memory

Apr 21, 2008

I have a VPS with 256MB of guaranteed memory, and no burst/swap. Having little memory like this is quite common for a VPS and I want to know how to make the most of it while running websites. By far the biggest culprit for taking my memory is Apache and I'm not convinced that the default setup makes sense on a VPS.

I know there are other daemons out there that use considerably less memory, such as lighttpd, but enough people (myself included) are going to use Apache regardless (they might require some of the advanced features after all) so it is worth knowing how to get the most out of it.

Apache 2 has various mpm options, most notably prefork and worker. As I understand it the prefork method forks processes to handle requests ahead of time, and can fork more on demand if required, each process handles one request at a time. Worker uses threads, again created ahead of time and on demand, each thread handles one request at a time.

With the default configuration and prefork Apache spawned 6 processes each taking about 5MB, so there goes 50MB in total. With workers it wanted to create 50 threads, each with a 10MB stack, this instantly went over the memory limit so wouldn't start at all. Thankfully the stack can be adjusted using the ThreadStackSize setting so it can be made to run, but even after this what do you really have for your memory?

One problem with having one request per process/thread is that, again by default, Apache has a keep alive setting of 15 seconds. This means that once a request has been processed, the process/thread is then kept around for up to 15 seconds in case the client wants to do anything else. With prefork that is 5MB of memory being used, and even with threads with a reasonable 1MB stack size there is still a huge amount of memory wastage on a connection that might not even do anything. Meanwhile other visitors might be getting out-of-memory problems as Apache tries to spawn more handlers to meet demand.

I think it should be fairly obvious that the worker mpm is the best option here, if everything works fine with a 1MB stack then the thread overhead is considerably lower than the process overhead.

The new events mpm should relieve this problem as it uses an event queue to keep an eye on keep alive connections rather than a whole thread. Unfortunately this mpm is not considered stable yet, so in the mean time I am wondering if VPS users should just disable keep alive, or at least adjust it to just a few seconds.

The benefit of keep alive is that it reduces network traffic and CPU load as there is a small amount of overhead in setting up a new TCP connection. When servers had 400MHz chips and massive 256MB of ram this was a good trade off. But now VPS often have access to much more powerful processors, and the same 256MB isn't considered massive any more so a lot of applications are less frugal and less adept at running in this environment.

In the unlikely even that Apache had 200MB to play with, using 1MB threads means that the system can handle 200 idle connections before running out of resources and failing to handle new connections. With a keep alive of 15 seconds you can support 200 connections per 15 seconds. In light of the fact that many newer browsers will open 4 simultaneous connections (up from the previous 2) that is only 3.34 users per second. Drop the keep alive to 1 second and you can handle 50 users per second. These numbers are unrealistic because they assume the request handling itself takes no time at all, but a lot of requests can be handled in split seconds so maybe these numbers aren't so far fetched. If the request handling takes 250ms and you turn keep alive off you could handle 200 users per second.

I am thinking that it would be great to have a reverse proxy sat in front of Apache, one that used an event queue and thus had little memory overhead for maintaining incoming connections, but closed down its connection to Apache after each request. Unfortunately I do not know of one.

View 3 Replies View Related

How We Can Up The Apache Memory Usage

Nov 18, 2008

my grunted memory for apatchi is 51 meg
i want make him 256meg
because the vps its alwayes down
see this please

HTML Code:
29890 nobody 0


0.1 /usr/local/apache/bin/httpd -k start -DSSL
31854 nobody 0


0.1 /usr/local/apache/bin/httpd -k start -DSSL
31766 nobody 0


0.1 /usr/local/apache/bin/httpd -k start -DSSL
32043 nobody 0


0.1 /usr/local/apache/bin/httpd -k start -DSSL
25921 nobody 0


0.1 /usr/local/apache/bin/httpd -k start -DSSL
32014 nobody 0


0.1 /usr/local/apache/bin/httpd -k start -DSSL
25998 nobody 0


0.1 /usr/local/apache/bin/httpd -k start -DSSL
30388 nobody 0


0.1 /usr/local/apache/bin/httpd -k start -DSSL

View 3 Replies View Related

Memory Used By Apache With Subversion

Jul 20, 2007

Which is more efficient in the way of memory? Using Subversion with Apache and WebDav, or using SVNServe? I figure the latter, but by how much? How much ram usually would be used by the former? I'm undecided as to which method I want to use to set up Subversion yet.

View 3 Replies View Related

Apache Memory Usage, Why So Different On 2 VPSs

Mar 24, 2009

I currently have 2 VPSs that I'm monitoring and I noticed that on one of them the memory usage is much higher than the other which doesn't make sense to me. I tracked the high memory usage to the Apache processes.

Here's the overview of the VPSs:

LiquidWeb VPS- 512MB RAM, 10 Sites with minimal usage.
Average httpd process (Owner Priority Cpu% Mem% Command):
nobody 0 0.0 1.2 /usr/local/apache/bin/httpd -k start -DSSL

Virpus VPS- 384MB RAM, 61 sites with moderate usage.
Average httpd process (Owner Priority Cpu% Mem% Command):
nobody 0 0.0 0.3 /usr/local/apache/bin/httpd -k start -DSSL

Both Apache configurations are identical, the only difference besides the hardware is that LiquidWeb runs CentOS4.7 and Virpus runs CentOS5.2, any ideas? It's not to big of a deal since I'm not near my limit for either of them but I was just curious.

View 7 Replies View Related

Apache Allocating Too Much Memory - And Crashing

May 17, 2008

I've got a complicated problem and I can't figure out what I need to edit to fix this.

I've been messing with the httpd.conf and php.ini files trying to optimize them as best I can. I've managed to get the load to stay pretty low all day, and everything seemed to be working fine. But then apache crashes.

(See screenshot for details)

httpd starts out with 70-150 VIRT memory, and it constantly goes up all day, and I've yet to see it go down. And, eventually it just crashes Apache! In the screenshot it's 502m, but I've seen that get as high as 800! And sometimes I even see a number like this "80376" no "m" or anything, just "80376"; I've no idea what that's about.

So what do I need to edit or tweak to fix this?

I'm on a cPanel linux server, Apache 2.2.8 and PHP 5.2.6.

View 5 Replies View Related

Average Apache CPU And Memory Usage

Aug 14, 2008

tell me what the average usage of the CPU and RAM be from apache?

User 'Nobody' (Which I presume is apache) is using 13% CPU and 38.98% of RAM. Is this normal or is it well overloaded?

View 13 Replies View Related

Apache Threads High Memory Use

May 29, 2007

In the last day or two I've been having issues with memory on one of by boxes.

Something eats it all up, so the OS starts swapping, the I/O wait shoots up, and soon the load is up in the hundreds and the thing is totally useless.

During the day today I've tracked the something to occational apache processes. It seems that occationally a thread is started which uses upwards of 150M of memory. These threads are obvioudly doing something heavyweight and take a while to complete. When I get a few of them running together it soons finishes off all my available memory. Below is an extract from top when a couple of these threads are running.

10230 nobody 25 0 197m 27m 9392 R 45.5 2.9 0:03.27 /usr/local/apache/bin/httpd -DSSL
10231 nobody 25 0 197m 25m 8376 R 52.8 2.7 0:01.60 /usr/local/apache/bin/httpd -DSSL
I was wondering if anyone could help out by suggesting some ways of tracking down what page/script it which uses so much memory. It's a cPanel server so it's not really practical to tail -f the apache logs (not knowing which account it is means I don't know which file to watch).

View 4 Replies View Related

Apache Memory / Cpu Usage / Magento

Jul 31, 2014

I'm running a single Magento website with only around 150 products, and very low traffic, on a VPS with 2 Cores and 4GB of ram. However I am getting constant warning emails about high Apache Memory usage and High CPU usage.

The server and site were working fine, however since the server failed (Power cut on upgrade at the hosts end) and we rebuilt the website I'm getting these warnings, my host said it is just the website and the server needed upgrading... to which I did (server was a 1 core 2GB ram server). However since I've upgraded I'm still getting these warning emails.

Here is the latest one: URL...

4951 apache 20 0 441m 137m 6556 S 0.0 3.6 2:28.77 httpd
4952 apache 20 0 443m 139m 7168 S 0.0 3.6 2:43.72 httpd
7377 apache 20 0 358m 54m 6576 S 0.0 1.4 1:25.76 httpd
7692 apache 20 0 433m 129m 6588 S 0.0 3.4 1:20.64 httpd


I'm really new to VPS's and plesk so I'm wondering what I can do to try and track down what is causing these high usage as I'm 100% certain the site was fine before. The server has default build both before and after the fail.

Server Information:
OSCentOS 6.5 (Final)
Panel version11.5.30 Update #47
2 Cores
4GB Ram

Are there any tools within plesk that I can use to see what is causing these issues? It's making the website load extremely slow.

View 8 Replies View Related

Plesk 11.5 - Apache Memory Usage High

Jul 20, 2014

We are currently running plesk 11.5 and over the last few months, the apache memory usage has been very high. On investigation we have gone through the logs and we can't find a cause.

I can issue a service httpd restart and the memory drops for about 30 minutes and then we see the apache memory grow to almost 1.5 - 2GB. Why this keeps happening?

View 6 Replies View Related

Free Hosting And Free Domain

Sep 17, 2009

Do you think if a company offered free web hosting and free domains people would snap them up like there is no tommorow?

Also does anyone one how much ICANN acredited registrars pay ICANN when they register a new domain?

any feedback would be great!

View 8 Replies View Related

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