Current time: 11-17-2024, 04:23 AM Hello There, Guest! (LoginRegister)


Post Reply 
FastCGI / Error 500 --> mod_fcgid
Author Message
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #50
RE: FastCGI / Error 500 --> mod_fcgid
du solltest evt. das ulimit usw. in der /etc/init.d/apache2 hinterlegen.

Das mit den Filedescriptoren ist so ein typisches Apache Problem Wink


Add the following lines to /etc/sysctl.conf:

fs.file-max = 65536

Run the following shell command:
/sbin/sysctl -w fs.file-max=65536

Note that the value fs.file-max can be equal up to 220=1048576).

Add the following line to beginning of /etc/init.d/apache2 and /usr/sbin/apache2ctl:

ulimit -n `cat /proc/sys/fs/file-max`

Change __FD_SETSIZE value in /usr/include/bits/typesizes.h and /usr/include/nptl/bits/typesizes.h files. It should be like:

#define __FD_SETSIZE 65536

Download and rebuild packages:
# apt-get install apt-src
# apt-src --build install openssl
# dpkg -i libssl*.deb openssl*.deb
# apt-src --build install apache2
# dpkg -i libapr*.deb apache2_*.deb apache2-common*.deb apache2-mpm-worker*.deb apache2-utils*.deb
# /etc/init.d/apache2 restart
# apt-src --build install libc-client2002edebian
# dpkg -i libc-client-dev_2002edebian1-*.deb libc-client2002edebian*.deb mlock*.deb
# apt-src --build install php4
# dpkg -i `ls *deb|grep php4|grep -v apache-mod`

How to prevent your rebuilt packages from overwriting during the system upgrade you can find in the article:

http://www.debian.org/doc/manuals/apt-ho...html#s-pin
11-28-2007 08:44 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
FastCGI / Error 500 --> mod_fcgid - BeNe - 11-23-2007, 03:19 AM
RE: FastCGI / Error 500 - dr4g0nl0rd - 11-23-2007, 07:09 AM
RE: FastCGI / Error 500 - BeNe - 11-23-2007, 07:15 AM
RE: FastCGI / Error 500 - ZooL - 11-23-2007, 07:47 AM
RE: FastCGI / Error 500 - dr4g0nl0rd - 11-23-2007, 10:11 AM
RE: FastCGI / Error 500 - Snatch - 11-23-2007, 05:03 PM
RE: FastCGI / Error 500 - BeNe - 11-23-2007, 05:09 PM
RE: FastCGI / Error 500 - ZooL - 11-23-2007, 08:10 PM
RE: FastCGI / Error 500 - monotek - 11-24-2007, 05:33 AM
RE: FastCGI / Error 500 - BeNe - 11-24-2007, 06:34 AM
RE: FastCGI / Error 500 - monotek - 11-24-2007, 06:37 AM
RE: FastCGI / Error 500 - BeNe - 11-24-2007, 06:40 AM
RE: FastCGI / Error 500 - monotek - 11-24-2007, 06:44 AM
RE: FastCGI / Error 500 - BeNe - 11-24-2007, 06:53 AM
RE: FastCGI / Error 500 - monotek - 11-24-2007, 07:00 AM
RE: FastCGI / Error 500 - BeNe - 11-24-2007, 07:03 AM
RE: FastCGI / Error 500 - monotek - 11-24-2007, 07:08 AM
RE: FastCGI / Error 500 - BeNe - 11-24-2007, 07:32 AM
RE: FastCGI / Error 500 --> mod_fcgid - ephigenie - 11-28-2007 08:44 AM

Forum Jump:


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