DeveloperSide.NET Forums
December 06, 2019, 03:00:45 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: my apache crashes after 2 people going on  (Read 6494 times)
0 Members and 1 Guest are viewing this topic.
night2dark2
Jr. Member
**
Posts: 98


Yeah Dont really ask.

mfaiotto@msn.com
View Profile WWW
« on: April 28, 2007, 11:40:09 PM »

My apache crashes when 2 people connect to my server. it trys starting a new thread then apache crashes. heres what is on my access log and what is on my error log

Quote from: error.log

[Sun Apr 29 02:49:02 2007] [notice] ModSecurity for Apache 2.1.0 configured
[Sun Apr 29 02:49:07 2007] [notice] Apache/2.2.4 (Win32) mod_ssl/2.2.4 OpenSSL/0.9.8e mod_fastcgi/mod_fastcgi-SNAP-0404142202 PHP/5.2.1 mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations
[Sun Apr 29 02:49:07 2007] [notice] Server built: Mar 20 2007 13:02:00
[Sun Apr 29 02:49:07 2007] [notice] Parent: Created child process 940
[Sun Apr 29 02:49:10 2007] [notice] ModSecurity for Apache 2.1.0 configured
[Sun Apr 29 02:49:13 2007] [notice] Child 940: Child process is running
[Sun Apr 29 02:49:13 2007] [notice] Child 940: Acquired the start mutex.
[Sun Apr 29 02:49:13 2007] [notice] Child 940: Starting 250 worker threads.
[Sun Apr 29 02:49:13 2007] [notice] FastCGI: process manager initialized
[Sun Apr 29 02:49:13 2007] [notice] Child 940: Starting thread to listen on port 443.
[Sun Apr 29 02:49:13 2007] [notice] Child 940: Starting thread to listen on port 80.
Terminating on signal SIGTERM(15)

Heres my Access log

Quote from: access.log
Terminating on signal SIGTEM(15)

and heres my apache config its the same as original I doubt its doing any differance.

Quote from: httpd.conf
###*********************************************************
###*  Web-Developer Server Suite                           *
###*  http://sourceforge.net/projects/webdeveloper         *
###*  devside_net@users.sourceforge.net                    *
###*  v1.95-httpd22-ssl                                    *
###*********************************************************


ThreadsPerChild 250
MaxRequestsPerChild  0

Listen 80

ServerRoot "/www/Apache22"
DocumentRoot "/www/webroot"

ServerName localhost:80
ServerAdmin admin@localhost

ErrorLog logs/error.log
LogLevel error

###
# Note that the following LoadModule lines only represent the minimum 'Web-Developer' Suite configuration.
#
# Also note that some of the following LoadModule lines, which are commented out, are still loaded under...
# conf\Suite-extra\*.conf
# conf\extra\*.conf
# ...configuration files -- for modular reasons.
#
# For example:
# mod_deflate is loaded under conf\Suite-extra\mod_deflate_logio.conf and NOT under httpd.conf
# status_module is loaded under conf\extra\httpd-info.conf and NOT under httpd.conf
#
# Check last part of httpd.conf for the Apache base and 'Web-Developer' *.conf files that are included.
###

#LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
#LoadModule asis_module modules/mod_asis.so
#LoadModule auth_basic_module modules/mod_auth_basic.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
#LoadModule authn_anon_module modules/mod_authn_anon.so
#LoadModule authn_dbm_module modules/mod_authn_dbm.so
#LoadModule authn_default_module modules/mod_authn_default.so
#LoadModule authn_file_module modules/mod_authn_file.so
#LoadModule authz_dbm_module modules/mod_authz_dbm.so
#LoadModule authz_default_module modules/mod_authz_default.so
#LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_host_module modules/mod_authz_host.so
#LoadModule authz_user_module modules/mod_authz_user.so
LoadModule autoindex_module modules/mod_autoindex.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
#LoadModule cgi_module modules/mod_cgi.so
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
#LoadModule deflate_module modules/mod_deflate.so
LoadModule dir_module modules/mod_dir.so
#LoadModule env_module modules/mod_env.so
#LoadModule expires_module modules/mod_expires.so
#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule headers_module modules/mod_headers.so
#LoadModule imagemap_module modules/mod_imagemap.so
#LoadModule include_module modules/mod_include.so
#LoadModule info_module modules/mod_info.so
#LoadModule isapi_module modules/mod_isapi.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
#LoadModule mime_magic_module modules/mod_mime_magic.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
#LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
#LoadModule negotiation_module modules/mod_negotiation.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
#LoadModule speling_module modules/mod_speling.so
#LoadModule status_module modules/mod_status.so
#LoadModule unique_id_module modules/mod_unique_id.so
#LoadModule userdir_module modules/mod_userdir.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
<IfDefine SSL>
   LoadModule ssl_module modules/mod_ssl.so
