503 Error when using 3scale PHP Libraries

Discussion in 'Bug Reports' started by m3dia, Aug 16, 2012.

  1. m3dia

    m3dia New Member

    Using the libraries for 3scale here: https://github.com/3scale/3scale_ws_api_for_php

    On Litespeed Web Server Standard v4.1.13, I'm getting a 503 Error when I try to use the libraries. Specifically when I run:

    $response = $client->authorize($app_id_one, $app_key_one);

    Here is the definition:

    /**
    * Authorize an application.
    *
    * @param $appId application id.
    * @param $appKey secret application key.
    * @param $serviceId service id, only required in the case of multiple services
    *
    * @return ThreeScaleResponse object containing additional authorization information.
    * If both provider key and application id are valid, the returned object is actually
    * @see ThreeScaleAuthorizeResponse (which is derived from ThreeScaleResponse) and
    * contains additional information about the usage status.
    *
    * @see ThreeScaleResponse
    * @see ThreeScaleAuthorizeResponse
    *
    * @throws ThreeScaleServerError in case of unexpected internal server error
    *
    * Example:
    *
    * <code>
    * <?php
    * $response = $client->authorize('app-id', 'app-key');
    * // or $response = $client->authorize('app-id', 'app-key', 'service_id');
    *
    * if ($response->isSuccess()) {
    * // ok.
    * } else {
    * // something is wrong.
    * }
    * ?>
    * </code>
    */
    public function authorize($appId, $appKey = null, $serviceId = null) {
    $url = "http://" . $this->getHost() . "/transactions/authorize.xml";
    $params = array('provider_key' => $this->getProviderKey(), 'app_id' => $appId);

    if ($appKey) {
    $params['app_key'] = $appKey;
    }

    if ($serviceId) {
    $params['service_id'] = $serviceId;
    }

    $httpResponse = $this->httpClient->get($url, $params);

    if (self::isHttpSuccess($httpResponse)) {
    return $this->buildAuthorizeResponse($httpResponse->body);
    } else {
    return $this->processError($httpResponse);
    }
    }


    Log export in next post! Please help! Thanks in advance!

    m3dia
  2. m3dia

    m3dia New Member

    Log Export 1

    Here is my log export:

    2012-08-16 01:09:07.537 [NOTICE] [10.122.205.242:53275-0#Example] Content len: 0, Request line: 'GET /api/v1/data/index.php?c=get.customer.distinct.contentprovider&cmcustlocid=1446&appid=4579e681&appkey=c83e559ee2b2c4a8acb48eae0db5e744 HTTP/1.1'
    [ec2-user@ip-10-90-129-117 logs]$ tail error.log -n 100
    2012-08-16 00:35:55.347 [INFO] [10.122.205.242:58905-0#Example] connection to [/tmp/lshttpd/lsphp5.sock] on request #500, confirmed, 0, associated process: 11498, running: 1, error: Connection reset by peer!
    .....
    2012-08-16 00:40:10.919 [INFO] [10.122.205.242:41914-0#Example] connection to [/tmp/lshttpd/lsphp5.sock] on request #500, confirmed, 0, associated process: 11498, running: 1, error: Connection reset by peer!
    Last edited by a moderator: Aug 16, 2012
  3. m3dia

    m3dia New Member

    Log Export 2

    2012-08-16 00:40:11.661 [INFO] [10.122.205.242:42003-0#Example] connection to [/tmp/lshttpd/lsphp5.sock] on request #500, confirmed, 0, associated process: 11498, running: 1, error: Connection reset by peer!
    ...
    2012-08-16 00:53:19.305 [INFO] [10.122.205.242:48406-0#Example] connection to [/tmp/lshttpd/lsphp5.sock] on request #500, confirmed, 0, associated process: 11498, running: 1, error: Connection reset by peer!
    Last edited by a moderator: Aug 16, 2012
  4. m3dia

    m3dia New Member

    Log Export 3

    2012-08-16 00:53:25.594 [INFO] [10.122.205.242:49006-0#Example] connection to [/tmp/lshttpd/lsphp5.sock] on request #500, confirmed, 0, associated process: 11498, running: 1, error: Connection reset by peer!
    ...
    2012-08-16 01:06:22.104 [INFO] [10.122.205.242:24096-0#Example] connection to [/tmp/lshttpd/lsphp5.sock] on request #500, confirmed, 0, associated process: 11498, running: 1, error: Connection reset by peer!
    2012-08-16 01:09:07.531 [INFO] [10.122.205.242:53275-0#Example] connection to [/tmp/lshttpd/lsphp5.sock] on request #84, confirmed, 1, associated process: 11498, running: 1, error: Connection reset by peer!
    2012-08-16 01:09:07.534 [INFO] [10.122.205.242:53275-0#Example] connection to [/tmp/lshttpd/lsphp5.sock] on request #272, confirmed, 1, associated process: 11498, running: 1, error: Connection reset by peer!
    2012-08-16 01:09:07.537 [INFO] [10.122.205.242:53275-0#Example] connection to [/tmp/lshttpd/lsphp5.sock] on request #163, confirmed, 1, associated process: 11498, running: 1, error: Connection reset by peer!
    2012-08-16 01:09:07.537 [NOTICE] [10.122.205.242:53275-0#Example] Max retries has been reached, 503!
    2012-08-16 01:09:07.537 [NOTICE] [10.122.205.242:53275-0#Example] oops! 503 Service Unavailable
    Last edited by a moderator: Aug 16, 2012
  5. NiteWave

    NiteWave Administrator

    I removed many lines of error logs, they are same pattern like:
    Code:
    2012-08-16 01:06:22.104 [INFO] [10.122.205.242:24096-0#Example] connection to [/tmp/lshttpd/lsphp5.sock] on request #500, confirmed, 0, associated process: 11498, running: 1, error: Connection reset by peer!
    it's [INFO], not error.

    please refer:
    https://store.litespeedtech.com/store/knowledgebase.php?action=displayarticle&id=31

    to check if your 503 can be fixed by this guide.
  6. m3dia

    m3dia New Member

    Checking the guide now

    I'm checking the guide link provided now. One more thing to notice, while it fails on the PHP I've compiled specifically for Litespeed:

    PHP 5.4.5
    './configure' '--prefix=/usr/local/lsws/lsphp5' '--with-mysqli' '--with-mysql' '--with-zlib' '--enable-shmop' '--enable-track-vars' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-magic-quotes' '--enable-mbstring' '--with-iconv' '--with-mcrypt' '--with-litespeed' '--enable-memcache' '--with-curl' '--with-libdir=/lib64' '--with-soap' '--with-gd' '--with-jpeg-dir=/usr' '--with-png-dir=/usr'

    It works on the PHP version I have locally installed on my machine, when called from the command line:

    [ec2-user@ip-10-90-129-117 ~]$ php -v
    PHP Warning: PHP Startup: apc.shm_segments setting ignored in MMAP mode in Unknown on line 0
    PHP 5.3.15 (cli) (built: Jul 20 2012 23:10:20)
    Copyright (c) 1997-2012 The PHP Group
    Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
  7. m3dia

    m3dia New Member

    Here is my php.ini, which based on the provided link, I'll be modifying

    extension=apc.so;
    extension=suhosin.so;
    extension=adodb.so;
    extension=zip.so;
    memory_limit = 64M;
    max_execution_time=30;
  8. NiteWave

    NiteWave Administrator

    this is not lsphp.
    please run:
    cd /usr/local/lsws/fcgi-bin
    ./lsphp5 -i |head
  9. m3dia

    m3dia New Member

    ./lsphp5 -i |head

    PHP Deprecated: Comments starting with '#' are deprecated in /usr/local/lsws/lsphp5/lib/php.ini on line 2 in Unknown on line 0PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20100525/adodb.so' - /usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20100525/adodb.so: cannot open shared object file: No such file or directory in Unknown on line 0PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20100525/zip.so' - /usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20100525/zip.so: cannot open shared object file: No such file or directory in Unknown on line 0phpinfo()
    PHP Version => 5.4.5

    System => Linux ip-10-90-129-117 3.2.22-35.60.amzn1.x86_64 #1 SMP Thu Jul 5 14:07:24 UTC 2012 x86_64
    Build Date => Aug 4 2012 22:14:40
    Configure Command => './configure' '--prefix=/usr/local/lsws/lsphp5' '--with-mysqli' '--with-mysql' '--with-zlib' '--enable-shmop' '--enable-track-vars' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-magic-quotes' '--enable-mbstring' '--with-iconv' '--with-mcrypt' '--with-litespeed' '--enable-memcache' '--with-curl' '--with-libdir=/lib64' '--with-soap' '--with-gd' '--with-jpeg-dir=/usr' '--with-png-dir=/usr'
    Server API => LiteSpeed V5.5
    Virtual Directory Support => disabled
    Configuration File (php.ini) Path => /usr/local/lsws/lsphp5/lib
    Loaded Configuration File => /usr/local/lsws/lsphp5/lib/php.ini
    *** glibc detected *** ./lsphp5: free(): invalid pointer: 0x00007ff714ae9dc8 ***

    Do you need all of the "Backtrace?"
  10. m3dia

    m3dia New Member

    Disabling apc.so in php.ini

    My issue appears to be resolved by commenting out the line in my php.ini:

    #extension=apc.so;

    While this makes the PHP code function, it is now negatively effecting the performance of my entire server because the APC caching is now globally disabled.

    Any suggestions that may allow me to re-enable the the apc.so line in my php.ini would be greatly appreciated! Thanks.

    m3dia
  11. NiteWave

    NiteWave Administrator

    what's your apc settings in php.ini ?
    or you find it in phpinfo() output
  12. m3dia

    m3dia New Member

    Here are my APC settings from phpinfo()

    apc

    APC Support enabled
    Version 3.1.9
    APC Debugging Disabled
    MMAP Support Enabled
    MMAP File Mask no value
    Locking type pthread mutex Locks
    Serialization Support php
    Revision $Revision: 308812 $
    Build Date Aug 4 2012 22:21:36
  13. NiteWave

    NiteWave Administrator

    in php.ini, add
    apc.mmap_file_mask=/tmp/apc.XXXXXX

    this MAYBE prevent 503 error.
  14. m3dia

    m3dia New Member

    apc.mmap_file_mask=/tmp/apc.XXXXXX

    I applied the recommended change:

    apc.mmap_file_mask=/tmp/apc.XXXXXX

    and uncommented this line in my php.ini:

    extension=apc.so;

    Then restarted the web server and it went back to the 503 :(.

    Thanks for the tip, but this did not resolve things.

    m3dia
  15. webizen

    webizen New Member

    what about apc.shm_size?
  16. m3dia

    m3dia New Member

    /usr/local/lsws/fcgi-bin/lsphp5 -i| grep apc.shm_size

    PHP Deprecated: Comments starting with '#' are deprecated in /usr/local/lsws/lsphp5/lib/php.ini on line 2 in Unknown on line 0PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so' - /usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20100525/adodb.so' - /usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20100525/adodb.so: cannot open shared object file: No such file or directory in Unknown on line 0PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/zip.so' - /usr/lib64/php/modules/zip.so: undefined symbol: zval_property_ctor in Unknown on line 0apc.shm_size => 32M => 32M
    *** glibc detected *** /usr/local/lsws/fcgi-bin/lsphp5: free(): invalid pointer: 0x00007fc089919dc8 ***
    ======= Backtrace: =========
    /lib64/libc.so.6(+0x753c6)[0x7fc087bfa3c6]
    /usr/local/lsws/fcgi-bin/lsphp5(destroy_zend_class+0x23d)[0x71693d]
    /usr/local/lsws/fcgi-bin/lsphp5(zend_hash_clean+0x73)[0x72bb63]
    /usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20100525/apc.so(apc_interned_strings_shutdown+0x20)[0x7fc07e3f76e0]
    /usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20100525/apc.so(apc_module_shutdown+0x12a)[0x7fc07e3efc7a]
    /usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20100525/apc.so(+0xa5ff)[0x7fc07e3e65ff]
    /usr/local/lsws/fcgi-bin/lsphp5[0x724cd5]
    /usr/local/lsws/fcgi-bin/lsphp5[0x72b4cf]
    /usr/local/lsws/fcgi-bin/lsphp5(zend_hash_graceful_reverse_destroy+0x18)[0x72b768]
    /usr/local/lsws/fcgi-bin/lsphp5[0x71f973]
    /usr/local/lsws/fcgi-bin/lsphp5(php_module_shutdown+0x2a)[0x6c43da]
    /usr/local/lsws/fcgi-bin/lsphp5[0x7c30c0]
    /usr/local/lsws/fcgi-bin/lsphp5[0x7c382e]
    /lib64/libc.so.6(__libc_start_main+0xfd)[0x7fc087ba3cdd]
    /usr/local/lsws/fcgi-bin/lsphp5[0x425299]
    ======= Memory map: ========
    00400000-00cd1000 r-xp 00000000 ca:01 132095 /usr/local/lsws/fcgi-bin/lsphp-5.4.5
    00ed1000-00ede000 rw-p 008d1000 ca:01 132095 /usr/local/lsws/fcgi-bin/lsphp-5.4.5
    00ede000-00eff000 rw-p 00000000 00:00 0
    02a0f000-02bfe000 rw-p 00000000 00:00 0 [heap]
    7fc07e1bc000-7fc07e1d2000 r-xp 00000000 ca:01 17641 /lib64/libgcc_s-4.4.6-20110824.so.1
    7fc07e1d2000-7fc07e3d1000 ---p 00016000 ca:01 17641 /lib64/libgcc_s-4.4.6-20110824.so.1
    7fc07e3d1000-7fc07e3d2000 rw-p 00015000 ca:01 17641 /lib64/libgcc_s-4.4.6-20110824.so.1
    7fc07e3db000-7fc07e3dc000 rw-p 00000000 00:00 0
    7fc07e3dc000-7fc07e3fe000 r-xp 00000000 ca:01 176928 /usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20100525/apc.so
    7fc07e3fe000-7fc07e5fe000 ---p 00022000 ca:01 176928 /usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20100525/apc.so
    7fc07e5fe000-7fc07e601000 rw-p 00022000 ca:01 176928 /usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20100525/apc.so
    7fc07e601000-7fc07e60a000 rw-p 00000000 00:00 0
    7fc07e60a000-7fc08449b000 r--p 00000000 ca:01 17586 /usr/lib/locale/locale-archive
    7fc08449b000-7fc0844b9000 r-xp 00000000 ca:01 8176 /lib64/libselinux.so.1
    7fc0844b9000-7fc0846b8000 ---p 0001e000 ca:01 8176 /lib64/libselinux.so.1
    7fc0846b8000-7fc0846b9000 r--p 0001d000 ca:01 8176 /lib64/libselinux.so.1
    7fc0846b9000-7fc0846ba000 rw-p 0001e000 ca:01 8176 /lib64/libselinux.so.1
    7fc0846ba000-7fc0846bb000 rw-p 00000000 00:00 0
    7fc0846bb000-7fc08482f000 r-xp 00000000 ca:01 29529 /lib64/libcrypto.so.1.0.0j
    7fc08482f000-7fc084a2e000 ---p 00174000 ca:01 29529 /lib64/libcrypto.so.1.0.0j
    7fc084a2e000-7fc084a47000 r--p 00173000 ca:01 29529 /lib64/libcrypto.so.1.0.0j
    7fc084a47000-7fc084a51000 rw-p 0018c000 ca:01 29529 /lib64/libcrypto.so.1.0.0j
    7fc084a51000-7fc084a55000 rw-p 00000000 00:00 0
    7fc084a55000-7fc084aa9000 r-xp 00000000 ca:01 29537 /usr/lib64/libssl.so.1.0.0j
    7fc084aa9000-7fc084ca9000 ---p 00054000 ca:01 29537 /usr/lib64/libssl.so.1.0.0j
    7fc084ca9000-7fc084cac000 r--p 00054000 ca:01 29537 /usr/lib64/libssl.so.1.0.0j
    7fc084cac000-7fc084cb1000 rw-p 00057000 ca:01 29537 /usr/lib64/libssl.so.1.0.0j
    7fc084cb1000-7fc084cb3000 r-xp 00000000 ca:01 9502 /lib64/libkeyutils.so.1.3
    7fc084cb3000-7fc084eb2000 ---p 00002000 ca:01 9502 /lib64/libkeyutils.so.1.3
    7fc084eb2000-7fc084eb3000 r--p 00001000 ca:01 9502 /lib64/libkeyutils.so.1.3
    7fc084eb3000-7fc084eb4000 rw-p 00002000 ca:01 9502 /lib64/libkeyutils.so.1.3
    7fc084eb4000-7fc084ebe000 r-xp 00000000 ca:01 38571 /lib64/libkrb5support.so.0.1
    7fc084ebe000-7fc0850bd000 ---p 0000a000 ca:01 38571 /lib64/libkrb5support.so.0.1
  17. m3dia

    m3dia New Member

    /usr/local/lsws/fcgi-bin/lsphp5 -i| grep apc.shm_size 2

    7fc0850bd000-7fc0850be000 r--p 00009000 ca:01 38571 /lib64/libkrb5support.so.0.1
    7fc0850be000-7fc0850bf000 rw-p 0000a000 ca:01 38571 /lib64/libkrb5support.so.0.1
    7fc0850bf000-7fc0850d8000 r-xp 00000000 ca:01 8634 /usr/lib64/libsasl2.so.2.0.23
    7fc0850d8000-7fc0852d7000 ---p 00019000 ca:01 8634 /usr/lib64/libsasl2.so.2.0.23
    7fc0852d7000-7fc0852d8000 r--p 00018000 ca:01 8634 /usr/lib64/libsasl2.so.2.0.23
    7fc0852d8000-7fc0852d9000 rw-p 00019000 ca:01 8634 /usr/lib64/libsasl2.so.2.0.23
    7fc0852d9000-7fc0852e7000 r-xp 00000000 ca:01 22088 /lib64/liblber-2.4.so.2.5.6
    7fc0852e7000-7fc0854e6000 ---p 0000e000 ca:01 22088 /lib64/liblber-2.4.so.2.5.6
    7fc0854e6000-7fc0854e7000 r--p 0000d000 ca:01 22088 /lib64/liblber-2.4.so.2.5.6
    7fc0854e7000-7fc0854e8000 rw-p 0000e000 ca:01 22088 /lib64/liblber-2.4.so.2.5.6
    7fc0854e8000-7fc08550e000 r-xp 00000000 ca:01 16220 /usr/lib64/libssh2.so.1.0.1
    7fc08550e000-7fc08570e000 ---p 00026000 ca:01 16220 /usr/lib64/libssh2.so.1.0.1
    7fc08570e000-7fc08570f000 rw-p 00026000 ca:01 16220 /usr/lib64/libssh2.so.1.0.1
    7fc08570f000-7fc085748000 r-xp 00000000 ca:01 7898 /lib64/libnspr4.so
    7fc085748000-7fc085947000 ---p 00039000 ca:01 7898 /lib64/libnspr4.so
    7fc085947000-7fc085948000 r--p 00038000 ca:01 7898 /lib64/libnspr4.so
    7fc085948000-7fc08594a000 rw-p 00039000 ca:01 7898 /lib64/libnspr4.so
    7fc08594a000-7fc08594c000 rw-p 00000000 00:00 0
    7fc08594c000-7fc085950000 r-xp 00000000 ca:01 29030 /lib64/libplc4.so
    7fc085950000-7fc085b4f000 ---p 00004000 ca:01 29030 /lib64/libplc4.so
    7fc085b4f000-7fc085b50000 r--p 00003000 ca:01 29030 /lib64/libplc4.so
    7fc085b50000-7fc085b51000 rw-p 00004000 ca:01 29030 /lib64/libplc4.so
    7fc085b51000-7fc085b54000 r-xp 00000000 ca:01 29031 /lib64/libplds4.so
    7fc085b54000-7fc085d53000 ---p 00003000 ca:01 29031 /lib64/libplds4.so
    7fc085d53000-7fc085d54000 r--p 00002000 ca:01 29031 /lib64/libplds4.so
    7fc085d54000-7fc085d55000 rw-p 00003000 ca:01 29031 /lib64/libplds4.so
    7fc085d55000-7fc085d75000 r-xp 00000000 ca:01 24551 /usr/lib64/libnssutil3.so
    7fc085d75000-7fc085f74000 ---p 00020000 ca:01 24551 /usr/lib64/libnssutil3.so
    7fc085f74000-7fc085f7a000 r--p 0001f000 ca:01 24551 /usr/lib64/libnssutil3.so
    7fc085f7a000-7fc085f7b000 rw-p 00025000 ca:01 24551 /usr/lib64/libnssutil3.so
    7fc085f7b000-7fc0860ae000 r-xp 00000000 ca:01 21152 /usr/lib64/libnss3.so
    7fc0860ae000-7fc0862ae000 ---p 00133000 ca:01 21152 /usr/lib64/libnss3.so
    7fc0862ae000-7fc0862b3000 r--p 00133000 ca:01 21152 /usr/lib64/libnss3.so
    7fc0862b3000-7fc0862b5000 rw-p 00138000 ca:01 21152 /usr/lib64/libnss3.so
    7fc0862b5000-7fc0862b7000 rw-p 00000000 00:00 0
    7fc0862b7000-7fc0862df000 r-xp 00000000 ca:01 21155 /usr/lib64/libsmime3.so
    7fc0862df000-7fc0864df000 ---p 00028000 ca:01 21155 /usr/lib64/libsmime3.so
    7fc0864df000-7fc0864e2000 r--p 00028000 ca:01 21155 /usr/lib64/libsmime3.so
    7fc0864e2000-7fc0864e3000 rw-p 0002b000 ca:01 21155 /usr/lib64/libsmime3.so
    7fc0864e3000-7fc08651b000 r-xp 00000000 ca:01 29051 /usr/lib64/libssl3.so
    7fc08651b000-7fc08671b000 ---p 00038000 ca:01 29051 /usr/lib64/libssl3.so
    7fc08671b000-7fc08671d000 r--p 00038000 ca:01 29051 /usr/lib64/libssl3.so
    7fc08671d000-7fc08671e000 rw-p 0003a000 ca:01 29051 /usr/lib64/libssl3.so
    7fc08671e000-7fc08671f000 rw-p 00000000 00:00 0
    7fc08671f000-7fc086722000 r-xp 00000000 ca:01 8055 /lib64/libcom_err.so.2.1
    7fc086722000-7fc086921000 ---p 00003000 ca:01 8055 /lib64/libcom_err.so.2.1
    7fc086921000-7fc086922000 rw-p 00002000 ca:01 8055 /lib64/libcom_err.so.2.1
    7fc086922000-7fc08694c000 r-xp 00000000 ca:01 9509 /lib64/libk5crypto.so.3.1
    7fc08694c000-7fc086b4b000 ---p 0002a000 ca:01 9509 /lib64/libk5crypto.so.3.1
    7fc086b4b000-7fc086b4d000 r--p 00029000 ca:01 9509 /lib64/libk5crypto.so.3.1
    7fc086b4d000-7fc086b4e000 rw-p 0002b000 ca:01 9509 /lib64/libk5crypto.so.3.1
  18. m3dia

    m3dia New Member

    /usr/local/lsws/fcgi-bin/lsphp5 -i| grep apc.shm_size 3

    7fc086b4e000-7fc086c22000 r-xp 00000000 ca:01 38569 /lib64/libkrb5.so.3.3
    7fc086c22000-7fc086e22000 ---p 000d4000 ca:01 38569 /lib64/libkrb5.so.3.3
    7fc086e22000-7fc086e2b000 r--p 000d4000 ca:01 38569 /lib64/libkrb5.so.3.3
    7fc086e2b000-7fc086e2d000 rw-p 000dd000 ca:01 38569 /lib64/libkrb5.so.3.3
    7fc086e2d000-7fc086e6c000 r-xp 00000000 ca:01 24146 /lib64/libgssapi_krb5.so.2.2
    7fc086e6c000-7fc08706c000 ---p 0003f000 ca:01 24146 /lib64/libgssapi_krb5.so.2.2
    7fc08706c000-7fc08706d000 r--p 0003f000 ca:01 24146 /lib64/libgssapi_krb5.so.2.2
    7fc08706d000-7fc08706f000 rw-p 00040000 ca:01 24146 /lib64/libgssapi_krb5.so.2.2
    7fc08706f000-7fc0870b8000 r-xp 00000000 ca:01 32461 /lib64/libldap-2.4.so.2.5.6
    7fc0870b8000-7fc0872b7000 ---p 00049000 ca:01 32461 /lib64/libldap-2.4.so.2.5.6
    7fc0872b7000-7fc0872b8000 r--p 00048000 ca:01 32461 /lib64/libldap-2.4.so.2.5.6
    7fc0872b8000-7fc0872ba000 rw-p 00049000 ca:01 32461 /lib64/libldap-2.4.so.2.5.6
    7fc0872ba000-7fc0872ec000 r-xp 00000000 ca:01 8667 /lib64/libidn.so.11.6.1
    7fc0872ec000-7fc0874eb000 ---p 00032000 ca:01 8667 /lib64/libidn.so.11.6.1
    7fc0874eb000-7fc0874ec000 rw-p 00031000 ca:01 8667 /lib64/libidn.so.11.6.1
    7fc0874ec000-7fc087503000 r-xp 00000000 ca:01 7640 /lib64/libpthread-2.12.so
    7fc087503000-7fc087703000 ---p 00017000 ca:01 7640 /lib64/libpthread-2.12.so
    7fc087703000-7fc087704000 r--p 00017000 ca:01 7640 /lib64/libpthread-2.12.so
    7fc087704000-7fc087705000 rw-p 00018000 ca:01 7640 /lib64/libpthread-2.12.so
    7fc087705000-7fc087709000 rw-p 00000000 00:00 0
    7fc087709000-7fc087766000 r-xp 00000000 ca:01 9931 /lib64/libfreebl3.so
    7fc087766000-7fc087965000 ---p 0005d000 ca:01 9931 /lib64/libfreebl3.so
    7fc087965000-7fc087966000 r--p 0005c000 ca:01 9931 /lib64/libfreebl3.so
    7fc087966000-7fc087967000 rw-p 0005d000 ca:01 9931 /lib64/libfreebl3.so
    7fc087967000-7fc08796b000 rw-p 00000000 00:00 0
    7fc08796b000-7fc087981000 r-xp 00000000 ca:01 28629 /lib64/libresolv-2.12.so
    7fc087981000-7fc087b81000 ---p 00016000 ca:01 28629 /lib64/libresolv-2.12.so
    7fc087b81000-7fc087b82000 r--p 00016000 ca:01 28629 /lib64/libresolv-2.12.so
    7fc087b82000-7fc087b83000 rw-p 00017000 ca:01 28629 /lib64/libresolv-2.12.so
    7fc087b83000-7fc087b85000 rw-p 00000000 00:00 0
    7fc087b85000-7fc087d0e000 r-xp 00000000 ca:01 7616 /lib64/libc-2.12.so
    7fc087d0e000-7fc087f0d000 ---p 00189000 ca:01 7616 /lib64/libc-2.12.so
    7fc087f0d000-7fc087f11000 r--p 00188000 ca:01 7616 /lib64/libc-2.12.so
    7fc087f11000-7fc087f12000 rw-p 0018c000 ca:01 7616 /lib64/libc-2.12.so
    7fc087f12000-7fc087f17000 rw-p 00000000 00:00 0
    7fc087f17000-7fc08805e000 r-xp 00000000 ca:01 8700 /usr/lib64/libxml2.so.2.7.6
    7fc08805e000-7fc08825d000 ---p 00147000 ca:01 8700 /usr/lib64/libxml2.so.2.7.6
    7fc08825d000-7fc088267000 rw-p 00146000 ca:01 8700 /usr/lib64/libxml2.so.2.7.6
    7fc088267000-7fc088268000 rw-p 00000000 00:00 0
    7fc088268000-7fc08827e000 r-xp 00000000 ca:01 28554 /lib64/libnsl-2.12.so
    7fc08827e000-7fc08847d000 ---p 00016000 ca:01 28554 /lib64/libnsl-2.12.so
    7fc08847d000-7fc08847e000 r--p 00015000 ca:01 28554 /lib64/libnsl-2.12.so
    7fc08847e000-7fc08847f000 rw-p 00016000 ca:01 28554 /lib64/libnsl-2.12.so
    7fc08847f000-7fc088481000 rw-p 00000000 00:00 0
    7fc088481000-7fc088483000 r-xp 00000000 ca:01 27874 /lib64/libdl-2.12.so
    7fc088483000-7fc088683000 ---p 00002000 ca:01 27874 /lib64/libdl-2.12.so
    7fc088683000-7fc088684000 r--p 00002000 ca:01 27874 /lib64/libdl-2.12.so
    7fc088684000-7fc088685000 rw-p 00003000 ca:01 27874 /lib64/libdl-2.12.so
    7fc088685000-7fc088708000 r-xp 00000000 ca:01 28552 /lib64/libm-2.12.so
    7fc088708000-7fc088907000 ---p 00083000 ca:01 28552 /lib64/libm-2.12.so
    7fc088907000-7fc088908000 r--p 00082000 ca:01 28552 /lib64/libm-2.12.so
    7fc088908000-7fc088909000 rw-p 00083000 ca:01 28552 /lib64/libm-2.12.so
    7fc088909000-7fc088968000 r-xp 00000000 ca:01 21912 /usr/lib64/libcurl.so.4.2.0
    7fc088968000-7fc088b67000 ---p 0005f000 ca:01 21912 /usr/lib64/libcurl.so.4.2.0
    7fc088b67000-7fc088b6a000 rw-p 0005e000 ca:01 21912 /usr/lib64/libcurl.so.4.2.0
    7fc088b6a000-7fc088b8d000 r-xp 00000000 ca:01 12458 /usr/lib64/libjpeg.so.62.0.0
    7fc088b8d000-7fc088d8d000 ---p 00023000 ca:01 12458 /usr/lib64/libjpeg.so.62.0.0
    7fc088d8d000-7fc088d8e000 rw-p 00023000 ca:01 12458 /usr/lib64/libjpeg.so.62.0.0
    7fc088d8e000-7fc088da3000 r-xp 00000000 ca:01 7902 /lib64/libz.so.1.2.3
    7fc088da3000-7fc088fa2000 ---p 00015000 ca:01 7902 /lib64/libz.so.1.2.3
    7fc088fa2000-7fc088fa3000 r--p 00014000 ca:01 7902 /lib64/libz.so.1.2.3
    7fc088fa3000-7fc088fa4000 rw-p 00015000 ca:01 7902 /lib64/libz.so.1.2.3
    7fc088fa4000-7fc088fc9000 r-xp 00000000 ca:01 16846 /usr/lib64/libpng12.so.0.49.0
    7fc088fc9000-7fc0891c9000 ---p 00025000 ca:01 16846 /usr/lib64/libpng12.so.0.49.0
    7fc0891c9000-7fc0891ca000 rw-p 00025000 ca:01 16846 /usr/lib64/libpng12.so.0.49.0
    7fc0891ca000-7fc0891f4000 r-xp 00000000 ca:01 30371 /usr/lib64/libmcrypt.so.4.4.8
    7fc0891f4000-7fc0893f4000 ---p 0002a000 ca:01 30371 /usr/lib64/libmcrypt.so.4.4.8
    7fc0893f4000-7fc0893f7000 rw-p 0002a000 ca:01 30371 /usr/lib64/libmcrypt.so.4.4.8
    7fc0893f7000-7fc0893fd000 rw-p 00000000 00:00 0
    7fc0893fd000-7fc089404000 r-xp 00000000 ca:01 28636 /lib64/librt-2.12.so
    7fc089404000-7fc089603000 ---p 00007000 ca:01 28636 /lib64/librt-2.12.so
    7fc089603000-7fc089604000 r--p 00006000 ca:01 28636 /lib64/librt-2.12.so
    7fc089604000-7fc089605000 rw-p 00007000 ca:01 28636 /lib64/librt-2.12.so
    7fc089605000-7fc08960c000 r-xp 00000000 ca:01 27600 /lib64/libcrypt-2.12.so
    7fc08960c000-7fc08980c000 ---p 00007000 ca:01 27600 /lib64/libcrypt-2.12.so
    7fc08980c000-7fc08980d000 r--p 00007000 ca:01 27600 /lib64/libcrypt-2.12.so
    7fc08980d000-7fc08980e000 rw-p 00008000 ca:01 27600 /lib64/libcrypt-2.12.so
    7fc08980e000-7fc08983c000 rw-p 00000000 00:00 0
    7fc08983c000-7fc08985c000 r-xp 00000000 ca:01 9381 /lib64/ld-2.12.so
    7fc0898ae000-7fc089a51000 rw-p 00000000 00:00 0
    7fc089a5a000-7fc089a5b000 rw-p 00000000 00:00 0
    7fc089a5b000-7fc089a5c000 r--p 0001f000 ca:01 9381 /lib64/ld-2.12.so
    7fc089a5c000-7fc089a5d000 rw-p 00020000 ca:01 9381 /lib64/ld-2.12.so
    7fc089a5d000-7fc089a5e000 rw-p 00000000 00:00 0
    7fff062a0000-7fff062c1000 rw-p 00000000 00:00 0 [stack]
    7fff06320000-7fff06321000 r-xp 00000000 00:00 0 [vdso]
    ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
  19. NiteWave

    NiteWave Administrator

    please fix following errors first before proceed:

Share This Page