Re: [users@httpd] Unbelievable : one single apache process uses more than whole server memory (5 gigabytes) !

2012-08-18 Thread Denis BUCHER
Le 18.08.2012 05:55, Brett Maxfield a écrit : On 18/08/2012, at 6:46 AM, Denis BUCHER wrote: Dear all, That's an unbelievable issue but we have single apache process that takes 5 GB of memory ! And it doesn't happens always with the same URLs, it's unpredictable and we don't

Re: [users@httpd] Unbelievable : one single apache process uses more than whole server memory (5 gigabytes) !

2012-08-18 Thread Alex Bligh
--On 18 August 2012 10:04:12 +0200 Denis BUCHER dbuche...@hsolutions.ch wrote: And whatever page it is, is there some explanation why apache can takes all the server memory ? PHP is limited, so how is it possible for Apache to do that ? Right, but it's taking lots of virtual memory, and

Re: [users@httpd] Unbelievable : one single apache process uses more than whole server memory (5 gigabytes) !

2012-08-18 Thread Denis BUCHER
Le 18.08.2012 10:29, Alex Bligh a écrit : --On 18 August 2012 10:04:12 +0200 Denis BUCHER wrote: And whatever page it is, is there some explanation why apache can takes all the server memory ? PHP is limited, so how is it possible for Apache to do that ? Right, but it's taking lots

Re: [users@httpd] Unbelievable : one single apache process uses more than whole server memory (5 gigabytes) !

2012-08-18 Thread Alex Bligh
How can I see RSIZE in top ? I don't see it ? Sorry, that's 'RES' in your top display. If not, I wouldn't worry. You need to worry, because it is. But how can I strace it ? strace -fp [pid] so strace -fp 25178 in the case you gave. and see what syscalls it's making. Might give you a

Re: [users@httpd] Unbelievable : one single apache process uses more than whole server memory (5 gigabytes) !

2012-08-18 Thread Denis BUCHER
Le 18.08.2012 11:05, Alex Bligh a écrit : But how can I strace it ? strace -fp [pid] so strace -fp 25178 in the case you gave. and see what syscalls it's making. Might give you a hint. OK, but my problem is that when I detect an offending process (using too much memory), it's

Re: [users@httpd] Unbelievable : one single apache process uses more than whole server memory (5 gigabytes) !

2012-08-18 Thread Alex Bligh
--On 18 August 2012 11:35:29 +0200 Denis BUCHER dbuche...@hsolutions.ch wrote: OK, but my problem is that when I detect an offending process (using too much memory), it's already too late ! The strace will only show mmaps until [crit] Memory allocation failed ! Do you have a suggestion on

Re: [users@httpd] Unbelievable : one single apache process uses more than whole server memory (5 gigabytes) !

2012-08-18 Thread Denis BUCHER
Le 18.08.2012 11:56, Alex Bligh a écrit : --On 18 August 2012 11:35:29 +0200 Denis BUCHER wrote: OK, but my problem is that when I detect an offending process (using too much memory), it's already too late ! The strace will only show mmaps until [crit] Memory allocation failed ! Do you

Re: [users@httpd] Unbelievable : one single apache process uses more than whole server memory (5 gigabytes) !

2012-08-18 Thread Denis BUCHER
Le 18.08.2012 11:56, Alex Bligh a écrit : --On 18 August 2012 11:35:29 +0200 Denis BUCHER wrote: OK, but my problem is that when I detect an offending process (using too much memory), it's already too late ! The strace will only show mmaps until [crit] Memory allocation failed ! Do you

Re: [users@httpd] Unbelievable : one single apache process uses more than whole server memory (5 gigabytes) !

2012-08-18 Thread Denis BUCHER
Le 18.08.2012 11:56, Alex Bligh a écrit : --On 18 August 2012 11:35:29 +0200 Denis BUCHER wrote: OK, but my problem is that when I detect an offending process (using too much memory), it's already too late ! The strace will only show mmaps until [crit] Memory allocation failed ! Do you

Re: [users@httpd] Unbelievable : one single apache process uses more than whole server memory (5 gigabytes) !

2012-08-18 Thread Denis BUCHER
Le 18.08.2012 11:56, Alex Bligh a écrit : --On 18 August 2012 11:35:29 +0200 Denis BUCHER wrote: OK, but my problem is that when I detect an offending process (using too much memory), it's already too late ! The strace will only show mmaps until [crit] Memory allocation failed ! Do you

Re: [users@httpd] Unbelievable : one single apache process uses more than whole server memory (5 gigabytes) !

2012-08-18 Thread Alex Bligh
--On 18 August 2012 13:18:11 +0200 Denis BUCHER dbuche...@hsolutions.ch wrote: And I think I was able to capture the strace : If you use strace with (say) -s2048 as a parameter you'd be able to see the whole URL here: read(18, GET /search/Delight%20combinaiso..., 8000) = 280 and you

Re: [users@httpd] Unbelievable : one single apache process uses more than whole server memory (5 gigabytes) !

2012-08-18 Thread Igor Cicimov
What does your mpm_prefork config look like? Since you use prefork you shoud have more than one process running for sure. And also check the kernel settings with ulimit command. Any errors on the database site or the applications? Anything in the apache logs? On Aug 18, 2012 9:46 AM, Denis BUCHER

[users@httpd] mod_rewrite And Browser Caching

2012-08-18 Thread Drew Tomlinson
I've been working at this for days and couldn't figure out why a mod_rewrite rule wasn't working. My situation was that I wanted to redirect this: http://domain.com/unique_directory/whatever to https://domain.com/unique_directory/whatever While not redirecting

Re: [users@httpd] mod_rewrite And Browser Caching

2012-08-18 Thread sebb
On 18 August 2012 15:55, Drew Tomlinson d...@mykitchentable.net wrote: I've been working at this for days and couldn't figure out why a mod_rewrite rule wasn't working. My situation was that I wanted to redirect this: http://domain.com/unique_directory/whatever to

Re: [users@httpd] mod_rewrite And Browser Caching

2012-08-18 Thread Ben Johnson
On 8/18/2012 11:30 AM, sebb wrote: On 18 August 2012 15:55, Drew Tomlinson d...@mykitchentable.net wrote: I've been working at this for days and couldn't figure out why a mod_rewrite rule wasn't working. My situation was that I wanted to redirect this:

[users@httpd] problem with virtual host to access from another computer

2012-08-18 Thread Alain Roger
Hi, on computer A i installed a WAMP server with virtualhost. on computer A, if i type www.myserver.loc (as virtualhost) i'm redirected to localhost (so A computer) but in a particular folder...so my virtualhost works very well. in computer A, i installed an Ubuntu 12.04LTS (computer B) OS under