Current time: 11-01-2024, 09:36 AM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] How to fix 500 errors
Author Message
pl.zenon Offline
Junior Member
*

Posts: 10
Joined: Nov 2008
Reputation: 0
Post: #1
[SOLVED] How to fix 500 errors
See THIS post for solution

-----

Hello,

I installed ispCP Panel and most functions works fine but I have problem with conifguration & optimization fcgi. I have ~200 members online and a lot of them complain, because they're receiving 500 errors.

Could you give me solutions please how to config server with that load for the best performance without tons of errors?


apache2.conf:
Quote:ExtendedStatus On
Timeout 30
KeepAlive Off

<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 50
</IfModule>

<IfModule mpm_worker_module>
StartServers 5
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 50
</IfModule>

HostnameLookups Off

ServerTokens Prod
ServerSignature Off


fastcgi_ispcp.conf
Quote: FastCgiConfig -minProcesses 5 \
-maxProcesses 400 \
-maxClassProcesses 100 \
-multiThreshold 80 \
-killInterval 60 \
-startDelay 5 \
-idle-timeout 30
# -singleThreshold 100 \
# -autoUpdate \
# -pass-header HTTP_AUTHORIZATION


php5-fcgi-starter for site where there are 200 members online

Quote:export PHPRC
PHP_FCGI_CHILDREN=10
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=1000
export PHP_FCGI_MAX_REQUESTS

php.ini for this site:
Quote:output_buffering = Off
zlib.output_compression = On
safe_mode = Off
disable_functions = show_source, system, shell_exec, passthru, exec, phpinfo, shell, symlink, popen, proc_open

max_execution_time = 30 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
;max_input_nesting_level = 64 ; Maximum input variable nesting level
memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)

display_errors = Off
log_errors = On


Software versions:

Apache 2.2.3
PHP 5.2.0-8+etch13

Thank you very much for any help...
(This post was last modified: 11-15-2008 09:44 AM by pl.zenon.)
11-05-2008 01:32 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
[SOLVED] How to fix 500 errors - pl.zenon - 11-05-2008 01:32 PM
RE: Server configuration request - pgentoo - 11-05-2008, 03:41 PM
RE: Server configuration request - BeNe - 11-05-2008, 05:42 PM
RE: Server configuration request - pgentoo - 11-06-2008, 03:11 AM
RE: Server configuration request - pgentoo - 11-06-2008, 08:57 AM
RE: [SOLVED] How to fix 500 errors - smoko - 12-27-2008, 07:08 AM
RE: [SOLVED] How to fix 500 errors - nikih - 12-27-2008, 05:14 PM
RE: [SOLVED] How to fix 500 errors - Wut - 01-07-2009, 12:36 PM
RE: [SOLVED] How to fix 500 errors - leha - 04-01-2009, 09:18 PM
RE: [SOLVED] How to fix 500 errors - cell - 04-02-2009, 12:20 AM
RE: [SOLVED] How to fix 500 errors - cell - 04-02-2009, 01:30 AM

Forum Jump:


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