ispCP - Board - Support
apache2 fcgid = out of memory :( - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: apache2 fcgid = out of memory :( (/thread-8812.html)

Pages: 1 2


apache2 fcgid = out of memory :( - givre - 12-19-2009 06:24 AM

Hi ispCP Team Wink

Since i'm using ispcP with apache2 and PHP5 fcgid i have a big problem..

In few words, php5-cgi are taking all of the memory and never dead...
I have many process, over 800 , and few hours later, apache2 is crash Sad

This problem for me is bigger now beaucause i'm using virutal machine

I have test a lot of configuration for fcgid_ispcp.conf always same result = crash

Who can help me or speak about possible configuration for this ?

I made a very interessing configuration ( with web frontend , nfs, load banlancing, ) But actualy the same problem persist for apache2/fcgid

Thanks for you help.

Regards,
BenoƮt.


RE: apache2 fcgid = out of memory :( - BeNe - 12-19-2009 11:54 PM

Please post more infos about your VM (CPU, RAM...)
ispCP Version ?
..
...

Greez BeNe


RE: apache2 fcgid = out of memory :( - givre - 12-20-2009 01:51 AM

Last Ispcp version

For informations about CPU and RAM , it's depend.
I have made some test, with differents configuration
The problem is alaway the same, with vm or not.

The Hyperviseur is :
Processeur: quad @ 2.83 12mo L2
Ram: 8gg de ddr2
Disque 2 X 1500gg sata2
Giga ethernet

Sytem Debian Lenny
Aapache2
fcgid php5

i can't have a litte configuration who dosen't crash
I'm sure is cause of php5-cgi.
If i make a kill of all process php5-cgi, then ram became free an useful

Some informations

Code:
ns2:/# ps aux |grep php5-cgi |wc -l

php5-cgi = 493
ns2:/# ps aux |grep apache2 |wc -l
11

To see result of command "ps auxf"
psauxf

20 min after
Code:
ns2:/# ps aux |grep php5-cgi|wc -l
533
ns2:/# ps aux |grep apache2 |wc -l
9

50 min after
Code:
ns2:/# ps aux |grep php5-cgi|wc -l
597
ns2:/# ps aux |grep apache2 |wc -l
14

80 min after ^^
Code:
ns2:/# ps aux |grep php5-cgi|wc -l
627
ns2:/# ps aux |grep apache2 |wc -l
15


Thank You for Your Help


RE: apache2 fcgid = out of memory :( - Lucan - 12-20-2009 09:13 PM

I also had this proplem on some machines, i just switched to fastcgi_ispcp.

I know it doesn't fix your problem, but it's a workaround.


RE: apache2 fcgid = out of memory :( - givre - 12-21-2009 12:49 AM

Ok, i will try this.

Can you give more informations about your fastcgi_ispcp.conf , php5-fcgistarter and your apache2 worker please ?

Thank You


RE: apache2 fcgid = out of memory :( - Lucan - 12-21-2009 01:07 AM

At the moment, i've set up all my machines again.

So everything is at the standart configuration.
But if the standart configuration doesn't help, try the following

go to /etc/apache2/mods-available/fastcgi_ispcp.conf
and change
Code:
-idle-timeout 300 \
# -singleThreshold 100

to
Code:
-idle-timeout 300 \
-singleThreshold 100



RE: apache2 fcgid = out of memory :( - givre - 12-21-2009 02:12 AM

OK, actually i have many error 500

I change some config, i give feed back after.


RE: apache2 fcgid = out of memory :( - givre - 01-13-2010 11:31 PM

Hi all,

The problem is the same , i had made a lot of change, lot of test always the same problem Sad
i'm disappointed .

The unique things who work normally is apache2 and mod_php5.

It possible and i think that i will close my free web hosting...
If there is someone who want to access on system and make some test to understand where is the problem and help me to solve it.. i can give access.

It was a very interesting system, and we could see ISPCP backend make good job but there is some futures that taking so much time like generate (tochange) account ... it will be useful to separate more all actions

Thanks for your response.. and help

Bye


RE: apache2 fcgid = out of memory :( - kilburn - 01-13-2010 11:40 PM

Send me your IP and root user/pass if you want me to take a look and refine your config.


RE: apache2 fcgid = out of memory :( - just_hoster - 01-20-2010 08:04 PM

i have this problem too... have 3 GB ram and it fills too fast...
and server lags too much on connect.... version 1.0.3

kilburn
can y help me too? Smile