Jump to content

IIS7, PHP and MySQL Application Pool Issue


SinisterDiesel

Recommended Posts

I'm at a total loss for how to resolve a problem I've been having.  I've got a fresh Windows 2008 R2 Standard 64-Bit server running IIS7 with the following:

 

PHP 5.3.2 (x64) - (running as a FastCGIModule - php-cgi.exe)

MySQL 5.1.45-community (x64)

 

I previously ran the same sites (a shopping cart system and vBulletin) on a Windows2000/IIS5 server with older versions of PHP and MySQL with no problems.

 

Since updating to this new server hardware/software, I'm getting periodic APPLICATION POOL shutdowns.  Each of my PHP sites runs in it's own "classic" application pool, so they generally don't both shut down at the same time.  I had them both in the same application pool for a while and they would both shut down at the same time under that configuration.  The problem manifests itself first with this error:

 

"A process serving application pool 'PoolName' suffered a fatal communication error with the Windows Process Activation Service. The process id was '3368'. The data field contains the error number."

 

And then with this error (when the actual application pool shuts down until I manually restart it):

 

Application pool 'PoolName' is being automatically disabled due to a series of failures in the process(es) serving that application pool.

 

When this happens I get a 503 error returned to any visitors to the website until I notice it and get the application pool restarted.  This PHP BUG REPORT (http://bugs.php.net/bug.php?id=47077&edit=2) seems to be related, and I've posted in that to see if I can find some answers...but I'm really at my wits end with this because I'm just not up on this stuff enough to know how to proceed.

 

Here is my PHP.INI file (cleaned up to just the settings, some private info altered):

engine = On

short_open_tag = On

asp_tags = Off

precision = 14

y2k_compliance = On

output_buffering = 4096

zlib.output_compression = Off

implicit_flush = Off

unserialize_callback_func =

serialize_precision = 100

allow_call_time_pass_reference = Off

safe_mode = Off

safe_mode_gid = Off

safe_mode_include_dir =

safe_mode_exec_dir =

safe_mode_allowed_env_vars = PHP_

safe_mode_protected_env_vars = LD_LIBRARY_PATH

disable_functions =

disable_classes =

expose_php = On

max_execution_time = 30

max_input_time = 60

memory_limit = 128M

error_reporting = E_ALL & ~E_DEPRECATED

display_errors = Off

display_startup_errors = Off

log_errors = On

log_errors_max_len = 1024

ignore_repeated_errors = Off

ignore_repeated_source = Off

report_memleaks = On

track_errors = Off

html_errors = Off

variables_order = "GPCS"

request_order = "GP"

register_globals = Off

register_long_arrays = Off

register_argc_argv = Off

auto_globals_jit = On

post_max_size = 8M

magic_quotes_gpc = Off

magic_quotes_runtime = Off

magic_quotes_sybase = Off

auto_prepend_file =

auto_append_file =

default_mimetype = "text/html"

doc_root =

user_dir =

extension_dir = "letter:\php\ext"

enable_dl = Off

cgi.force_redirect = 0

fastcgi.impersonate = 1;

file_uploads = On

upload_tmp_dir = "letter:\SomeTempDir"

upload_max_filesize = 2M

max_file_uploads = 20

allow_url_fopen = On

allow_url_include = Off

default_socket_timeout = 60

extension=php_curl.dll

extension=php_gd2.dll

extension=php_mysql.dll

extension=php_openssl.dll

date.timezone = America/Phoenix

pdo_mysql.cache_size = 2000

pdo_mysql.default_socket=

define_syslog_variables  = Off

SMTP = mail.someserver.com

smtp_port = 25

sendmail_from = something@something.com

mail.add_x_header = On

sql.safe_mode = Off

odbc.allow_persistent = On

odbc.check_persistent = On

odbc.max_persistent = -1

odbc.max_links = -1

odbc.defaultlrl = 4096

odbc.defaultbinmode = 1

ibase.allow_persistent = 1

ibase.max_persistent = -1

ibase.max_links = -1

ibase.timestampformat = "%Y-%m-%d %H:%M:%S"

ibase.dateformat = "%Y-%m-%d"

ibase.timeformat = "%H:%M:%S"

mysql.allow_local_infile = On

mysql.allow_persistent = On

mysql.cache_size = 2000

mysql.max_persistent = -1

mysql.max_links = -1

mysql.default_port =

mysql.default_socket =

mysql.default_host =

mysql.default_user =

mysql.default_password =

mysql.connect_timeout = 60

mysql.trace_mode = Off

mysqli.max_persistent = -1

mysqli.allow_persistent = On

mysqli.max_links = -1

mysqli.cache_size = 2000

mysqli.default_port = 3306

mysqli.default_socket =

mysqli.default_host =

mysqli.default_user =

mysqli.default_pw =

mysqli.reconnect = Off

mysqlnd.collect_statistics = On

mysqlnd.collect_memory_statistics = Off

pgsql.allow_persistent = On

pgsql.auto_reset_persistent = Off

pgsql.max_persistent = -1

pgsql.max_links = -1

pgsql.ignore_notice = 0

pgsql.log_notice = 0

sybct.allow_persistent = On

sybct.max_persistent = -1

sybct.max_links = -1

sybct.min_server_severity = 10

sybct.min_client_severity = 10

bcmath.scale = 0

session.save_handler = files

session.use_cookies = 1

session.use_only_cookies = 1

session.name = PHPSESSID

session.auto_start = 0

session.cookie_lifetime = 0

session.cookie_path = /

session.cookie_domain =

session.cookie_httponly =

session.serialize_handler = php

session.gc_probability = 1

session.gc_divisor = 1000

session.gc_maxlifetime = 1440

session.bug_compat_42 = Off

session.bug_compat_warn = Off

session.referer_check =

session.entropy_length = 0

session.entropy_file =

session.cache_limiter = nocache

session.cache_expire = 180

session.use_trans_sid = 0

session.hash_function = 0

session.hash_bits_per_character = 5

url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"

mssql.allow_persistent = On

mssql.max_persistent = -1

mssql.max_links = -1

mssql.min_error_severity = 10

mssql.min_message_severity = 10

mssql.compatability_mode = Off

mssql.secure_connection = Off

tidy.clean_output = Off

soap.wsdl_cache_enabled=1

soap.wsdl_cache_dir="/tmp"

soap.wsdl_cache_ttl=86400

soap.wsdl_cache_limit = 5

ldap.max_links = -1

 

If anyone has any ideas about how I can resolve this problem...I WOULD GREATLY APPRECIATE IT!!!  I will answer any questions I can about the server configuration, try anything I need to provided I can figure out how to do it (I've tried playing with the Microsoft Debug Diagnostic v1.1 tool but can't make it do anything useful), etc.

 

THANK YOU VERY MUCH IN ADVANCE!!!

Dennis

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.