alloc/realloc error

Discussion in 'Bug Reports' started by suncare, Jul 9, 2005.

  1. suncare

    suncare New Member

    Use litespeed 2.0.7 pro with compiled lsapi php 5.0.4 with eaccelerator module on linux 2.6.12
    and get errors in stderr.log:
    ...
    FATAL: erealloc(): Unable to allocate 2834581 bytes
    FATAL: erealloc(): Unable to allocate 2833360 bytes
    FATAL: emalloc(): Unable to allocate 7637501 bytes
    ...
    And amount of these lines is quite large.
    Btw, it's enough free RAM for that moment.
    So, what could be a reason of appearing such things?
    Thank you.

    P.S., hmm, i guess it's php bug (or feature :)), but perhaps i should set some values in litespeed conf?
  2. mistwang

    mistwang LiteSpeed Staff

    Please try increasing memory limit under "Server"->"Security"->"CGI Resource Limit".
    Please do not use lsapi PHP with 2.1RC1 in production, wait for 2.1RC2.

Share This Page