kill process

Discussion in 'Install/Configuration' started by cornish, Apr 1, 2014.

  1. cornish

    cornish Member

    Hi installed litespeed on a vps tonight but i cant kill any process and not sure why some have been high all night,

    Even the load average is higher than normal any idea why please.

    Also got all these warnings ?

    2014-04-01 00:19:27.004ERROR[config:server:epsr:lsphp55] invalid path - /usr/local/lsws/fcgi-bin/lsphp55, it cannot be started by Web server!
    2014-04-01 00:19:27.004ERROR[config:scripthandler] Can not find handler with type: 12, name: lsphp55.
    2014-04-01 00:19:27.004ERROR[config:scripthandler] Can not find External Application: lsphp55, type: lsapi
    2014-04-01 00:19:27.004ERROR[config:scripthandler] use static file handler for suffix [php55]
    2014-04-01 00:19:27.005ERROR[ModSecurity] unknown server variable while parsing: MULTIPART_STRICT_ERROR
  2. NiteWave

    NiteWave Administrator

    you can ignore lines with "php55" in it -- if you don't use php 5.5.x
    Code:
    2014-04-01 00:19:27.005ERROR[ModSecurity] unknown server variable while parsing: MULTIPART_STRICT_ERROR
    you can disable mod_security temporarily to see if any improvement.

    have you installed apache as well ? does it work well under apache ?

    run "top -c", to identify which processes have high CPU
  3. cornish

    cornish Member

    I run php version 5.3.27 on this one, the server as cpanel so apache is installed and works well, when i go back to apache the load goes back down to normal.

    Disabled Mod security and all these errors below went ? but when i put it back on they come back.

    014-04-01 00:19:27.004ERROR[config:scripthandler] Can not find handler with type: 12, name: lsphp55.
    2014-04-01 00:19:27.004ERROR[config:scripthandler] Can not find External Application: lsphp55, type: lsapi
    2014-04-01 00:19:27.004ERROR[config:scripthandler] use static file handler for suffix [php55]
    2014-04-01 00:19:27.005ERROR[ModSecurity] unknown server variable while parsing: MULTIPART_STRICT_ERROR

    After this i enabled mod security again and now the errors have gone very strange.

    Got this new one now [] can't set 'Forced Type', undefined MIME Type handler/Drupal_Security_Do_Not_Remove_See_SA_2006_006
    Last edited: Apr 1, 2014
  4. NiteWave

    NiteWave Administrator

    the errors regarding lsphp55 can be completely ignored on your server.
    if you just don't want to see them in error log, just do
    #ln -sf /usr/local/lsws/fcgi-bin/lsphp5 /usr/local/lsws/fcgi-bin/lsphp55

    if you disable mod_security, you won't see this error message any more:
    2014-04-01 00:19:27.005ERROR[ModSecurity] unknown server variable while parsing: MULTIPART_STRICT_ERROR

    what's your server's problem ? load too high ? how high is it ? how many CPU/cores on the server ?
  5. cornish

    cornish Member

    8 CPUs its not that its really high just higher than when it running on apache.
  6. NiteWave

    NiteWave Administrator

    if load is below or around 8, that's quite normal.
  7. cornish

    cornish Member

    Do you mean where it says this below ? or where it says this Load Averages: 0.67 0.71 0.70
    Server load0.65 (8 CPUs)
  8. NiteWave

    NiteWave Administrator

    yes -- Load Averages: 0.67 0.71 0.70
    the load is below 1, quite low.
  9. cornish

    cornish Member

    Ok cool i like it low because sites load faster and makes customers happy :)

Share This Page