I chose to instantiate a vhost from one of my VH templates.
I did this because I wanted setup for a rails site using the
external app. The reason I did this is because I wanted to
test the "Memory Hard & Soft Limit" settings.
However, I keep getting a 503 error.
I did try increasing the Memory limits up to 500m like the documents suggests.
I started out by removing my rails context.
Next I added an "External App" for the LiteSpeed API
My settings look like this:
Name rubyLSAPI
Address uds://tmp/lshttpd/rubyrailslsapi.sock
Notes Not Set
Max Connections 2
Environment RAILS_ENV=production
LSAPI_CHILDREN=10
Initial Request Timeout (secs) 1M
Retry Timeout (secs) 0
Persistent Connection Not Set
Connection Keepalive Timeout -1
Response Buffering No
Auto Start Not Set
Command $VH_ROOT/public/dispatch.lsapi
Back Log Not Set
Instances 2
Run On Start Up Not Set
Max Idle Time 60
Priority 1
Memory Soft Limit (bytes) 100M
Memory Hard Limit (bytes) 200M
Process Soft Limit 100
Process Hard Limit 200
My contexts looks like this:
URI /
LSAPI App [VHost Level]: easybutton.us.rubyLSAPI
Notes Not Set
Extra Headers Not Set
Allow Override Not Set
Realm Not Set
Authentication Name Not Set
Required Not Set
Access Allowed Not Set
Access Denied Not Set
Authorizer Not Set
Add Default Charset Off
Judging by what I read in the Step by Step,, these settings should work.
Any red flags you see here guys?
I did this because I wanted setup for a rails site using the
external app. The reason I did this is because I wanted to
test the "Memory Hard & Soft Limit" settings.
However, I keep getting a 503 error.
I did try increasing the Memory limits up to 500m like the documents suggests.
I started out by removing my rails context.
Next I added an "External App" for the LiteSpeed API
My settings look like this:
Name rubyLSAPI
Address uds://tmp/lshttpd/rubyrailslsapi.sock
Notes Not Set
Max Connections 2
Environment RAILS_ENV=production
LSAPI_CHILDREN=10
Initial Request Timeout (secs) 1M
Retry Timeout (secs) 0
Persistent Connection Not Set
Connection Keepalive Timeout -1
Response Buffering No
Auto Start Not Set
Command $VH_ROOT/public/dispatch.lsapi
Back Log Not Set
Instances 2
Run On Start Up Not Set
Max Idle Time 60
Priority 1
Memory Soft Limit (bytes) 100M
Memory Hard Limit (bytes) 200M
Process Soft Limit 100
Process Hard Limit 200
My contexts looks like this:
URI /
LSAPI App [VHost Level]: easybutton.us.rubyLSAPI
Notes Not Set
Extra Headers Not Set
Allow Override Not Set
Realm Not Set
Authentication Name Not Set
Required Not Set
Access Allowed Not Set
Access Denied Not Set
Authorizer Not Set
Add Default Charset Off
Judging by what I read in the Step by Step,, these settings should work.
Any red flags you see here guys?