High Load & Startup Errors Galore!

Discussion in 'Bug Reports' started by grniyce, Mar 26, 2009.

  1. grniyce

    grniyce Well-Known Member

    Server: Dual Xeon 2.4ghz dual core with 2 gig Ram and 160gig sata2 hd

    Errors and Server Snapshots
    http://i44.tinypic.com/2e4ketj.jpg
    http://i42.tinypic.com/343g0hk.jpg

    Load averages have been running: * Load Averages: 28.27 19.84 14.17

    Code:
    2009-03-26 16:50:30.895	ERROR	[config] \: pre-mature end of line.
    2009-03-26 16:50:30.895	ERROR	[config] rewrite: unknown server variable while parsing: XML:/*
    2009-03-26 16:50:30.895	ERROR	[config] rewrite: unknown server variable while parsing: XML:/*
    2009-03-26 16:50:30.895	ERROR	[config] \: pre-mature end of line.
    2009-03-26 16:50:30.895	ERROR	[config] rewrite: unknown server variable while parsing: XML:/*
    2009-03-26 16:50:30.895	ERROR	[config] \: pre-mature end of line.
    2009-03-26 16:50:30.895	ERROR	[config] rewrite: unknown server variable while parsing: XML:/*
    2009-03-26 16:50:30.895	ERROR	[config] rewrite: unknown server variable while parsing: XML:/*
    2009-03-26 16:50:30.895	ERROR	[config] \: pre-mature end of line.
    2009-03-26 16:50:30.895	ERROR	[config] rewrite: unknown server variable while parsing: XML:/*
    I rebuilt Apache with latest and:
    -- Mod Security
    -- Latest PHP 5.2.9
    -- Open SSL

    It is Centos 64bit Linux
    Running DSO and SuExec

    Then I installed Litespeed i386 Enterprise 4.0 with no malfunctions.

    Load averages are off the charts and I'm running only two vBulletin boards with a around 30-60 max users presently.

    Here's my.cnf
    Code:
    [mysqld]
    datadir=/var/lib/mysql
    skip-locking
    skip-innodb
    skip-bdb
    safe-show-database
    max_connections = 500
    key_buffer = 64M
    myisam_sort_buffer_size = 64M
    join_buffer_size = 1M
    read_buffer_size = 2M
    sort_buffer_size = 2M
    read_rnd_buffer_size = 2M
    table_cache = 1024
    record_buffer = 1M
    thread_cache_size = 128
    wait_timeout = 90
    connect_timeout = 10
    interactive_timeout = 10
    tmp_table_size = 64M
    max_heap_table_size = 64M
    max_allowed_packet = 16M
    max_connect_errors = 10
    query_cache_limit = 1M
    query_cache_size = 64M
    query_cache_type = 1
    thread_concurrency = 4
    default-storage-engine = MyISAM
    
    [mysqld_safe]
    open_files_limit = 8192
    
    [mysqldump]
    quick
    max_allowed_packet = 100M
    
    [myisamchk]
    key_buffer = 64M
    sort_buffer = 64M
    read_buffer = 16M
    write_buffer = 16M
    Here's what I adjusted in httpd.conf
    Code:
    HostnameLookups Off
    ServerLimit 512
    KeepAlive On
    MaxKeepAliveRequests 80
    KeepAliveTimeout 3
    MinSpareServers 15
    MaxSpareServers 20
    StartServers 15
    MaxClients 512
    MaxRequestsPerChild 0
    AccessFileName .htaccess
    UseCanonicalName On
     
    Last edited: Mar 26, 2009
  2. mistwang

    mistwang LiteSpeed Staff

    Please check "top" output find out which process using too much CPU cycles.
    More likely a problem with PHP.
     
  3. grniyce

    grniyce Well-Known Member

    Here is what I got, but unfortunately I don't know how to resolve the issue. I never experienced this on my other server, and I've set everything up identically.

    Code:
    top - 17:45:49 up 20:55,  1 user,  load average: 2.89, 2.31, 2.26
    Tasks: 134 total,   3 running, 131 sleeping,   0 stopped,   0 zombie
    Cpu(s): 45.0%us,  1.2%sy,  0.0%ni, 53.7%id,  0.0%wa,  0.0%hi,  0.2%si,  0.0%st
    Mem:   2075512k total,  1530676k used,   544836k free,   119552k buffers
    Swap:  2096472k total,      120k used,  2096352k free,   986752k cached
    
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    20226 damoyc    23   0 24952  14m 4552 R  100  0.7   0:15.86 lsphp5
    20189 ymob      16   0 25044  15m 4676 R   51  0.8   0:09.96 lsphp5
    20204 damoyc    16   0 22616  13m 4688 S   19  0.6   0:06.74 lsphp5
    20201 masonids  15   0 18016 8600 4560 S   11  0.4   0:01.05 lsphp5
    15554 mysql     15   0  174m  66m 3280 S    2  3.3   8:51.54 mysqld
    20186 nobody     0 -19  6404 2888 1332 S    0  0.1   0:00.44 lshttpd
    20205 damoyc    15   0 20084  10m 4672 S    0  0.5   0:00.66 lsphp5
    20214 ymob      16   0 18532 9228 4640 S    0  0.4   0:03.00 lsphp5
    20236 root      15   0  2188 1048  804 R    0  0.1   0:00.05 top
        1 root      15   0  2060  640  556 S    0  0.0   0:00.98 init
        2 root      RT  -5     0    0    0 S    0  0.0   0:00.56 migration/0
        3 root      34  19     0    0    0 S    0  0.0   0:00.01 ksoftirqd/0
        4 root      RT  -5     0    0    0 S    0  0.0   0:00.00 watchdog/0
        5 root      RT  -5     0    0    0 S    0  0.0   0:00.44 migration/1
        6 root      34  19     0    0    0 S    0  0.0   0:00.01 ksoftirqd/1
        7 root      RT  -5     0    0    0 S    0  0.0   0:00.00 watchdog/1
        8 root      RT  -5     0    0    0 S    0  0.0   0:02.28 migration/2
        9 root      39  19     0    0    0 S    0  0.0   0:00.03 ksoftirqd/2
       10 root      RT  -5     0    0    0 S    0  0.0   0:00.00 watchdog/2
       11 root      RT  -5     0    0    0 S    0  0.0   0:02.77 migration/3
       12 root      34  19     0    0    0 S    0  0.0   0:00.02 ksoftirqd/3
       13 root      RT  -5     0    0    0 S    0  0.0   0:00.00 watchdog/3
       14 root      10  -5     0    0    0 S    0  0.0   0:00.06 events/0
       15 root      10  -5     0    0    0 S    0  0.0   0:00.03 events/1
       16 root      10  -5     0    0    0 S    0  0.0   0:00.04 events/2
       17 root      10  -5     0    0    0 S    0  0.0   0:00.08 events/3
       18 root      11  -5     0    0    0 S    0  0.0   0:00.00 khelper
       19 root      11  -5     0    0    0 S    0  0.0   0:00.00 kthread
       25 root      10  -5     0    0    0 S    0  0.0   0:00.02 kblockd/0
       26 root      10  -5     0    0    0 S    0  0.0   0:00.05 kblockd/1
       27 root      10  -5     0    0    0 S    0  0.0   0:00.55 kblockd/2
       28 root      10  -5     0    0    0 S    0  0.0   0:00.01 kblockd/3
       29 root      19  -5     0    0    0 S    0  0.0   0:00.00 kacpid
      128 root      18  -5     0    0    0 S    0  0.0   0:00.00 cqueue/0
      129 root      18  -5     0    0    0 S    0  0.0   0:00.00 cqueue/1
      130 root      19  -5     0    0    0 S    0  0.0   0:00.00 cqueue/2
      131 root      19  -5     0    0    0 S    0  0.0   0:00.00 cqueue/3
      134 root      10  -5     0    0    0 S    0  0.0   0:00.00 khubd
      136 root      13  -5     0    0    0 S    0  0.0   0:00.00 kseriod
    
     
    Last edited: Mar 26, 2009
  4. anewday

    anewday Moderator

    What are your settings for lsphp5 in the litespeed web console?
     
  5. grniyce

    grniyce Well-Known Member

  6. grniyce

    grniyce Well-Known Member

Share This Page