Ubuntu Servers :: Apache Segfaults Causes Memory Leak?
Jun 12, 2011
I'm having some strange issues with apache. Time by time it segfaults, eats all available memory (including swap) and makes server non responding.Ubuntu Server 10.04.2 LTS
Some strange logs:
Jun 12 12:00:18 *** kernel: [40767.969443] apache2[7635]: segfault at 726f7272 ip 00007f13a31f3f16 sp 00007fff6f740ea0 error 4 in libapr-1.so.0.3.8[7f13a31d7000+35000]
[code]....
View 3 Replies
ADVERTISEMENT
Jan 4, 2010
I updated several packages on one of my servers on Dec 21st and have been seeing excessive swapfile usage since then. The problem process seems to be httpd which in our environment runs a subversion server as well as serving a number of php pages over https. At present I am having to bounce apache approximately every 5 days as it has used all 8GB swap in that time.
[Code]..
Of the updates listed as installed, the only one that looks likely to affect apache is glibc. Looking at the stats from sar -r I can see swap usage increasing by approx 3% (of 8GB) every hour.
View 3 Replies
View Related
Jan 29, 2011
I have had a fresh install of Ubuntu 9.10 and installed some software after that.Since third some, some process is eating half of my memory.I have checked processes running in system manager but everything is normal.Maximum is consumed by compiz which is about 26 mb, seems very normal.I did restarted my computer several times, and in the start for 5 mins, its fine after that again my cpu fans runs at very fast speed and my one cpu is used up 95 % (I have dual core).Please help me out, this invisible thing is driving me crazy.I am attaching my htop screen shot (sorted by cpu %), now the cpu is not used by completely but fan is still struggling hard and fast.
View 9 Replies
View Related
Mar 3, 2011
I'm currently developping a program in C++, using Qt, for an embedded board (SBC9261).It works well but crashes after some time, due to a system memory overload (my program uses more and more memory until 100%, when it crashes).I've been able to figure out the source of the memory leak :The function f is called by my program every second. f instanciates a new object (a QImage from the Qt lib), does a bunch of processing on it, and returns it to the calling function :
Code:
QImage *MyClass::f(QString filename) {// Open image
QImage *image = new QImage(filename);
[code]....
View 5 Replies
View Related
Jan 24, 2011
root@XXXXX:~# uname -a Linux myserver 2.6.18-194.11.4.el5 #1 SMP Tue Sep 21 05:40:24 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux I'm having serious memory leak issues on a server running CentOS. Running 'top' I can't find any proccess with an unusual memory usage. Is there any other way to check what is using this memory? Right now it shows that I have 4.8GB of RAM used, but top shows only few proccesses, one with 4% and lots of 0.0%.
View 9 Replies
View Related
Dec 16, 2010
I need to write a small program that eats away at availabe memory. I need to creaty a memory leak to test how other programs cope. I need to run this program on linux and see if the available memory is decreasing.
So I have done:
Code:
int main()
{
int *buffer;
while(1)
[Code]...
View 10 Replies
View Related
May 15, 2010
I can confirm my machine's GLX version is 1.4, and I definitively get the slow down problem, however, after running in a terminal:
Code:
grep "object bytes" /sys/kernel/debug/dri/0/gem_objects
grep: /sys/kernel/debug/dri/0/gem_objects: No such file or directory
What am I doing wrong?
View 1 Replies
View Related
May 21, 2010
I dont know if this issue has already been solved, or if there are other threads dealing with it, but Im quite desperate with this bug that has been annoying me since I upgraded from 9.10 to 10.04.
Firs I thought it would be GEM related, but Im using a proprietary graphics card, so thats not the way to solve it. I experience the problems a memory leak provokes, mainly that, as time goes by with the laptop turned on, the system needs more resources to execute simple actions, and it freezes too many times. Plus IBUS will, suddenly, stop working (I still don't know if it is related or not), and, most of the times I log in, Notification Area 2.30.0 will load with errors.
View 3 Replies
View Related
Feb 3, 2009
I have 4 gigs of ram and xorg goobles up 70+% in a matter of an hour or so. I'm running a java app with lots of 2D graphics, firefox, pidgin, and one other java app. I recently upgraded to KDE 4.2 and got dual ATI firepro 3700 cards running 3 22" widescreens. The memory gets eaten until my java app crashes.
I'm using the fglrx driver as it seems the radeonhd one doesn't recognize the firepro 3700. Can one only have a single KDE4 version on the machine. I would like to be able to swtch back and forth between 4.1 and 4.2 in order to troubleshoot without all the downloading and installing in yast.
View 2 Replies
View Related
Mar 5, 2010
Is there any link where i can get information about below?
Dirty memory
RSS
PSS
One more?
if a set of process are getting executed in a use case say 50 times. How do one know the memory leak for a particular process?
View 1 Replies
View Related
Jun 3, 2010
I am facing problem of Memory leak whenever i try to connect the Server using the ().getting rid of this problem.
View 1 Replies
View Related
Mar 2, 2011
I'm afraid I have a huge issue with my newest Fedora 14 server. I recently migrated to Fedora 14 from Centos 5, which was very stable, but had ancient packages and libraries and my users were revolting...The machine is a HP ProLiant 360 G7, with 12G RAM and 6 SAS drives in RAID 5.After I migrated to Fedora 14, I noticed that for some reason, during the course of about 24 hours, all usable RAM "disappears" and applications are forced down to swap space. Needless to say I didn't have this issue on CentOS.
The server does heavy IO as per it's function (it's a heavily loaded file processing server and user simulation computing station among other things, which causes lots of random IO), so I thought it may be the cache, but then I realized it cannot be - because obviously Linux will use onyl "unused" RAM for caching and frees it up as soon as an app need it. Then, I thought to check the "slabtop" to see what's going on in Kernel memory. Unfortunately I don't have the screenshot from the time just before the latest crash, but there's a certain value displayed by slabtop, which slowly, byte-from-byte creeps over all available RAM, eventually forcing applications down to the swap. This is malloc-64, and as you can see from the bellow copy-paste, it's building up again even now...
Code:
Active / Total Objects (% used) : 9118075 / 9153600 (99.6%)
Active / Total Slabs (% used) : 152157 / 152157 (100.0%)
[code]...
View 4 Replies
View Related
Jun 3, 2010
I am facing problem of Memory leak whenever i try to connect the Server using the ().
View 2 Replies
View Related
Oct 26, 2010
I have encountered this problem of memory usage is increasing as the during the my program is being run until 1Mb is left then it stays at that.A part of the program is this:
Code:
#define WRITE_BUF_SIZE (1024*1024)
void post_data(const void *data, unsigned long size)
[code]....
View 3 Replies
View Related
Mar 20, 2009
My server [URL] goes down in some cases.
On general time load average is 0,15-0,2 Only http(with php) and mysql working on it.
Here are some screens when the server goes down: [URL]
Here are the same bug with mine described: [URL]
View 5 Replies
View Related
Nov 18, 2010
I installed Ubuntu 10.4 and everything works great "out of the box"! I didn't install any drivers.blem, a major one...When I type "top" right after a reboot, around 1GB of RAM is in use. After a few min it grows to 2GB, even 2.5GB for no reason. Luckily, my machine has 6GB of RAM but it's still a major issue for me.I read on another forum another user with the same problem on the same Lenovo machine and he solved it by installing the newest driver for his ATI device. I don't have ATI, but I have the impression that I can solve my problem the same way. Do you have any idea what driver my cause that? I checked the Intel site for a new Intel HD graphics driver but they don't have ones for Linux.
View 2 Replies
View Related
May 27, 2011
I'm using Fedora 15 with Gnome 3 on a 32 bit laptop. I noticed that there seems to be a huge memory leak issue with Gnome shell. When I restart it, it is around 20 MB. But it keeps rising, and after around eight hours, I noticed it was around 250 MB! I found a solution online that said to simply restart the shell if the gnome-shell memory consumption becomes too large. While this is fine as a temporary solution, I am looking for a permanent one. Is there a way to minimize/prevent the memory leak other than waiting for the next version of Gnome 3?
View 3 Replies
View Related
Nov 29, 2010
I'm having a slight issue with apache segfaulting reasonably regularly. I've followed through the apache http debugging guide here:[URL] and receive this when running gdb:
Code:
[root@ukserv1 apache2-dump]# gdb /usr/sbin/httpd core.1085
GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-23.el5_5.2)
[code]....
View 1 Replies
View Related
May 13, 2011
OS: Ubuntu Server x64 10.04 Apache: 2.2.14-5ubuntu8.4 I have a virtual server which has been running for months with no problems then one day I saw that it crashed and I had to power cycle it. Since then I have been unable to start Apache as it segfaults no matter options I give it. Before I try to reinstall Apache, why is this segfaulting?
Code:
execve("/usr/sbin/apache2", ["/usr/sbin/apache2"], [/* 21 vars */]) = 0
brk(0) = 0x7f9f48f8d000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9f47e0d000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
[Code]...
View 2 Replies
View Related
Oct 23, 2009
The nagios admin interface apparently needs php (although, of course, the howto mentions nothing of the sort). So then, I copied the php.conf that had at some time been installed on the system, and then moved by me out of /etc/httpd/conf.d, back into conf.d. It's a fairly simple one:
#
# PHP is an HTML-embedded scripting language which attempts to make it
# easy for developers to write dynamically generated webpages.
#
LoadModule php5_module modules/libphp5.so
[Code]....
View 3 Replies
View Related
Mar 31, 2009
I have a new IBM x3650 that I am trying to get installed and running. However, it seems to experience random segfaulting. The system has ECC RAM and I have taken a look at the EDAC reports from the kernel, but as far as I can tell there is no error.This is a critical system I need to bring up, so I can't have it act flaky like this. Software is up to date. [URL]
Example output:
Code:
__ratelimit: 1 callbacks suppressed
ld-linux-x86-64[7676]: segfault at b33000 ip 00000000003b557b sp 00007fff13789c18 error 6 in ld-2.9.so[39d000+20000]
ld-linux-x86-64[7699]: segfault at 62ddbb ip 000000000062ddbb sp 00007ffffa0ab520 error 15 in toc2cddb[62c000+9000]
ld-linux-x86-64[7939]: segfault at 161004011d5 ip 00000000001ea1f0 sp 00007fff1eeb14f0 error 4 in ld-2.9.so[1e2000+20000]
[code]....
View 2 Replies
View Related
Jul 30, 2011
I have a web server with the specs below and my apache server is being a hog using all my RAM 7gigs or 8gigs of ram. When there is a rush of traffic at once my whole server crashes and I have to reboot apache. The way my site is set up I have a tube script and I use the tube script to host videos on my forum I have 1000 videos on the tube script. I brought a bigger server and more ram because of the down time I been having . I am really trying to figure out why its crashing and using so much ram. I installed eAccelerator didn't seem to help with the apache server.
Intel Quad Core Xeon X3430 (4 x 2.40 GHz, 8MB Cache)
> 2-bay Supermicro Chassis and Motherboard
> 8 GB REG ECC DDR3 (twice your current setup)
> 250 GB Enterprise Grade SATA II
> 10 TB Bandwidth 1gig Uplink Port
> CentOS 64 Bit (Latest Stable)
TOP Command and free -m command screenshots are attached this is with only 160 people online at once
View 6 Replies
View Related
Feb 11, 2010
I have a VPS running a web application served using Apache, that on average deals with 20-50 requests per second. It's usually above this point (50 requests per second) that the amount of memory that Apache uses is too high for the VPS and errors start occuring - web pages crash and VPS falls over for a minute or two before going back to normal levels.
I believe that MaxClients is the best way to reduce the amount of RAM that Apache uses and I am planning to reduce MaxClients from 256 (default value) to around 100. Each Apache process uses ~15MB and the server has 1900MB of ram in total - the server does nothing else other than run Apache and a few crons.
Current setting are:
Code:
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 3
# prefork MPM
# StartServers: number of server processes to start
[Code].....
I tried reducing MaxClients before which lead to massive slowness, so I need some other options as well.
Does my suggestion of reducing MaxClients to ~100 seems sensible? What are my options if the server experiences slowness again - optimise the application? What's the best way to reduce memory usage - move images to another web server?
View 2 Replies
View Related
Sep 12, 2010
Top only show the memory usage for individual processes. Apache often runs hundreds of processes, each of which may use only a small amount of memory, however the total memory consumed by all apache processes can be fairly large.Is there a way to see the total memory usage for all apache processes?
View 7 Replies
View Related
Jan 12, 2010
I just opened an (unmanaged) VPS account and and have been encountering nothing but problems with trying to get Apache up and running (its something I've done many times before).Basically the inital error was with LDAP not having enough space, so I disabled the related extensions and Apache still would not run. Looking at the log, it contains: (28)No space left on device: Unable to create scoreboard (anonymous shared memory failure)
View 1 Replies
View Related
May 3, 2010
I have Webmin installed on an Ubuntu server. I currently have a successful apache server running on port 80, however I want to create a virtual host on port 81. When I try I go to servers->Apache Webserver-> Create Virtual Host I change the port to 81 and the document root to /var/port81www then I click create. How ever when I goto 192.168.1.5:81 (local ip, I know I have to port forward but its not even working local) it does not work.
View 5 Replies
View Related
Sep 25, 2010
I have a VPS that has 512MB of ram. I'm using it as a mail/web server. It keeps running out of memory. I know amavis/clamav are memory hogs, but I checked my ps aux and found 100's of instances of "apache-init-server" running. I killed them all, and they keep spawning back. What could be causing this. I've never seen this on a webserver before. OS: CentOS 5.5
View 10 Replies
View Related
Oct 21, 2010
I have a Ubuntu 10.04 LTS and about 40 ThinClients running LSTP in a school's computer lab. Everytime the users start to use applications, the server's memory utilization increases, while the swap memory is quite free. I have 12GB of memory on that server.
View 9 Replies
View Related
Oct 29, 2010
I have many documents that indicate many different min requirements for drive memory. Will someone give me an idea for the following...Ubuntu 10.10 server running SSH and Samba what would be the memory requirements, recommended as opposed to min, for partitions as follows:
/ -- root
/home -- as a separate partition
/boot -- as a separate partition (do I really need a separate boot)
swap my RAM is 768mg so 1 gig should be good
View 9 Replies
View Related
Nov 13, 2010
bind9 is taking a lot of the RAM
process info:
ID Owner Size Command
17559 root 290396 kB /usr/sbin/named -c /etc/bind/named.conf
View 9 Replies
View Related