1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Apache / PHP Optimal Settings - Apache Crash

Discussion in 'Apache' started by combat, May 16, 2007.

  1. #1
    Hello, i have problems with my apache.

    I get ~ 1000 Unique Visitors / Day - 70% of them in 3 hours. In this time my server load goes very high and apache tasks are rising like the code below.

    I have a Core 2 Duo 1,8Ghz & 1 GB Ram
    On teh server are 8 domains with PHProxy 0,5 Beta 2 script
    Apache/2.0.54 & PHP 5.0.4 OS Fedora
    MPM: Prefork

    Anyone ideas :confused:

    Tasks: 210 total, 123 running,  87 sleeping,   0 stopped,   0 zombie
    Cpu(s): 92.4% us,  6.0% sy,  0.0% ni,  0.0% id,  0.0% wa,  0.0% hi,  1.6% si
    Mem:   1026248k total,   998336k used,    27912k free,    15916k buffers
    Swap:  2040244k total,     4892k used,  2035352k free,   493944k cached
    
    PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    16664 apache    16   0 52480  28m 3904 R  4.8  2.8   0:00.56 httpd
    16632 apache    16   0 52672  28m 4012 R  4.6  2.8   0:00.86 httpd
    16538 apache    16   0 52476  28m 4012 R  3.8  2.8   0:01.36 httpd
    16579 apache    15   0 51928  27m 4012 S  3.8  2.8   0:00.88 httpd
    and so on......
    
    Code (markup):
    Or this:

    top - 04:52:25 up 19 days,  7:19,  1 user,  load average: 0.88, 10.04, 11.31
    Tasks: 142 total,   3 running, 139 sleeping,   0 stopped,   0 zombie
    Cpu(s): 99.2% us, 12.9% sy,  0.0% ni, 30.4% id,  0.0% wa,  0.2% hi,  1.3% si
    Mem:   1026248k total,   620692k used,   405556k free,    11196k buffers
    Swap:  2040244k total,     4892k used,  2035352k free,   301844k cached
    
    PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    16823 apache    20   0 54340  29m 4084 R 91.4  3.0   0:05.55 httpd
    17146 apache    15   0 51740  27m 4064 S  2.0  2.7   0:01.28 httpd
    16963 apache    15   0 51608  27m 4484 S  1.3  2.8   0:01.57 httpd
    and so on...
    
    Code (markup):
    PHP.ini
    
    ;
    ; - register_globals = Off         [Security, Performance]
    ;    ; - register_long_arrays = Off     [Performance]
    ;    ; - display_errors = Off           [Security]
    ;    ; - log_errors = On                [Security]
    ;     ; - output_buffering = 4096        [Performance]
    ;     ; - register_argc_argv = Off       [Performance]
    ;     ; - magic_quotes_gpc = Off         [Performance]
    ;     
    ; - variables_order = "GPCS"       [Performance]
    ;     ; - error_reporting = E_ALL        [Code Cleanliness, Security(?)]
    ;     ; - allow_call_time_pass_reference = Off     [Code cleanliness]
    ;    
    
    ;;;;;;;;;;;;;;;;;;;;
    ; Language Options ;
    ;;;;;;;;;;;;;;;;;;;;
    
    
    engine = On
    
    ; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
    zend.ze1_compatibility_mode = Off
    
    short_open_tag = On
    
    asp_tags = Off
    precision    =  14
    
    y2k_compliance = On
    
    output_buffering = 4096
    
    ;output_handler =
    
    zlib.output_compression = On
    
    ;zlib.output_handler =
    
    implicit_flush = Off
    
    unserialize_callback_func=
    
    serialize_precision = 100
    
    allow_call_time_pass_reference = Off
    
    ;
    ; Safe Mode
    ;
    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
    
    ;open_basedir =
    
    disable_functions =
    
    disable_classes =
    
    ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ; <span style="color: ???????"> would work.
    ;highlight.string  = #DD0000
    ;highlight.comment = #FF9900
    ;highlight.keyword = #007700
    ;highlight.bg      = #FFFFFF
    ;highlight.default = #0000BB
    ;highlight.html    = #000000
    
    
    ;
    expose_php = On
    
    
    ;;;;;;;;;;;;;;;;;;;
    ; Resource Limits ;
    ;;;;;;;;;;;;;;;;;;;
    
    max_execution_time = 30    
    max_input_time = 60	
    memory_limit = 32M
    
    
    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
    
    ;docref_root = "/phpmanual/"
    ;docref_ext = .html
    
    
    ;error_prepend_string = "<font color=ff0000>"
    
    
    ;error_append_string = "</font>"
    
    
    ;error_log = filename
    
    
    ;error_log = syslog
    
    
    ;;;;;;;;;;;;;;;;;
    ; Data Handling ;
    ;;;;;;;;;;;;;;;;;
    ; Default is "&".
    ;arg_separator.output = "&amp;"
    
    ;arg_separator.input = ";&"
    
    variables_order = "EGPCS"
    
    register_globals = Off
    register_long_arrays = Off
    
    register_argc_argv = On
    
    
    post_max_size =25M
    
    ; Magic quotes
    ;
    
    
    magic_quotes_gpc = Off
    
    
    magic_quotes_runtime = Off
    
    magic_quotes_sybase = Off
    
    auto_prepend_file =
    auto_append_file =
    
    default_mimetype = "text/html"
    ;default_charset = "iso-8859-1"
    
    
    ;always_populate_raw_post_data = Off
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;
    ; Paths and Directories ;
    ;;;;;;;;;;;;;;;;;;;;;;;;;
    
    ; UNIX: "/path1:/path2"
    ;include_path = ".:/php/includes"
    ;
    ; Windows: "\path1;\path2"
    ;include_path = ".;c:\php\includes"
    
    include_path = ".:"
    
    doc_root =
    
    user_dir =
    
    extension_dir = "/usr/lib/php/modules"
    
    enable_dl = On
    
    ; ; cgi.force_redirect = 1
    
    ; cgi.nph = 1
    
    ; cgi.redirect_status_env = ;
    
    ; fastcgi.impersonate = 1;
    
    ;cgi.rfc2616_headers = 0
    
    
    file_uploads = On
    
    
    ;upload_tmp_dir =
    
    upload_max_filesize = 2M
    
    
    allow_url_fopen = On
    
    
    ;from="john@doe.com"
    
    ; ; user_agent="PHP"
    
    
    default_socket_timeout = 60
    
    ; auto_detect_line_endings = Off
    
    
    define_syslog_variables  = Off
    SMTP = localhost
    smtp_port = 25
    
    ;sendmail_from = me@example.com
    
    sendmail_path = /usr/sbin/sendmail -t -i
    
    ;mail.force_extra_parameters =
    
    [SQL]
    sql.safe_mode = Off
    
    [ODBC]
    ;odbc.default_db    =  Not yet implemented
    ;odbc.default_user  =  Not yet implemented
    ;odbc.default_pw    =  Not yet implemented
    
    
    odbc.allow_persistent = On
    
    
    odbc.check_persistent = On
    
    .
    odbc.max_persistent = -1
    
    
    odbc.max_links = -1
    
    
    odbc.defaultlrl = 4096
    
    odbc.defaultbinmode = 1
    
    [MySQL]
    ; Allow or prevent persistent links.
    mysql.allow_persistent = On
    
    
    mysql.max_persistent = -1
    
    
    mysql.max_links = -1
    
    mysql.default_port =
    
    ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ; MySQL defaults.
    mysql.default_socket =
    
    ; Default host for mysql_connect() (doesn't apply in safe mode).
    mysql.default_host =
    
    ;mysql.default_user =
    
    mysql.default_password =
    
    ; Maximum time (in secondes) for connect timeout. -1 means no limit
    mysql.connect_timeout = 60
    
    mysql.trace_mode = Off
    
    [MySQLI]
    
    ; Maximum number of links.  -1 means no limit.
    mysqli.max_links = -1
    
    mysqli.default_port = 3306
    
    mysqli.default_socket =
    
    mysqli.default_host =
    
    
    mysqli.default_user =
    mysqli.default_password =
    
    mysqli.reconnect = Off
    
    [mSQL]
    
    msql.allow_persistent = On
    
    
    msql.max_persistent = -1
    
    
    msql.max_links = -1
    
    [PostgresSQL]
    
    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
    
    [Sybase]
    sybase.allow_persistent = On
    
    sybase.max_persistent = -1
    
    
    sybase.max_links = -1
    
    
    
    sybase.min_error_severity = 10
    
    sybase.min_message_severity = 10
    
    sybase.compatability_mode = Off
    
    [Sybase-CT]
    sybct.allow_persistent = On
    
    ; Maximum number of persistent links.  -1 means no limit.
    sybct.max_persistent = -1
    
    ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    sybct.max_links = -1
    
    ; Minimum server message severity to display.
    sybct.min_server_severity = 10
    
    ; Minimum client message severity to display.
    sybct.min_client_severity = 10
    
    [dbx]
    ; returned column names can be converted for compatibility reasons
    ; possible values for dbx.colnames_case are
    ; "unchanged" (default, if not set)
    ; "lowercase"
    ; "uppercase"
    ; the recommended default is either upper- or lowercase, but
    ; unchanged is currently set for backwards compatibility
    dbx.colnames_case = "lowercase"
    
    [bcmath]
    ; Number of decimal digits for all bcmath functions.
    bcmath.scale = 0
    
    [browscap]
    ;browscap = extra/browscap.ini
    
    [Informix]
    ifx.default_host =
    
    ifx.default_user =
    
    ifx.default_password =
    
    
    ifx.allow_persistent = On
    
    
    ifx.max_persistent = -1
    
    ifx.max_links = -1
    
    
    ifx.textasvarchar = 0
    
    
    ifx.byteasvarchar = 0
    
    
    ifx.charasvarchar = 0
    
    ifx.blobinfile = 0
    
    ifx.nullformat = 0
    
    [Session]
    session.save_handler = files
    
    
    session.save_path = "/var/lib/php/session"
    
    
    session.use_cookies = 1
    
    session.name = PHPSESSID
    
    session.auto_start = 0
    
    session.cookie_lifetime = 0
    
    session.cookie_path = /
    
    session.cookie_domain =
    
    session.serialize_handler = php
    
    and so on...
    
    Code (markup):
    httpd.conf
    
    Timeout 150
    
    #
    KeepAlive Off
    
    #
    MaxKeepAliveRequests 100
    
    #
    KeepAliveTimeout 15
    
    # 
    <IfModule prefork.c>
    StartServers      10
    MinSpareServers   10
    MaxSpareServers   20
    ServerLimit      256
    MaxClients       256
    MaxRequestsPerChild 200
    </IfModule>
    
    # <IfModule worker.c>
    StartServers         2
    MaxClients         150
    MinSpareThreads     25
    MaxSpareThreads     75 
    ThreadsPerChild     25
    MaxRequestsPerChild  0
    </IfModule>
    #
    LoadModule access_module modules/mod_access.so
    LoadModule auth_module modules/mod_auth.so
    LoadModule auth_anon_module modules/mod_auth_anon.so
    LoadModule auth_dbm_module modules/mod_auth_dbm.so
    LoadModule auth_digest_module modules/mod_auth_digest.so
    LoadModule ldap_module modules/mod_ldap.so
    LoadModule auth_ldap_module modules/mod_auth_ldap.so
    LoadModule include_module modules/mod_include.so
    LoadModule log_config_module modules/mod_log_config.so
    LoadModule logio_module modules/mod_logio.so
    LoadModule env_module modules/mod_env.so
    LoadModule mime_magic_module modules/mod_mime_magic.so
    LoadModule cern_meta_module modules/mod_cern_meta.so
    LoadModule expires_module modules/mod_expires.so
    LoadModule deflate_module modules/mod_deflate.so
    LoadModule headers_module modules/mod_headers.so
    LoadModule usertrack_module modules/mod_usertrack.so
    LoadModule setenvif_module modules/mod_setenvif.so
    LoadModule mime_module modules/mod_mime.so
    LoadModule dav_module modules/mod_dav.so
    LoadModule status_module modules/mod_status.so
    LoadModule autoindex_module modules/mod_autoindex.so
    LoadModule asis_module modules/mod_asis.so
    LoadModule info_module modules/mod_info.so
    LoadModule dav_fs_module modules/mod_dav_fs.so
    LoadModule vhost_alias_module modules/mod_vhost_alias.so
    LoadModule negotiation_module modules/mod_negotiation.so
    LoadModule dir_module modules/mod_dir.so
    LoadModule actions_module modules/mod_actions.so
    LoadModule speling_module modules/mod_speling.so
    LoadModule userdir_module modules/mod_userdir.so
    LoadModule alias_module modules/mod_alias.so
    LoadModule rewrite_module modules/mod_rewrite.so
    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
    LoadModule proxy_connect_module modules/mod_proxy_connect.so
    LoadModule cache_module modules/mod_cache.so
    LoadModule suexec_module modules/mod_suexec.so
    LoadModule disk_cache_module modules/mod_disk_cache.so
    LoadModule file_cache_module modules/mod_file_cache.so
    LoadModule mem_cache_module modules/mod_mem_cache.so
    LoadModule cgi_module modules/mod_cgi.so
    LoadModule jk_module /usr/lib/httpd/modules/mod_jk.so
    
    #
    Include conf.d/*.conf
    
    #
    #ExtendedStatus On
    
    #
    User apache
    Group apache
    
    ### Section 2: 'Main' server configuration
    #
    ServerAdmin root@localhost
    
    #
    #ServerName www.example.com:80
    
    #
    UseCanonicalName Off
    
    #
    DocumentRoot "/var/www/html"
    
    #
    <Directory />
        Options FollowSymLinks
        AllowOverride None
    </Directory>
    
    #
    <Directory "/var/www/html">
    
    #
        Options Indexes FollowSymLinks
    
    #
        AllowOverride None
    
    #
        Order allow,deny
        Allow from all
    
    </Directory>
    
    #
    
    <IfModule mod_userdir.c>
           #
        UserDir disable
    
           # 
        #UserDir public_html
    
    </IfModule>
    
    #
    #<Directory /home/*/public_html>
    #    AllowOverride FileInfo AuthConfig Limit
    #    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    #    <Limit GET POST OPTIONS>
    #        Order allow,deny
    #        Allow from all
    #    </Limit>
    #    <LimitExcept GET POST OPTIONS>
    #        Order deny,allow
    #        Deny from all
    #    </LimitExcept>
    #</Directory>
    
    #
    DirectoryIndex at_domains_index.html index.html index.html.var index.shtml index.cfm index.php index.htm
    
    #
    AccessFileName .htaccess
    
    #
    <Files ~ "^\.ht">
        Order allow,deny
        Deny from all
    </Files>
    
    #
    TypesConfig /etc/mime.types
    
    
    #
    DefaultType text/plain
    
    #
    <IfModule mod_mime_magic.c>
    #   MIMEMagicFile /usr/share/magic.mime
        MIMEMagicFile conf/magic
    </IfModule>
    
    #
    HostnameLookups Off
    
    #
    #EnableMMAP off
    
    #
    #EnableSendfile off
    
    #
    ErrorLog logs/error_log
    
    #
    LogLevel warn
    
    #
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    LogFormat "%{Referer}i -> %U" referer
    LogFormat "%{User-agent}i" agent
    
    # "combinedio" includes actual counts of actual bytes received (%I) and sent (%O); this
    # requires the mod_logio module to be loaded.
    #LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    
    #
    #CustomLog logs/access_log common
    
    #
    #CustomLog logs/referer_log referer
    #CustomLog logs/agent_log agent
    #
    CustomLog logs/access_log combined
    
    #
    ServerSignature On
    
    #
    Alias /icons/ "/var/www/icons/"
    
    <Directory "/var/www/icons">
        Options Indexes MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>
    
    #
    # WebDAV module configuration section.
    # 
    <IfModule mod_dav_fs.c>
        # Location of the WebDAV lock database.
        DAVLockDB /var/lib/dav/lockdb
    </IfModule>
    
    #
    ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
    
    #
    # "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    #
    <Directory "/var/www/cgi-bin">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
    </Directory>
    
    #
    IndexOptions FancyIndexing VersionSort NameWidth=*
    
    #
    # AddIcon* directives tell the server which icon to show for different
    # files or filename extensions.  These are only displayed for
    # FancyIndexed directories.
    #
    AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
    
    AddIconByType (TXT,/icons/text.gif) text/*
    AddIconByType (IMG,/icons/image2.gif) image/*
    AddIconByType (SND,/icons/sound2.gif) audio/*
    AddIconByType (VID,/icons/movie.gif) video/*
    
    AddIcon /icons/binary.gif .bin .exe
    AddIcon /icons/binhex.gif .hqx
    AddIcon /icons/tar.gif .tar
    AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
    AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
    AddIcon /icons/a.gif .ps .ai .eps
    AddIcon /icons/layout.gif .html .shtml .htm .pdf
    AddIcon /icons/text.gif .txt
    AddIcon /icons/c.gif .c
    AddIcon /icons/p.gif .pl .py
    AddIcon /icons/f.gif .for
    AddIcon /icons/dvi.gif .dvi
    AddIcon /icons/uuencoded.gif .uu
    AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
    AddIcon /icons/tex.gif .tex
    AddIcon /icons/bomb.gif core
    
    AddIcon /icons/back.gif ..
    AddIcon /icons/hand.right.gif README
    AddIcon /icons/folder.gif ^^DIRECTORY^^
    AddIcon /icons/blank.gif ^^BLANKICON^^
    
    #
    DefaultIcon /icons/unknown.gif
    
    #
    #AddDescription "GZIP compressed document" .gz
    #AddDescription "tar archive" .tar
    #AddDescription "GZIP compressed tar archive" .tgz
    
    # directory indexes. 
    ReadmeName README.html
    HeaderName HEADER.html
    
    #
    IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
    
    #
    # DefaultLanguage nl
    #
    #
    # Catalan (ca) - Croatian (hr) - Czech (cs) - Danish (da) - Dutch (nl)
    # English (en) - Esperanto (eo) - Estonian (et) - French (fr) - German (de)
    # Greek-Modern (el) - Hebrew (he) - Italian (it) - Japanese (ja)
    # Korean (ko) - Luxembourgeois* (ltz) - Norwegian Nynorsk (nn)
    # Norwegian (no) - Polish (pl) - Portugese (pt)
    # Brazilian Portuguese (pt-BR) - Russian (ru) - Swedish (sv)
    # Simplified Chinese (zh-CN) - Spanish (es) - Traditional Chinese (zh-TW)
    #
    AddLanguage ca .ca
    AddLanguage cs .cz .cs
    AddLanguage da .dk
    AddLanguage de .de
    AddLanguage el .el
    AddLanguage en .en
    AddLanguage eo .eo
    AddLanguage es .es
    AddLanguage et .et
    AddLanguage fr .fr
    AddLanguage he .he
    AddLanguage hr .hr
    AddLanguage it .it
    AddLanguage ja .ja
    AddLanguage ko .ko
    AddLanguage ltz .ltz
    AddLanguage nl .nl
    AddLanguage nn .nn
    AddLanguage no .no
    AddLanguage pl .po
    AddLanguage pt .pt
    AddLanguage pt-BR .pt-br
    AddLanguage ru .ru
    AddLanguage sv .sv
    AddLanguage zh-CN .zh-cn
    AddLanguage zh-TW .zh-tw
    
    #
    LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW
    
    #
    ForceLanguagePriority Prefer Fallback
    
    #
    #AddDefaultCharset UTF-8
    
    #
    #AddType application/x-tar .tgz
    
    #
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz
    
    #
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    
    #
    #AddHandler cgi-script .cgi
    
    #
    #AddHandler send-as-is asis
    
    #
    AddHandler type-map var
    
    #
    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml
    
    # Format: Action media/type /cgi-script/location
    # Format: Action handler-name /cgi-script/location
    #
    
    #
    # Some examples:
    #ErrorDocument 500 "The server made a boo boo."
    #ErrorDocument 404 /missing.html
    #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
    #ErrorDocument 402 http://www.example.com/subscription_info.html
    #
    
    
    Alias /error/ "/var/www/error/"
    
    <IfModule mod_negotiation.c>
    <IfModule mod_include.c>
        <Directory "/var/www/error">
            AllowOverride None
            Options IncludesNoExec
            AddOutputFilter Includes html
            AddHandler type-map var
            Order allow,deny
            Allow from all
            LanguagePriority en es de fr
            ForceLanguagePriority Prefer Fallback
        </Directory>
    
    #    ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
    #    ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
    #    ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
    #    ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
    #    ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
    #    ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
    #    ErrorDocument 410 /error/HTTP_GONE.html.var
    #    ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
    #    ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
    #    ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
    #    ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
    #    ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
    #    ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
    #    ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
    #    ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
    #    ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
    #    ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
    
    </IfModule>
    </IfModule>
    
    #
    BrowserMatch "Mozilla/2" nokeepalive
    BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
    BrowserMatch "RealPlayer 4\.0" force-response-1.0
    BrowserMatch "Java/1\.0" force-response-1.0
    BrowserMatch "JDK/1\.0" force-response-1.0
    #
    BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
    BrowserMatch "^WebDrive" redirect-carefully
    BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
    BrowserMatch "^gnome-vfs" redirect-carefully
    
    .
    #
    #<Location /server-status>
    #    SetHandler server-status
    #    Order deny,allow
    #    Deny from all
    #    Allow from .example.com
    #</Location>
    
    #
    #<Location /server-info>
    #    SetHandler server-info
    #    Order deny,allow
    #    Deny from all
    #    Allow from .example.com
    #</Location>
    
    #
    #<IfModule mod_proxy.c>
    #ProxyRequests On
    #
    #<Proxy *>
    #    Order deny,allow
    #    Deny from all
    #    Allow from .example.com
    ......................blablup
    Code (markup):
     
    combat, May 16, 2007 IP
  2. mdvaldosta

    mdvaldosta Peon

    Messages:
    4,079
    Likes Received:
    362
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You shouldn't have near that many tasks running with just 100 uniques / day. Looks like maybe one of your httpd processes is hung up. Restart httpd and it'll probably get better.
     
    mdvaldosta, May 16, 2007 IP
  3. combat

    combat Peon

    Messages:
    378
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Sorry, 1000 UV / Day

    Its only in my Primetime from 18-21 hour so bad. Other time, when i get little traffic i have a load of 0 and ~ 80 sleepin and 0-1 active tasks.

    I have now restart httpd but after restart the load goes high but now is my primetime :(
     
    combat, May 16, 2007 IP