Current time: 11-27-2024, 02:49 AM Hello There, Guest! (LoginRegister)


Post Reply 
Apache Segmentation fault:
Author Message
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #25
RE: Apache Segmentation fault:
Hi Menki,

am besten die aktuellste Version verwenden und von fast-cgi auf fcgid umstellen.
Dann die Apache Conf wie bereits hier erwähnt wurde optimieren.

Probier mal folgendes: (vorher Backups machen)
apache2.conf:
Code:
Timeout 30
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 2

<IfModule mpm_worker_module>
    StartServers          2
    MaxClients          150
    MinSpareThreads      25
    MaxSpareThreads      75
    ThreadsPerChild      25
    MaxRequestsPerChild 500
</IfModule>

fcgid aktivieren:
Code:
ändern in ispcp.conf:
PHP_FASTCGI = fcgid

a2enmod fcgid_ispcp
a2dismod fastcgi_ispcp

/etc/init.d/apache2 stop
/usr/bin/killall -HUP php5-cgi

ändern der fcgid_ispcp.conf:

<IfModule mod_fcgid.c>
AddHandler fcgid-script .php .php5
SocketPath /var/lib/apache2/fcgid/sock
IdleTimeout 600
IdleScanInterval 240
BusyTimeout 300
BusyScanInterval 120
ErrorScanInterval 6
ZombieScanInterval 3
ProcessLifeTime 3600
SpawnScoreUpLimit 10
SpawnScore 1
TerminationScore 2
MaxProcessCount 250
DefaultMaxClassProcessCount 10
DefaultMinClassProcessCount 0
IPCConnectTimeout 20
IPCCommTimeout 60
</IfModule>

dann alle php5-fcgi-starter ändern in
/var/www/fcgi
PHP_FCGI_CHILDREN=0

oder im Template ändern und den ispcp-rqst-mngr starten

/etc/init.d/apache2 start

dann auch die my.cnf gleich noch mit optimieren, dafür gibts das Script tuning-primer

Allerdings mit 1000 Domains ist schon happig :-)
Wenn es nicht klappt, hilft nur Webs auslagern oder eventl. Mysql und Mailserver extern.
01-15-2009 01:21 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Apache Segmentation fault: - menki - 01-11-2009, 07:04 AM
RE: Apache Segmentation fault: - Top44 - 01-11-2009, 07:10 AM
RE: Apache Segmentation fault: - Janko - 01-11-2009, 07:13 AM
RE: Apache Segmentation fault: - menki - 01-11-2009, 07:34 AM
RE: Apache Segmentation fault: - Janko - 01-11-2009, 07:43 AM
RE: Apache Segmentation fault: - menki - 01-11-2009, 08:50 AM
RE: Apache Segmentation fault: - menki - 01-11-2009, 11:11 AM
RE: Apache Segmentation fault: - Janko - 01-11-2009, 01:10 PM
RE: Apache Segmentation fault: - menki - 01-11-2009, 07:01 PM
RE: Apache Segmentation fault: - menki - 01-12-2009, 06:35 AM
RE: Apache Segmentation fault: - BeNe - 01-12-2009, 05:52 PM
RE: Apache Segmentation fault: - menki - 01-12-2009, 07:51 PM
RE: Apache Segmentation fault: - BeNe - 01-12-2009, 10:31 PM
RE: Apache Segmentation fault: - rbtux - 01-12-2009, 11:37 PM
RE: Apache Segmentation fault: - Lucan - 01-13-2009, 01:02 AM
RE: Apache Segmentation fault: - menki - 01-13-2009, 01:18 AM
RE: Apache Segmentation fault: - BeNe - 01-13-2009, 02:32 AM
RE: Apache Segmentation fault: - Lucan - 01-13-2009, 02:40 AM
RE: Apache Segmentation fault: - BeNe - 01-13-2009, 02:56 AM
RE: Apache Segmentation fault: - rbtux - 01-13-2009, 03:11 AM
RE: Apache Segmentation fault: - menki - 01-13-2009, 04:06 AM
RE: Apache Segmentation fault: - BeNe - 01-13-2009, 06:23 AM
RE: Apache Segmentation fault: - Lucan - 01-13-2009, 07:18 AM
RE: Apache Segmentation fault: - BeNe - 01-13-2009, 07:44 AM
RE: Apache Segmentation fault: - fulltilt - 01-15-2009 01:21 AM
RE: Apache Segmentation fault: - Janko - 01-15-2009, 01:27 AM
RE: Apache Segmentation fault: - mad max - 01-15-2009, 09:15 AM
RE: Apache Segmentation fault: - Janko - 01-15-2009, 09:22 AM
RE: Apache Segmentation fault: - rbtux - 01-15-2009, 09:55 AM
RE: Apache Segmentation fault: - Janko - 01-15-2009, 11:57 AM
RE: Apache Segmentation fault: - menki - 01-15-2009, 09:09 PM
RE: Apache Segmentation fault: - rbtux - 01-15-2009, 09:58 PM
RE: Apache Segmentation fault: - menki - 01-15-2009, 10:14 PM
RE: Apache Segmentation fault: - menki - 01-24-2009, 06:50 PM

Forum Jump:


User(s) browsing this thread: 9 Guest(s)