|
|

11-28-2012, 08:58 PM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,226
|
|
|
a few suggestions:
1.Server -> External App -> lsphp5:
Max Connections:35
PHP_LSAPI_CHILDREN=100
the 2 value should match or equal.
you can change PHP_LSAPI_CHILDREN back to default 35
2.first screen shot:
PHP suEXEC Max Conn:5
try change it to 10,20
3.you have 32 CPUs, load is 24, not high. 32 is normal.
4.the real-time stats screen shot:
please monitor the WaitQ column, one is 61. should be 0. or non-zero should not keep for long time.
|

11-28-2012, 09:10 PM
|
|
Member
|
|
Join Date: Sep 2012
Posts: 20
|
|
Quote:
Originally Posted by NiteWave
a few suggestions:
1.Server -> External App -> lsphp5:
Max Connections:35
PHP_LSAPI_CHILDREN=100
the 2 value should match or equal.
you can change PHP_LSAPI_CHILDREN back to default 35
2.first screen shot:
PHP suEXEC Max Conn:5
try change it to 10,20
3.you have 32 CPUs, load is 24, not high. 32 is normal.
4.the real-time stats screen shot:
please monitor the WaitQ column, one is 61. should be 0. or non-zero should not keep for long time.
|
I have applied your suggestions..but the load is increasing...
top - 21:10:16 up 19 days, 19:49, 3 users, load average: 55.88, 36.09, 31.19
Tasks: 1047 total, 5 running, 1042 sleeping, 0 stopped, 0 zombie
Cpu(s): 24.6%us, 37.2%sy, 35.3%ni, 2.8%id, 0.0%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 65681040k total, 60810260k used, 4870780k free, 13421492k buffers
Swap: 4194296k total, 0k used, 4194296k free, 27204132k cached
|

11-28-2012, 09:29 PM
|
|
Member
|
|
Join Date: Sep 2012
Posts: 20
|
|
|
The server load is increasing again. Please help
top - 21:28:15 up 19 days, 20:07, 3 users, load average: 72.04, 62.34, 51.03
Tasks: 1038 total, 8 running, 1030 sleeping, 0 stopped, 0 zombie
Cpu(s): 25.2%us, 15.7%sy, 52.4%ni, 6.4%id, 0.0%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 65681040k total, 62365632k used, 3315408k free, 13309168k buffers
Swap: 4194296k total, 0k used, 4194296k free, 27178040k cached
|

11-29-2012, 01:26 AM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,226
|
|
|
can you post real-time stat screen shot and Server->Security settings screen shot.
high load is a issue, should fix it. but again please be aware: your have 32 CPUs, so load 32 or 64 should not be a big surprise comparing with 1 or 2 CPU system which load is 32 or 64 too. 32 or below is quite normal.
except load, please pay more attention on the actual website performance. if load faster, more traffic will come, which lead higher load. also pay attention to the WaitQ as mentioned before.
|

11-29-2012, 01:41 AM
|
|
Member
|
|
Join Date: Sep 2012
Posts: 20
|
|
Real time stats

Security Setting

|

11-29-2012, 11:31 AM
|
|
Member
|
|
Join Date: Sep 2012
Posts: 20
|
|
|
I am very frustrated, slow response of LiteSpeed staff on the forum. At least please give more attention to its customers. Although the support forum is free but I am also paying customers, pay two licenses / month
Since there is no real solution, I decided to uninstall version 4.2 and install LiteSpeed LiteSpeed 4.2.1
I hope the latest version will solve my problem above. But here is the result:
- If suexec enabled, avg 600 queries / s (900 queries / s on LSWS 4.2). It;'s very bad.
- If suexec is not enabled, websites can not be accessed.
- If suexec daemon is enabled, websites can not be accessed too.
- If lve or cagefs is enabled, MySQL will be stopped running after few times ( I am still waiting for response from Cloudlinux )
There are always errors on the server log viewer:
-2012-11-29 03:46:02.649 ERROR [config] rewrite: unknown server variable while parsing: MULTIPART_STRICT_ERROR
-2012-11-29 03:46:02.849 WARN / usr/local/apache/conf/userdata/std/2/xxxx/suphp_config.conf: 3: Directive 'suPHP_ConfigPath' is not allowed in current context
-2012-11-29 03:46:03.649 WARN Remove looping fd: 63, event: 1
I am not an expert on linux or LiteSpeed. I just want LSWS runnning well and without problems on my server.
|