</IfDefine>


DefaultType text/plain

<IfModule dir_module>
    DirectoryIndex index.html index.php index.aspx
</IfModule>

IndexIgnore .htaccess
<FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
</FilesMatch>

<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
    Satisfy all
</Directory>

<Directory "/www/webroot">
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

<IfModule mime_module>
    TypesConfig conf/mime.types
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
</IfModule>


# Apache base configuration
#
# The configuration files in the conf/extra/ directory can be
# included to add extra features or to modify the default configuration of
# the server.

# Server-pool management (MPM specific)
#Include conf/extra/httpd-mpm.conf

# Multi-language error messages
#Include conf/extra/httpd-multilang-errordoc.conf

# Fancy directory listings
Include conf/extra/httpd-autoindex.conf

# Language settings
Include conf/extra/httpd-languages.conf

# User home directories
#Include conf/extra/httpd-userdir.conf

# Real-time info on requests and configuration
Include conf/extra/httpd-info.conf

# Virtual hosts
#Include conf/extra/httpd-vhosts.conf

# Local access to the Apache HTTP Server Manual
Include conf/extra/httpd-manual.conf

# Distributed authoring and versioning (WebDAV)
#Include conf/extra/httpd-dav.conf

# Various default settings
Include conf/extra/httpd-default.conf


# DeveloperSide.NET Server-Suite Configuration
#
# The configuration files in the conf/Suite-extra/ directory can be
# included to add extra features or to modify the default configuration of
# the server.
#
# The specifics are loaded under components.conf...

Include conf/Suite-extra/components.conf


# Security check -- if no php module is loaded, Apache should return 'permissions denied' on php(4,5) all URL requests
<IfModule !php5_module>
<IfModule !php4_module>
   <Location />
      <FilesMatch "\.php[45]?$">
         Order allow,deny
         Deny from all
      </FilesMatch>
   </Location>
</IfModule>
</IfModule>


<IfModule ssl_module>
   Include conf/extra/httpd-ssl.conf
   SSLRandomSeed startup builtin
   SSLRandomSeed connect builtin
</IfModule>

so what is my problem on my Controller I get [error[1]] and it does not specify the error so what seems to be my probleM? I would really need help. I need my apache to host my webserver for registering for my game. << and I really need to know this. because I get my game server to work but not my apache. Right now im having to do the registration manually which I don't like. so can someone tell my why my apache crashes and what I can do to make it backup and to prevent that from happening cuz i cannot keep exiting  my game application to fix this error.


NVM I have it running I just need to know how to stop it from crashing after 2 people go on now. kk thnx bye
« Last Edit: April 29, 2007, 01:31:59 AM by night2dark2 » Logged

Revolution Gamers Host.
Master of all Gunz Server Hosting Needs.
Revolution Gamers International Gaming Commmunity
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #1 on: April 29, 2007, 12:45:23 PM »

'httpd -t' will tell you if you have any syntax problems with the config -- when error[1] is displayed. A File -> RequeryAll will rescan the status.

What is the relation of the game server to Apache? You are just using a php/etc script to register new users? If this is it, the script is probably doing something that is causing Apache to crash. That or something similar.
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
night2dark2
Jr. Member
**
Posts: 98


Yeah Dont really ask.

mfaiotto@msn.com
View Profile WWW
« Reply #2 on: May 03, 2007, 05:02:01 AM »

'httpd -t' will tell you if you have any syntax problems with the config -- when error[1] is displayed. A File -> RequeryAll will rescan the status.

What is the relation of the game server to Apache? You are just using a php/etc script to register new users? If this is it, the script is probably doing something that is causing Apache to crash. That or something similar.

kk never mind I fixed my problem. it wasent in the configuration and it wasent my phpscript register. it was a problem on my main site. :P I was using localhost instead of using $dnsname @ mssql_numrows(totalaccounts) :P that was my error. yeah I can get my apache to work for 82 hours without crashing now. only 1 noob tried to hack my server and got arested. so yeah. I do act fast. i also try not to let my website and my server crash. because I run multiple servers on 8 different computers so basicly my 8 routers use alot of traffic.  about 900,000 people login on my servers per day. i have to keep erasing the log files constantly. so it really was my fault.
Logged

Revolution Gamers Host.
Master of all Gunz Server Hosting Needs.
Revolution Gamers International Gaming Commmunity
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!