Search results

  1. M

    What's new in Ruby LSAPI 4.0?

    I'm just seeing a few days ago you released the Ruby LSAPI 4.0 I assume that's a big release/upgrade, but I see nothing in the release notes or the news section/forums that says what was done. I only see it available for download: http://www.litespeedtech.com/lsapi-downloads.html Are there...
  2. M

    LSWS Rails App MySQL Connection Errors

    Thanks. I tried it but no luck, the stray socket still remains. I restarted a few times. ps -aux output: 1000 31610 0.0 0.0 8124 636 pts/2 S+ Sep01 0:00 tail -n 500 -f production.log root 453 0.3 0.1 5524 2340 ? S< 03:05 0:00 lshttpd root 454...
  3. M

    LSWS Rails App MySQL Connection Errors

    One last question: Is there a unix command to specifically close that socket? I don't think I can just sudo kill -9 it. So I could at the least try to find a stray socket like this after a LS restart and manually close it from the command line.
  4. M

    LSWS Rails App MySQL Connection Errors

    I see, bummer. We're using the standard Rails 2.3.2 gem. I wonder how others are dealing with this, especially those with high traffic installs. Thanks for your help.
  5. M

    LSWS Rails App MySQL Connection Errors

    Oh ok. What would be the best way to remedy this? Restart MySQL? Also, any idea why that process would be there to begin with so I can know in the future how to prevent it from happening again? I do frequently need to restart LSWS after making Rails code changes, perhaps that made...
  6. M

    LSWS Rails App MySQL Connection Errors

    Ok thanks. If I do a ps -aux now I get this: 1000 15860 0.0 0.1 20116 4164 pts/2 Ss+ 13:36 0:00 -bash root 15923 0.0 0.1 5528 2344 ? S< 13:37 0:00 lshttpd root 15924 0.0 0.0 1656 364 ? S< 13:37 0:00 httpd (lscgid) nobody 15925...
  7. M

    LSWS Rails App MySQL Connection Errors

    I don't know if this is specifically Rails related, but it might be. I frequently get these types of errors: Mysql::Error: Lost connection to MySQL server during query Mysql::Error: Server has gone away I definitely get the first one the most. Are there any settings in Litespeed...
  8. M

    Remove LSWS from Autostart

    What is the command to remove LSWS from auto-start?
  9. M

    Having issues after upgrade to LSWS 4.0.3 and Rails 2.3.2.1

    Sorry to bother, I guess this is my last ditch effort to try and get this working. I've done the following: Completely deleted and re-installed LSWS at 4.0.3 Completely re-installed the virtual host, based off the EasyRubyonRails Template Set the server to run under the staging...
  10. M

    Having issues after upgrade to LSWS 4.0.3 and Rails 2.3.2.1

    I've been playing around with all sorts of context, external app and virtual host setting with no success. I think I'm just going to delete the vhost completely redo it from scratch. So my question is, are there any tutorials that you know of which show how to setup LSWS under a different...
  11. M

    Having issues after upgrade to LSWS 4.0.3 and Rails 2.3.2.1

    Oh ok, yeah the context now uses "/dispatch.lsapi". I'll switch it to use RailsRunner.rb and see if that works.
  12. M

    Having issues after upgrade to LSWS 4.0.3 and Rails 2.3.2.1

    Oh ok, so is RailsRunner coming from ruby-lsapi? I was running 3.3, I just updated the gem to 3.5. I restarted LSWS but it didn't seem to make a diff. On our staging capistrano deploy script we have this custom after_update_code method run: namespace :deploy do task...
  13. M

    Having issues after upgrade to LSWS 4.0.3 and Rails 2.3.2.1

    Hey guys, Hopefully you can help me out a bit on this, I might just have a problem with my config. The situation is this: Upgraded app to Rails 2.3.2.1 from 2.1.1 Upgraded LSWS to 4.0.3 from 3.3.23 (whatever the last release was for the version 3 branch) We have a staging server...
  14. M

    Passenger architecture

    Would it be possible to use the patched "Ruby Enterprise" VM the Phusion guys have with LiteSpeed and get the same memory improvements? Or would ruby-lsapi completely die? If so, is that something you've done or recommend? I haven't tried it personally yet but haven't heard any problems in...
  15. M

    Rails Timeout Error / LS Buffer Empty Error

    I've ran across the following errors at random in my rails app: A Timeout::Error occurred in users#create: execution expired /usr/lib/ruby/1.8/timeout.rb:54:in `rbuf_fill' ------------------------------- Backtrace: -------------------------------...
  16. M

    SSL Cert Error - Need help with LiteSpeed Error MSG

    Thanks, I did as the instructions said. Now I get this: [SSL] Config SSL Context for listener *:443 with Certificate File: /home/sugardev/ssl/gd_cross_intermediate.crt and Key File:/home/sugardev/ssl/dev.sugarstats.com.key get SSL error: error:0B080074:x509 certificate...
  17. M

    SSL Cert Error - Need help with LiteSpeed Error MSG

    mistwang, Thanks for the reply. You know I actually tried that the first time, but it wouldn't let me enter a blank passphrase when creating the key file. Looks like this: sugardev@dev:~/ssl$ openssl genrsa -des3 -out sugardev.key 1024 Generating RSA private key, 1024 bit long modulus...
  18. M

    SSL Cert Error - Need help with LiteSpeed Error MSG

    I know this is most likely not related to LiteSpeed, but I thought maybe someone could give me a little more insight on the error message. I just got a regular godaddy cert and I'm setting up a listener. I get it all setup and configured, restart LiteSpeed but get the following error...
  19. M

    Upgrade from 2.2.6 to 3.0

    I'm using 2.2.6 and want to upgrade. I have a few vhosts (Rails VHOSTS using LSAPI) and see you recommend a clean install. What is the easiest way to move the vhosts over? Just copy their config files from the conf/ directory? Is there anything else I need to worry about regarding...
  20. M

    Rails app suddenly stops working. RailsRunner errors?

    Fixed After playing around with the values a bit more I seemed to have fixed it. I just needed to allocate more memory to the rails part of it (I thought 80M would be more than enough, but I guess this app prefetched all the SVN versioning info?). Thanks! :D
Top