11-29-2012, 11:50 AM
|
|
LiteSpeed Staff
|
|
Join Date: Oct 2010
Posts: 2,339
|
|
Your last real-time stats screenshot is the same as 1st one which is not helping. Pls post an updated one. Also, your top screenshot shows that your MySQL DB use a lot more CPU cycles (~2400% which is the source of high load.
|

11-29-2012, 12:03 PM
|
|
Member
|
|
Join Date: Sep 2012
Posts: 20
|
|
The high load problem is on LSWS 4.2 Now server uses LSWS 4.2.1 and got new problem :
- If suexec enabled, avg 600 queries / s (900 queries / s on LSWS 4.2). It;'s very bad.
- If suexec is not enabled, websites can not be accessed.
- If suexec daemon is enabled, websites can not be accessed too.
- If lve or cagefs is enabled, MySQL will be stopped running after few times ( I am still waiting for response from Cloudlinux )
There are always errors on the server log viewer:
-2012-11-29 03:46:02.649 ERROR [config] rewrite: unknown server variable while parsing: MULTIPART_STRICT_ERROR
-2012-11-29 03:46:02.849 WARN / usr/local/apache/conf/userdata/std/2/xxxx/suphp_config.conf: 3: Directive 'suPHP_ConfigPath' is not allowed in current context
-2012-11-29 03:46:03.649 WARN Remove looping fd: 63, event: 1
Btw.. here are capture real stats and top


Thanks
|

11-29-2012, 12:12 PM
|
|
LiteSpeed Staff
|
|
Join Date: Oct 2010
Posts: 2,339
|
|
Quote:
Originally Posted by webhostnix
I am very frustrated, slow response of LiteSpeed staff on the forum. At least please give more attention to its customers. Although the support forum is free but I am also paying customers, pay two licenses / month
|
License fee does not cover support. For fast turn around, pls purchase support service (https://store.litespeedtech.com/store/cart.php?gid=5).
Quote:
Originally Posted by webhostnix
Since there is no real solution, I decided to uninstall version 4.2 and install LiteSpeed LiteSpeed 4.2.1
I hope the latest version will solve my problem above. But here is the result:
- If suexec enabled, avg 600 queries / s (900 queries / s on LSWS 4.2). It;'s very bad.
- If suexec is not enabled, websites can not be accessed.
- If suexec daemon is enabled, websites can not be accessed too.
- If lve or cagefs is enabled, MySQL will be stopped running after few times ( I am still waiting for response from Cloudlinux )
|
You need suEXEC enabled for shared hosting environment (i.e., each vhost user owns their files). Can you be more specific about queries/s? did you do benchmark or something?
Quote:
Originally Posted by webhostnix
There are always errors on the server log viewer:
-2012-11-29 03:46:02.649 ERROR [config] rewrite: unknown server variable while parsing: MULTIPART_STRICT_ERROR
-2012-11-29 03:46:02.849 WARN / usr/local/apache/conf/userdata/std/2/xxxx/suphp_config.conf: 3: Directive 'suPHP_ConfigPath' is not allowed in current context
-2012-11-29 03:46:03.649 WARN Remove looping fd: 63, event: 1
I am not an expert on linux or LiteSpeed. I just want LSWS runnning well and without problems on my server.
|
The first ERROR about unknown server variable just means the variable in mod_security rules is not supported in LSWS and hence ignored.
2nd and 3rd (WARN) are no harm. suPHP is not supported in LSWS (it is slow and not as secure as LSPHP) and hence ignored.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 04:55 PM.
|
|