LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > Search Forums > Search Results

Showing results 1 to 13 of 13 - Search took 0.00 seconds. Search: Posts Made By: jerrett
Forum: Ruby/Rails 10-15-2009, 10:41 AM
Replies: 24
Views: 12,059
Posted By jerrett
Looks like disconnect! is still needed in...

Looks like disconnect! is still needed in RailsRunner.rb.. this change fixes the problem:



if defined?(ActiveRecord::Base)
ActiveRecord::Base.disconnect!
...
Forum: Ruby/Rails 10-14-2009, 04:49 PM
Replies: 24
Views: 12,059
Posted By jerrett
disconnect! appeared to still be needed, perhaps...

disconnect! appeared to still be needed, perhaps not though - i will check again.
Forum: Ruby/Rails 10-14-2009, 03:31 PM
Replies: 24
Views: 12,059
Posted By jerrett
The solution to this is to put: ...

The solution to this is to put:

ActiveRecord::Base.connection.disconnect!



in your environment.rb (at the end)

A better solution would be to add this to RailsRunner.rb, right after...
Forum: Ruby/Rails 10-14-2009, 02:01 PM
Replies: 24
Views: 12,059
Posted By jerrett
I noticed in railsrunner for new (rack) versions...

I noticed in railsrunner for new (rack) versions of rails, there is no code for the disconnect! call to AR... is this supposed to be like this? it's not in the rack adapter, either...
Forum: Ruby/Rails 05-13-2009, 06:45 PM
Replies: 8
Views: 2,869
Posted By jerrett
It worked, but we had to manually create a cache...

It worked, but we had to manually create a cache object for the session store so we could call reset on it (and then just SESSION_CACHE.reset right before the clear_active_connections!)

In the...
Forum: Ruby/Rails 05-13-2009, 02:01 PM
Replies: 8
Views: 2,869
Posted By jerrett
Doesn't seem to help, if it's only loaded once...

Doesn't seem to help, if it's only loaded once i'm assuming that means it won't reset when the process gets forked.. where would we hook into that?
Forum: Ruby/Rails 05-13-2009, 01:42 PM
Replies: 8
Views: 2,869
Posted By jerrett
Would it be a good place to do this in...

Would it be a good place to do this in environment.rb, or is that not going to get executed when it's forked?
Forum: Ruby/Rails 05-13-2009, 01:07 PM
Replies: 8
Views: 2,869
Posted By jerrett
This also just started happening with the new...

This also just started happening with the new Litespeed and Rails 2.3 (Rack)..
Forum: Ruby/Rails 05-13-2009, 12:30 PM
Replies: 8
Views: 2,869
Posted By jerrett
Problem with Memcache / forking

http://www.modrails.com/documentation/Users%20guide.html#_example_1_memcached_connection_sharing_harmful


I'm running into a similar problem with Litespeed... Memcache is returning incorrect...
Forum: Install/Configuration 10-29-2007, 09:24 AM
Replies: 1
Views: 1,642
Posted By jerrett
disable core dump

Hi!

I can't figure out how to stop litespeed from creating core dumps on my server - I have the core dump option set to disable and it's still spawning core.**** files in the root of my rails app....
Forum: General 08-28-2007, 07:32 PM
Replies: 5
Views: 3,004
Posted By jerrett
Having the same problem - using the right lsws...

Having the same problem - using the right lsws for fbsd 6.1 , have tried reinstall etc... can't get it to login
Forum: Ruby/Rails 01-05-2007, 05:12 PM
Replies: 2
Views: 2,706
Posted By jerrett
Thanks for the quick reply, that sounds pretty...

Thanks for the quick reply, that sounds pretty much what i was hoping :)
Forum: Ruby/Rails 01-05-2007, 09:24 AM
Replies: 2
Views: 2,706
Posted By jerrett
rails proc spawning question

Hello! I'm curious about the spawning of new rails processes that litespeed does...

will litespeed spawn new procs rather than stack behind an existing/busy one if it hasn't reached max-procs?...
Showing results 1 to 13 of 13

 
Forum Jump

All times are GMT -7. The time now is 06:53 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.