Results 1 to 10 of 10
  1. #1
    Join Date
    May 2009
    Posts
    222
    Plugin Contributions
    1

    Default My Database keeps going into SLEEP mode. Apparently it needs optimization

    Hi Everyone!

    I have a problem. My database keeps going into sleep mode and the site runs very slowly


    arina: [root@vps ~]# mysqladmin pr
    Sarina: +----+------------------+-----------+------------------------+---------+------+-------+------------------+
    Sarina: | Id | User ## ## ## ## ## ## | Host ## ## ##| db ## ## ## ## ## ## ## ## ## ## | Command | Time | State | Info ## ## ## ## ## ## |
    Sarina: +----+------------------+-----------+------------------------+---------+------+-------+------------------+
    Sarina: | 17 | gogo_xxx ## | localhost | mydb_databasename ## ## | Sleep ## | 151 ##| ## ## ## | ## ## ## ## ## ## ## ## ##|
    Sarina: | 18 | gogo_xxx ## | localhost | mydb_databasename ## ## | Sleep ## | 150 ##| ## ## ## | ## ## ## ## ## ## ## ## ##|
    Sarina: | 31 | gogo_xxx ## | localhost | mydb_databasename ## ## | Sleep ## | 42 ## | ## ## ## | ## ## ## ## ## ## ## ## ##|
    Sarina: | 36 | gogo_xxx ## | localhost | mydb_databasename ## ## | Sleep ## | 36 ## | ## ## ## | ## ## ## ## ## ## ## ## ##|
    Sarina: The DB mydb_databasename is going ion sleep state



    This is a chat with the hosting support who suggest that i need to contact my developer to optimize the database. Well i dont have a developer i made this my self so how can i "optimize the database"

    Or is it something wrong with hosting company they try to fob me off.

    The temporary fix seems to be to restart http and sql service every fee days

    Thanks

  2. #2
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: My Database keeps going into SLEEP mode. Apparently it needs optimization

    You should probably find a new host. Try here:
    http://www.zen-cart.com/index.php?ma...es&pages_id=10
    Last edited by Kim; 24 Feb 2011 at 06:08 AM.

  3. #3
    Join Date
    May 2009
    Posts
    222
    Plugin Contributions
    1

    Default Re: My Database keeps going into SLEEP mode. Apparently it needs optimization

    Hi
    Thanks for your reply. What about a databse repair in cpanel?

    What does that do exactly (im scared to click the button!)

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: My Database keeps going into SLEEP mode. Apparently it needs optimization

    Is this a Zen Cart site?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: My Database keeps going into SLEEP mode. Apparently it needs optimization

    Quote Originally Posted by creamcrackers View Post
    Hi
    Thanks for your reply. What about a databse repair in cpanel?

    What does that do exactly (im scared to click the button!)
    You can try it, but it probably will not help. You aren't getting any errors so there likely isn't anything to 'repair'. It's good practice to make a backup first anyways. That way if something goes wrong, you can reinstall the backup.

  6. #6
    Join Date
    May 2009
    Posts
    222
    Plugin Contributions
    1

    Default Re: My Database keeps going into SLEEP mode. Apparently it needs optimization

    I go this from the hosting support...



    Phil: can you let me know the setting your developer asked to be changed on the server ?

    Phil: I'll make those changes

    marc: he didnt

    marc: i sent him the database and he said that should work on any LAMP platform as it is

    marc: the mysql server keeps going into sleep mode

    Phil: the mysql server is ok

    marc: if you see the logs.. you can see that it goes into sleep mode a lot

    Phil: but the query to the databse keeps getting into the sllep mode

    Phil: sleep

  7. #7
    Join Date
    May 2009
    Posts
    222
    Plugin Contributions
    1

    Default Re: My Database keeps going into SLEEP mode. Apparently it needs optimization

    Here are my php info settings

    PHP Version: 5.2.6 (Zend: 2.2.0) PHP Memory Limit: 64M PHP Safe Mode: Off
    PHP File Uploads: On Max Size: 2M POST Max Size: 8M
    Database Data Size: 18,163 kB Database Index Size: 1,824 kB



    PHP Logo
    PHP Version 5.2.6

    System Linux vps.xxxxxxx.com 2.6.18-028stab070.2-PAE #1 SMP Tue Jul 6 14:42:03 MSD 2010 i686
    Build Date May 18 2009 03:08:17
    Configure Command './configure' '--enable-bcmath' '--enable-calendar' '--enable-dbase' '--enable-exif' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-pdo=shared' '--enable-soap' '--enable-sockets' '--enable-wddx' '--enable-zip' '--prefix=/usr/local' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-bz2' '--with-curl=/opt/curlssl/' '--with-curlwrappers' '--with-freetype-dir=/usr' '--with-gd' '--with-gettext' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libexpat-dir=/usr' '--with-libxml-dir=/opt/xml2' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli=/usr/bin/mysql_config' '--with-openssl=/usr' '--with-openssl-dir=/usr' '--with-pdo-mysql=shared' '--with-pdo-sqlite=shared' '--with-png-dir=/usr' '--with-pspell' '--with-sqlite=shared' '--with-tidy=/opt/tidy/' '--with-ttf' '--with-xmlrpc' '--with-xpm-dir=/usr/X11R6' '--with-xsl=/opt/xslt/' '--with-zlib' '--with-zlib-dir=/usr'
    Server API Apache 2.0 Handler
    Virtual Directory Support disabled
    Configuration File (php.ini) Path /usr/local/lib
    Loaded Configuration File /usr/local/lib/php.ini
    PHP API 20041225
    PHP Extension 20060613
    Zend Extension 220060519
    Debug Build no
    Thread Safety disabled
    Zend Memory Manager enabled
    IPv6 Support enabled
    Registered PHP Streams zip, php, file, data, tftp, ftp, telnet, dict, ldap, http, https, ftps, compress.bzip2, compress.zlib
    Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
    Registered Stream Filters string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, bzip2.*, zlib.*

    Zend logo This program makes use of the Zend Scripting Language Engine:
    Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
    with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
    with the ionCube PHP Loader v3.1.34, Copyright (c) 2002-2009, by ionCube Ltd., and
    with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
    with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies

    PHP Credits
    Configuration
    PHP Core
    Directive Local Value Master Value
    allow_call_time_pass_reference On On
    allow_url_fopen On On
    allow_url_include Off Off
    always_populate_raw_post_data Off Off
    arg_separator.input & &
    arg_separator.output & &
    asp_tags Off Off
    auto_append_file no value no value
    auto_globals_jit On On
    auto_prepend_file no value no value
    browscap no value no value
    default_charset no value no value
    default_mimetype text/html text/html
    define_syslog_variables Off Off
    disable_classes no value no value
    disable_functions no value no value
    display_errors On On
    display_startup_errors Off Off
    doc_root no value no value
    docref_ext no value no value
    docref_root no value no value
    enable_dl On On
    error_append_string no value no value
    error_log error_log error_log
    error_prepend_string no value no value
    error_reporting 6135 6135
    expose_php On On
    extension_dir /usr/local/lib/php/extensions/no-debug-non-zts-20060613 /usr/local/lib/php/extensions/no-debug-non-zts-20060613
    file_uploads On On
    highlight.bg #FFFFFF #FFFFFF
    highlight.comment #FF8000 #FF8000
    highlight.default #0000BB #0000BB
    highlight.html #000000 #000000
    highlight.keyword #007700 #007700
    highlight.string #DD0000 #DD0000
    html_errors On On
    ignore_repeated_errors Off Off
    ignore_repeated_source Off Off
    ignore_user_abort Off Off
    implicit_flush Off Off
    include_path .:/usr/lib/php:/usr/local/lib/php .:/usr/lib/php:/usr/local/lib/php
    log_errors On On
    log_errors_max_len 1024 1024
    magic_quotes_gpc On On
    magic_quotes_runtime Off Off
    magic_quotes_sybase Off Off
    mail.force_extra_parameters no value no value
    max_execution_time 60 30
    max_input_nesting_level 64 64
    max_input_time 60 60
    memory_limit 64M 64M
    open_basedir no value no value
    output_buffering no value no value
    output_handler no value no value
    post_max_size 8M 8M
    precision 12 12
    realpath_cache_size 16K 16K
    realpath_cache_ttl 120 120
    register_argc_argv On On
    register_globals On On
    register_long_arrays On On
    report_memleaks On On
    report_zend_debug On On
    safe_mode Off Off
    safe_mode_exec_dir no value no value
    safe_mode_gid Off Off
    safe_mode_include_dir no value no value
    sendmail_from no value no value
    sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
    serialize_precision 100 100
    short_open_tag On On
    SMTP localhost localhost
    smtp_port 25 25
    sql.safe_mode Off Off
    track_errors Off Off
    unserialize_callback_func no value no value
    upload_max_filesize 2M 2M
    upload_tmp_dir no value no value
    user_dir no value no value
    variables_order EGPCS EGPCS
    xmlrpc_error_number 0 0
    xmlrpc_errors Off Off
    y2k_compliance On On
    zend.ze1_compatibility_mode Off Off

    apache2handler
    Apache Version Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.6
    Apache API Version 20051115
    Server Administrator [email protected]
    Hostnameort xxxxxxx.com:0
    User/Group nobody(99)/99
    Max Requests Per Child: 10000 - Keep Alive: on - Max Per Connection: 100
    Timeouts Connection: 300 - Keep-Alive: 5
    Virtual Server Yes
    Server Root /usr/local/apache
    Loaded Modules core mod_authn_file mod_authn_default mod_authz_host mod_authz_groupfile mod_authz_user mod_authz_default mod_auth_basic mod_cache mod_mem_cache mod_include mod_filter mod_log_config mod_logio mod_env mod_expires mod_headers mod_setenvif mod_proxy mod_proxy_connect mod_proxy_ftp mod_proxy_http mod_proxy_ajp mod_proxy_balancer mod_ssl prefork http_core mod_mime mod_status mod_autoindex mod_asis mod_info mod_suexec mod_cgi mod_negotiation mod_dir mod_actions mod_userdir mod_alias mod_rewrite mod_so mod_auth_passthrough mod_bwlimited mod_fpcgid mod_bw mod_php5

    Directive Local Value Master Value
    engine 1 1
    last_modified 0 0
    xbithack 0 0

    Apache Environment
    Variable Value
    HTTP_HOST www.xxxxxxx.com
    HTTP_USER_AGENT Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15
    HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    HTTP_ACCEPT_LANGUAGE en-us,en;q=0.5
    HTTP_ACCEPT_ENCODING gzip,deflate
    HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7
    HTTP_KEEP_ALIVE 115
    HTTP_CONNECTION keep-alive
    HTTP_REFERER http://www.xxxxxxx.com/xxxxxxxadmin/index.php
    HTTP_COOKIE cookie_test=please_accept_for_session; __utma=115048721.660410142.1298126214.1300351403.1300517643.35; __utmz=115048721.1299741694.25.8.utmccn=(referral)|utmcsr=xxxxxxx.com|utmcct=/|utmcmd=referral; __utmb=115048721; __utmc=115048721; zenid=1137482e20db499297c7e8050d5393e9; zenAdminID=c637f07b903ac16f6718360061cee52b
    PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
    SERVER_SIGNATURE <address>Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.6 Server at www.xxxxxxx.com Port 80</address>
    SERVER_SOFTWARE Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.6
    SERVER_NAME www.xxxxxxx.com
    SERVER_ADDR 213.175.206.149
    SERVER_PORT 80
    REMOTE_ADDR 110.77.131.93
    DOCUMENT_ROOT /home/xxxxxxx/public_html
    SERVER_ADMIN [email protected]
    SCRIPT_FILENAME /home/xxxxxxx/public_html/xxxxxxxadmin/server_info.php
    REMOTE_PORT 25257
    GATEWAY_INTERFACE CGI/1.1
    SERVER_PROTOCOL HTTP/1.1
    REQUEST_METHOD GET
    QUERY_STRING no value
    REQUEST_URI /xxxxxxxadmin/server_info.php
    SCRIPT_NAME /xxxxxxxadmin/server_info.php

    HTTP Headers Information
    HTTP Request Headers
    HTTP Request GET /xxxxxxxadmin/server_info.php HTTP/1.1
    Host www.xxxxxxx.com
    User-Agent Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15
    Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language en-us,en;q=0.5
    Accept-Encoding gzip,deflate
    Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive 115
    Connection keep-alive
    Referer http://www.xxxxxxx.com/xxxxxxxadmin/index.php
    Cookie cookie_test=please_accept_for_session; __utma=115048721.660410142.1298126214.1300351403.1300517643.35; __utmz=115048721.1299741694.25.8.utmccn=(referral)|utmcsr=xxxxxxx.com|utmcct=/|utmcmd=referral; __utmb=115048721; __utmc=115048721; zenid=1137482e20db499297c7e8050d5393e9; zenAdminID=c637f07b903ac16f6718360061cee52b
    HTTP Response Headers
    X-Powered-By PHP/5.2.6
    Expires Thu, 19 Nov 1981 08:52:00 GMT
    Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    Pragma no-cache
    Keep-Alive timeout=5, max=100
    Connection Keep-Alive
    Transfer-Encoding chunked
    Content-Type text/html; charset=iso-8859-1

    bcmath
    BCMath support enabled

    bz2
    BZip2 Support Enabled
    Stream Wrapper support compress.bz2://
    Stream Filter support bzip2.decompress, bzip2.compress
    BZip2 Version 1.0.2, 30-Dec-2001

    calendar
    Calendar support enabled

    ctype
    ctype functions enabled

    curl
    cURL support enabled
    cURL Information libcurl/7.19.4 OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6

    date
    date/time support enabled
    "Olson" Timezone Database Version 2008.2
    Timezone Database internal
    Default timezone America/New_York

    Directive Local Value Master Value
    date.default_latitude 31.7667 31.7667
    date.default_longitude 35.2333 35.2333
    date.sunrise_zenith 90.583333 90.583333
    date.sunset_zenith 90.583333 90.583333
    date.timezone no value no value

    dom
    DOM/XML enabled
    DOM/XML API Version 20031129
    libxml Version 2.7.3
    HTML Support enabled
    XPath Support enabled
    XPointer Support enabled
    Schema Support enabled
    RelaxNG Support enabled

    eAccelerator
    eAccelerator support enabled
    Version 0.9.5.3
    Caching Enabled true
    Optimizer Enabled true
    Memory Size 16,777,180 Bytes
    Memory Available 4,163,868 Bytes
    Memory Allocated 12,613,312 Bytes
    Cached Scripts 549
    Removed Scripts 0
    Cached Keys 0

    Directive Local Value Master Value
    eaccelerator.allowed_admin_path no value no value
    eaccelerator.cache_dir /tmp/eaccelerator /tmp/eaccelerator
    eaccelerator.check_mtime 1 1
    eaccelerator.compress 1 1
    eaccelerator.compress_level 9 9
    eaccelerator.debug 0 0
    eaccelerator.enable 1 1
    eaccelerator.filter no value no value
    eaccelerator.log_file no value no value
    eaccelerator.name_space no value no value
    eaccelerator.optimizer 1 1
    eaccelerator.shm_max 0 0
    eaccelerator.shm_only 0 0
    eaccelerator.shm_prune_period 0 0
    eaccelerator.shm_size 16 16
    eaccelerator.shm_ttl 0 0

    exif
    EXIF Support enabled
    EXIF Version 1.4 $Id: exif.c,v 1.173.2.5.2.25 2008/03/12 17:33:14 iliaa Exp $
    Supported EXIF Version 0220
    Supported filetypes JPEG,TIFF

    filter
    Input Validation and Filtering enabled
    Revision $Revision: 1.52.2.42 $

    Directive Local Value Master Value
    filter.default unsafe_raw unsafe_raw
    filter.default_flags no value no value

    ftp
    FTP support enabled

    gd
    GD Support enabled
    GD Version bundled (2.0.34 compatible)
    FreeType Support enabled
    FreeType Linkage with freetype
    FreeType Version 2.1.9
    GIF Read Support enabled
    GIF Create Support enabled
    JPG Support enabled
    PNG Support enabled
    WBMP Support enabled
    XPM Support enabled
    XBM Support enabled

    gettext
    GetText Support enabled

    hash
    hash support enabled
    Hashing Engines md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5

    iconv
    iconv support enabled
    iconv implementation glibc
    iconv library version 2.3.4

    Directive Local Value Master Value
    iconv.input_encoding ISO-8859-1 ISO-8859-1
    iconv.internal_encoding ISO-8859-1 ISO-8859-1
    iconv.output_encoding ISO-8859-1 ISO-8859-1

    imap
    IMAP c-Client Version 2004
    SSL Support enabled
    Kerberos Support enabled

    json
    json support enabled
    json version 1.2.1

    libxml
    libXML support active
    libXML Version 2.7.3
    libXML streams enabled

    mbstring
    Multibyte Support enabled
    Multibyte string engine libmbfl
    Multibyte (japanese) regex support enabled
    Multibyte regex (oniguruma) version 4.4.4
    Multibyte regex (oniguruma) backtrack check On

    mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

    Directive Local Value Master Value
    mbstring.detect_order no value no value
    mbstring.encoding_translation Off Off
    mbstring.func_overload 0 0
    mbstring.http_input pass pass
    mbstring.http_output pass pass
    mbstring.internal_encoding no value no value
    mbstring.language neutral neutral
    mbstring.strict_detection Off Off
    mbstring.substitute_character no value no value

    mcrypt
    mcrypt support enabled
    Version 2.5.8
    Api No 20021217
    Supported ciphers cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
    Supported modes cbc cfb ctr ecb ncfb nofb ofb stream

    Directive Local Value Master Value
    mcrypt.algorithms_dir no value no value
    mcrypt.modes_dir no value no value

    mysql
    MySQL Support enabled
    Active Persistent Links 0
    Active Links 1
    Client API version 4.1.22
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/lib/mysql/mysql.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/lib -lmysqlclient

    Directive Local Value Master Value
    mysql.allow_persistent On On
    mysql.connect_timeout 60 60
    mysql.default_host no value no value
    mysql.default_password no value no value
    mysql.default_port no value no value
    mysql.default_socket no value no value
    mysql.default_user no value no value
    mysql.max_links Unlimited Unlimited
    mysql.max_persistent Unlimited Unlimited
    mysql.trace_mode Off Off

    mysqli
    MysqlI Support enabled
    Client API library version 4.1.22
    Client API header version 4.1.22
    MYSQLI_SOCKET /var/lib/mysql/mysql.sock

    Directive Local Value Master Value
    mysqli.default_host no value no value
    mysqli.default_port 3306 3306
    mysqli.default_pw no value no value
    mysqli.default_socket no value no value
    mysqli.default_user no value no value
    mysqli.max_links Unlimited Unlimited
    mysqli.reconnect Off Off

    openssl
    OpenSSL support enabled
    OpenSSL Version OpenSSL 0.9.7a Feb 19 2003

    pcre
    PCRE (Perl Compatible Regular Expressions) Support enabled
    PCRE Library Version 7.6 2008-01-28

    Directive Local Value Master Value
    pcre.backtrack_limit 100000 100000
    pcre.recursion_limit 100000 100000

    PDO
    PDO support enabled
    PDO drivers sqlite, sqlite2, mysql

    pdo_mysql
    PDO Driver for MySQL, client library version 4.1.22

    pdo_sqlite
    PDO Driver for SQLite 3.x enabled
    PECL Module version (bundled) 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6.2.3 2007/12/31 07:20:10 sebastian Exp $
    SQLite Library 3.3.7

    posix
    Revision $Revision: 1.70.2.3.2.18 $

    pspell
    PSpell Support enabled

    Reflection
    Reflection enabled
    Version $Id: php_reflection.c,v 1.164.2.33.2.50 2008/03/13 15:56:21 iliaa Exp $

    session
    Session Support enabled
    Registered save handlers files user sqlite
    Registered serializer handlers php php_binary wddx

    Directive Local Value Master Value
    session.auto_start Off Off
    session.bug_compat_42 On On
    session.bug_compat_warn On On
    session.cache_expire 180 180
    session.cache_limiter nocache nocache
    session.cookie_domain www.xxxxxxx.com no value
    session.cookie_httponly Off Off
    session.cookie_lifetime 0 0
    session.cookie_path / /
    session.cookie_secure Off Off
    session.entropy_file no value no value
    session.entropy_length 0 0
    session.gc_divisor 2 100
    session.gc_maxlifetime 3600 1440
    session.gc_probability 1 1
    session.hash_bits_per_character 4 4
    session.hash_function 0 0
    session.name zenAdminID PHPSESSID
    session.referer_check no value no value
    session.save_handler files files
    session.save_path /home/xxxxxxx/securecache /tmp
    session.serialize_handler php php
    session.use_cookies On On
    session.use_only_cookies Off Off
    session.use_trans_sid 0 0

    SimpleXML
    Simplexml support enabled
    Revision $Revision: 1.151.2.22.2.39 $
    Schema support enabled

    soap
    Soap Client enabled
    Soap Server enabled

    Directive Local Value Master Value
    soap.wsdl_cache 1 1
    soap.wsdl_cache_dir /tmp /tmp
    soap.wsdl_cache_enabled 1 1
    soap.wsdl_cache_limit 5 5
    soap.wsdl_cache_ttl 86400 86400

    sockets
    Sockets Support enabled

    SPL
    SPL support enabled
    Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
    Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException

  8. #8
    Join Date
    May 2009
    Posts
    222
    Plugin Contributions
    1

    Default Re: My Database keeps going into SLEEP mode. Apparently it needs optimization

    SQLite
    SQLite support enabled
    PECL Module version 2.0-dev $Id: sqlite.c,v 1.166.2.13.2.10 2007/12/31 07:20:11 sebastian Exp $
    SQLite Library 2.8.17
    SQLite Encoding iso8859

    Directive Local Value Master Value
    sqlite.assoc_case 0 0

    standard
    Regex Library Bundled library enabled
    Dynamic Library Support enabled
    Path to sendmail /usr/sbin/sendmail -t -i

    Directive Local Value Master Value
    assert.active 1 1
    assert.bail 0 0
    assert.callback no value no value
    assert.quiet_eval 0 0
    assert.warning 1 1
    auto_detect_line_endings 0 0
    default_socket_timeout 60 60
    safe_mode_allowed_env_vars PHP_ PHP_
    safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
    url_rewriter.tags a=href,area=href,frame=src,input=src,form=,fieldset= a=href,area=href,frame=src,input=src,form=,fieldset=
    user_agent no value no value

    tidy
    Tidy support enabled
    libTidy Release 6 November 2007
    Extension Version 2.0 ($Id: tidy.c,v 1.66.2.8.2.25 2007/12/31 07:20:14 sebastian Exp $)

    Directive Local Value Master Value
    tidy.clean_output 0 0
    tidy.default_config no value no value

    tokenizer
    Tokenizer Support enabled

    wddx
    WDDX Support enabled
    WDDX Session Serializer enabled

    xml
    XML Support active
    XML Namespace Support active
    EXPAT Version expat_1.95.7

    xmlreader
    XMLReader enabled

    xmlrpc
    core library version xmlrpc-epi v. 0.51
    php extension version 0.51
    author Dan Libby
    homepage http://xmlrpc-epi.sourceforge.net
    open sourced by Epinions.com

    xmlwriter
    XMLWriter enabled

    xsl
    XSL enabled
    libxslt Version 1.1.24
    libxslt compiled against libxml Version 2.7.3
    EXSLT enabled
    libexslt Version 1.1.24

    Zend Optimizer
    Optimization Pass 1 enabled
    Optimization Pass 2 enabled
    Optimization Pass 3 enabled
    Optimization Pass 4 enabled
    Optimization Pass 9 enabled
    Zend Loader enabled
    License Path no value
    Obfuscation level 3

    zip
    Zip enabled
    Extension Version $Id: php_zip.c,v 1.1.2.43 2008/01/18 00:51:38 pajoye Exp $
    Zip version 1.8.11
    Libzip version 0.8.0-compatible

    zlib
    ZLib Support enabled
    Stream Wrapper support compress.zlib://
    Stream Filter support zlib.inflate, zlib.deflate
    Compiled Version 1.2.1.2
    Linked Version 1.2.1.2

    Directive Local Value Master Value
    zlib.output_compression Off Off
    zlib.output_compression_level -1 -1
    zlib.output_handler no value no value

    Additional Modules
    Module Name
    dbase
    ionCube Loader

    Environment
    Variable Value
    TERM xterm
    LD_LIBRARY_PATH /usr/local/apache/lib:
    PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
    PWD /
    LANG en_US.UTF-8
    SHLVL 1
    _ /usr/local/apache/bin/httpd

    PHP Variables
    Variable Value
    PHP_SELF /xxxxxxxadmin/server_info.php
    _REQUEST["cookie_test"] please_accept_for_session
    _REQUEST["__utma"] 115048721.660410142.1298126214.1300351403.1300517643.35
    _REQUEST["__utmz"] 115048721.1299741694.25.8.utmccn=(referral)|utmcsr=xxxxxxx.com|utmcct=/|utmcmd=referral
    _REQUEST["__utmb"] 115048721
    _REQUEST["__utmc"] 115048721
    _REQUEST["zenid"] 1137482e20db499297c7e8050d5393e9
    _REQUEST["zenAdminID"] c637f07b903ac16f6718360061cee52b
    _COOKIE["cookie_test"] please_accept_for_session
    _COOKIE["__utma"] 115048721.660410142.1298126214.1300351403.1300517643.35
    _COOKIE["__utmz"] 115048721.1299741694.25.8.utmccn=(referral)|utmcsr=xxxxxxx.com|utmcct=/|utmcmd=referral
    _COOKIE["__utmb"] 115048721
    _COOKIE["__utmc"] 115048721
    _COOKIE["zenid"] 1137482e20db499297c7e8050d5393e9
    _COOKIE["zenAdminID"] c637f07b903ac16f6718360061cee52b
    _SERVER["HTTP_HOST"] www.xxxxxxx.com
    _SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15
    _SERVER["HTTP_ACCEPT"] text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    _SERVER["HTTP_ACCEPT_LANGUAGE"] en-us,en;q=0.5
    _SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate
    _SERVER["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7
    _SERVER["HTTP_KEEP_ALIVE"] 115
    _SERVER["HTTP_CONNECTION"] keep-alive
    _SERVER["HTTP_REFERER"] http://www.xxxxxxx.com/xxxxxxxadmin/index.php
    _SERVER["HTTP_COOKIE"] cookie_test=please_accept_for_session; __utma=115048721.660410142.1298126214.1300351403.1300517643.35; __utmz=115048721.1299741694.25.8.utmccn=(referral)|utmcsr=xxxxxxx.com|utmcct=/|utmcmd=referral; __utmb=115048721; __utmc=115048721; zenid=1137482e20db499297c7e8050d5393e9; zenAdminID=c637f07b903ac16f6718360061cee52b
    _SERVER["PATH"] /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
    _SERVER["SERVER_SIGNATURE"] <address>Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.6 Server at www.xxxxxxx.com Port 80</address>
    _SERVER["SERVER_SOFTWARE"] Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.6
    _SERVER["SERVER_NAME"] www.xxxxxxx.com
    _SERVER["SERVER_ADDR"] 213.175.206.149
    _SERVER["SERVER_PORT"] 80
    _SERVER["REMOTE_ADDR"] 110.77.131.93
    _SERVER["DOCUMENT_ROOT"] /home/xxxxxxx/public_html
    _SERVER["SERVER_ADMIN"] [email protected]
    _SERVER["SCRIPT_FILENAME"] /home/xxxxxxx/public_html/xxxxxxxadmin/server_info.php
    _SERVER["REMOTE_PORT"] 25257
    _SERVER["GATEWAY_INTERFACE"] CGI/1.1
    _SERVER["SERVER_PROTOCOL"] HTTP/1.1
    _SERVER["REQUEST_METHOD"] GET
    _SERVER["QUERY_STRING"] no value
    _SERVER["REQUEST_URI"] /xxxxxxxadmin/server_info.php
    _SERVER["SCRIPT_NAME"] /xxxxxxxadmin/server_info.php
    _SERVER["PHP_SELF"] /xxxxxxxadmin/server_info.php
    _SERVER["REQUEST_TIME"] 1300518350
    _SERVER["argv"]

    Array
    (
    )

    _SERVER["argc"] 0
    _ENV["TERM"] xterm
    _ENV["LD_LIBRARY_PATH"] /usr/local/apache/lib:
    _ENV["PATH"] /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
    _ENV["PWD"] /
    _ENV["LANG"] en_US.UTF-8
    _ENV["SHLVL"] 1
    _ENV["_"] /usr/local/apache/bin/httpd

  9. #9
    Join Date
    May 2009
    Posts
    222
    Plugin Contributions
    1

    Default Re: My Database keeps going into SLEEP mode. Apparently it needs optimization

    Sorry yes it s zen cart 1.3.8a site

    im running simple seo url mod but i get similar problems with SSU on or off so i dont think its that

  10. #10
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: My Database keeps going into SLEEP mode. Apparently it needs optimization

    creamcrackers,

    Enable the display of parse times on your install and give us a link to it

    admin > config > logging > display page parse time > true
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. My site keeps going down
    By mw4kids in forum General Questions
    Replies: 2
    Last Post: 27 Jan 2009, 05:57 PM
  2. Database keeps going down
    By ryanb4614 in forum General Questions
    Replies: 4
    Last Post: 13 Jan 2009, 02:41 AM
  3. Occasional orders not going into the database
    By colonel_t in forum Managing Customers and Orders
    Replies: 21
    Last Post: 27 Apr 2008, 08:16 AM
  4. Orders not going into database -- SkipJack payment module
    By usr226197 in forum Managing Customers and Orders
    Replies: 2
    Last Post: 5 Sep 2006, 02:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg