|
|

09-12-2006, 08:07 AM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
Quote:
|
Even still, it would seem that something was wrong if it keeps spawning new processes when at most two users are ever accessing it at once (most likely only one at a time).
|
Yes, that true. LSAPI 1.7 should do much better job.
|

09-12-2006, 09:23 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
We improved the process manager in LSAPI, the spawning extra processes problem should be fixed completely.
You can try LSAPI 1.8 at http://www.litespeedtech.com/package...api-1.8.tar.gz .
|

09-13-2006, 05:54 AM
|
|
Member
|
|
Join Date: Sep 2006
Posts: 38
|
|
Quote:
Originally Posted by mistwang
|
Ok. I downloaded and installed the patch.
In the Rails tab, the Environment setting includes the value:
LSAPI_MAX_REQS=1000
Does that need to be lowered too, or is that OK?
Also, is there any way to verify the version of LiteSpeed or LSAPI installed on a system - just to make sure everything installed correctly? Thanks!
Hopefully the 1.8 will do the trick, because the system had spawned crazy processes again last night.
|

09-13-2006, 10:11 AM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
Quote:
In the Rails tab, the Environment setting includes the value:
LSAPI_MAX_REQS=1000
Does that need to be lowered too, or is that OK?
|
No need to lower it.
Web admin interface or the error log file has the version number of LSWS.
"gem list" will show the LSAPI version if installed through RubyGem, if installed manually, you should know it. ;-)
|

09-13-2006, 11:11 AM
|
|
Member
|
|
Join Date: Sep 2006
Posts: 38
|
|
Quote:
Originally Posted by mistwang
No need to lower it.
Web admin interface or the error log file has the version number of LSWS.
"gem list" will show the LSAPI version if installed through RubyGem, if installed manually, you should know it. ;-)
|
When will the ruby-lsapi gem be online for auto installation?
Also, any word on when the Capistrano wiki How-To will be available?
|

09-13-2006, 11:26 AM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
After we belive that the too much ruby process problem has been truely fixed. 
|

09-13-2006, 01:07 PM
|
|
Member
|
|
Join Date: Aug 2006
Posts: 18
|
|
Quote:
Originally Posted by mistwang
|
1.7 barfed all over itself last night. I woke up this morning and it had been spawning until I think it ran out of memory. I have 18 rubly lsap and 3 lsphp (didn't have this prob before) sitting there. 1.21 maybe contributing to it?
I dunno.
I'll try the 1.8 lsapi and see how that goes. Thanks.
|

09-13-2006, 01:14 PM
|
|
Member
|
|
Join Date: Aug 2006
Posts: 18
|
|
|
Regarding 1.8, do you recommend building a gem and then installing or just use setup.rb? I'm wondering if this will interfere with a gem-only strategy I've been following.
thanks,
|

09-13-2006, 02:10 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
The problem should be mainly in
gem package will be available when we officially announce this release.
Yes, packages installed via gem and setup.rb may interfere with each other, remove the other one when switch the package. I think the gem one may has lower priority, not 100% sure.
Be careful not to over configure your rails application like setting "max connections" to 100 when you hardware cannot take 100 ruby processes. 
|

09-14-2006, 10:08 AM
|
|
Member
|
|
Join Date: Sep 2006
Posts: 38
|
|
|
Ok. I downloaded and installed LSAPI 1.8 as instructed in the README:
ruby setup.rb config
ruby setup.rb setup
ruby setup.rb install
Is that it?
It would be nice to be able to run something like "lsws -v" and have LiteSpeed verify what versions are being used of both the server and LSAPI.top
I don't recall seeing anything in the instructions, but is there any need to modify any files within the individual Rails applications?
Last edited by jp_n9; 09-14-2006 at 10:09 AM..
Reason: Typo
|
| 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:00 AM.
|
|