Re: [gentoo-user] Web Server Memory Issues

2011-01-14 Thread Sebastian Beßler
Am 13.01.2011 18:59, schrieb Kaddeh: I have a standard 2x RAM swap size of 4gb. The problem that I am seeing though is that the applications (MySQL and apache) are segfaulting -before- the system starts to swap, almost where they have an aversion to using swap. What does cat

Re: [gentoo-user] Web Server Memory Issues

2011-01-14 Thread Mark Shields
On Wed, Jan 12, 2011 at 1:59 PM, Kaddeh kad...@gmail.com wrote: So, I have run into an interesting problem while building out a web server for a client which I haven't come across before and I was hoping that the list would be a good way for me to find the answer. A little beckground on the

Re: [gentoo-user] Web Server Memory Issues

2011-01-13 Thread Stroller
On 12/1/2011, at 10:47pm, Kaddeh wrote: ... First, addressing the SQL issue and why I think that that could be one of the causes. The entire site, for the most part is all in one giant DB (~9GB) a significant part of that is a 3gb table full of raw image data (yes, I know that this is a

Re: [gentoo-user] Web Server Memory Issues

2011-01-13 Thread Kaddeh
I have a standard 2x RAM swap size of 4gb. The problem that I am seeing though is that the applications (MySQL and apache) are segfaulting -before- the system starts to swap, almost where they have an aversion to using swap. Cheers Kad On Thu, Jan 13, 2011 at 9:34 AM, Stroller

Re: [gentoo-user] Web Server Memory Issues

2011-01-13 Thread Bill Longman
On 01/13/2011 09:59 AM, Kaddeh wrote: I have a standard 2x RAM swap size of 4gb. The problem that I am seeing though is that the applications (MySQL and apache) are segfaulting -before- the system starts to swap, almost where they have an aversion to using swap. Are you running 32 bits?

Re: [gentoo-user] Web Server Memory Issues

2011-01-13 Thread kashani
On 1/12/2011 10:59 AM, Kaddeh wrote: So, I have run into an interesting problem while building out a web server for a client which I haven't come across before and I was hoping that the list would be a good way for me to find the answer. A little beckground on the systems: P4 @ 3.0Ghz 2GB PC2

Re: [gentoo-user] Web Server Memory Issues

2011-01-13 Thread Kaddeh
yes, but that should have an effect on swap space. Cheers Kad On Thu, Jan 13, 2011 at 11:56 AM, Bill Longman bill.long...@gmail.comwrote: On 01/13/2011 09:59 AM, Kaddeh wrote: I have a standard 2x RAM swap size of 4gb. The problem that I am seeing though is that the applications (MySQL

[gentoo-user] Web Server Memory Issues

2011-01-12 Thread Kaddeh
So, I have run into an interesting problem while building out a web server for a client which I haven't come across before and I was hoping that the list would be a good way for me to find the answer. A little beckground on the systems: P4 @ 3.0Ghz 2GB PC2 4200 2x 250GB drives in RAID1 The

Re: [gentoo-user] Web Server Memory Issues

2011-01-12 Thread Jarry
On 12. 1. 2011 19:59, Kaddeh wrote: P4 @ 3.0Ghz 2GB PC2 4200 2x 250GB drives in RAID1 The system configurations are default for the most part with the server running MySQL and Apache. The problem that I am running into at this point, however is that the machine seems to run out of memory and

Re: [gentoo-user] Web Server Memory Issues

2011-01-12 Thread Kaddeh
Jarry, Thanks for the monitoring advice, I am checking out monit right now. In terms of what is the root cause of the issue, I have narrowed it down to either write caching of a SQL cache issue. First, addressing the SQL issue and why I think that that could be one of the causes. The entire

Re: [gentoo-user] Web Server Memory Issues

2011-01-12 Thread Matthew Summers
On Wed, Jan 12, 2011 at 4:47 PM, Kaddeh kad...@gmail.com wrote: Jarry, Thanks for the monitoring advice, I am checking out monit right now. In terms of what is the root cause of the issue, I have narrowed it down to either write caching of a SQL cache issue. First, addressing the SQL issue

Re: [gentoo-user] Web Server Memory Issues

2011-01-12 Thread Kaddeh
Matthew, Default settings for both my.cnf and httpd.conf are defaults, however, I would assume that a restart of a service would clear up the memory that was used by child processes. The only things that are really different in my.cnf is the base stuff like bin-log and such for doing DB