REPRODUCABLE ERROR - lsws > 4.2.11 using caching directives when not licensed

Discussion in 'Bug Reports' started by SuperBert, Aug 29, 2014.

  1. SuperBert

    SuperBert New Member

    We have a situation where we copied our configuration from a licensed production environment (2-CPU Enterprise owned) to a development environment (1-CPU leased VPS) and can consistently crash lsws. :-(

    warning: no loadable sections found in added symbol-file /usr/local/lsws/bin/litespeed
    warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fff7a7fe000

    No .core file is created when the issue occurs.

    Content delivery is affected when the issue occurs as we observe content randomly being delivered to the web browser, sometimes partial content.

    The issue *does not* occur in v4.2.11.

    The issue *does* occur in v4.2.12, v4.2.13, and v4.2.14.

    We have narrowed down the issue to using caching directives:

    RewriteCond %{REQUEST_METHOD} ^HEAD|GET$
    RewriteRule .* - [E=Cache-Control:max-age=120]

    If we comment out the above lines on the 1-CPU version (which does not license caching), the issue goes away.

    Desired Result = If we are not licensed for caching on a server, that is fine. But lsws should not crash because of a configuration issue.

    OS = CentOS v6.5 x64
    PHP = v5.4.29 via SuExec / CGI Daemon
  2. mistwang

    mistwang LiteSpeed Staff

    Latest 4.2.14 build should be able to take care of this.

Share This Page