Search results

  1. S

    Content encoding errors with Firefox

    A few of our clients have been reporting that sometimes their sites throw errors in their browser saying: Content Encoding Error The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression. Interestingly it only seems to be happening...
  2. S

    Not redirecting with 404 status and rails 2.3.2

    We've just noticed another problem with LS 4.x Ent and our Rails 2.3.x sites not redirecting when the status is set to 404. We have a Rails action that catches any invalid url requests and then redirects with a 404 status to a custom 404 sitemap page in the application. Since moving to Rails...
  3. S

    Error messeges on restart with Rails 2.3.2

    We are using Ruby Enterprise. I did some more testing this morning when the server was quiet and it seems that with LS 4.0.9 the ruby processes aren't getting shut down at all on restart - or even server stop - they were still there 5 mins later! I've switched back to v4.0.6 which is...
  4. S

    Error messeges on restart with Rails 2.3.2

    A further update: When restarting LS it doesn't seem to be stopping the current Ruby processes before spawning new ones, which is causing some of our memory problems. Even after stopping LS there are lots of ruby processes still listed in memory. I'm having to manually killall ruby before...
  5. S

    Error messeges on restart with Rails 2.3.2

    Graceful restart not so graceful Just to clarify a little further (I work with Paratiger above): Often when doing a graceful restart the server load shoots up to 40-50 and we then start getting lots MySQL of errors such as described above plus others about too many connections to the MySQL...
  6. S

    503, but no logs, or explanation...

    Thanks, I've doubled the process limits and things seem to be a little more stable now
  7. S

    503, but no logs, or explanation...

    It 503's all the time - although still in 1 out of about 5 restarts it will work and then doesn't 503 at all! The site will run fine via the console or webrick. How do I go about stracing the ruby process?
  8. S

    503, but no logs, or explanation...

    The 503 happens most of the time - we have had the site up and running about twice in about 10 restarts. All our apps have GEMS_RAILS_VERSION defined the in the environment.rb. We're using Ruby Enterprise version 1.8.6 (2008-08-08 patchlevel 286) [x86_64-linux] on centos 5.2 The other rails...
  9. S

    503, but no logs, or explanation...

    We are also experiencing this problem. Using the beta 64bit 4.0.4-ent version for linux ( http://www.litespeedtech.com/packages/4.0/lsws-4.0.4-ent-x86_64-linux.tar.gz ). We had to manually copy the RailsRunner.rb and RailsRunner.rb.2.3 files over to /usr/local/lsws/fcgi-bin to get the rails...
  10. S

    How to restrict file download access to specific users

    This is an interesting post about restricting file downloads only to authenticated users in the app, but offloading the actual download to the server. http://ramblingsonrails.com/how-to-protect-downloads-but-still-have-nginx-serve-the-files The above is for nginx but is there an equivalent...
  11. S

    Inconsistent log rolling between vhosts

    We've just noticed that some of our vhosts have stopped rotating the access logs, whereas others are rotating them fine. All of the vhosts are setup exactly the same with the default log options: * Keep for 30 days * Rolling size: 500M The server-wide access log settings are: * Keep for...
  12. S

    High memory usage in LS compared to Passenger/Mongrel etc

    Any thoughts on the benchmarks posted over here? http://www.rubyenterpriseedition.com/comparisons.html Litespeed seems to be using significantly more memory than all the other configurations.
  13. S

    Finding out license expiry date?

    We have enterprise licenses for a few of our servers. Is there an easy way to find out when the license is due to expire for free upgrades? It sometimes tells you when you restart via the terminal but not always.
  14. S

    Capistrano 2.3 causes LS to core dump on cap restart

    Since upgrading to the latest capistrano we're finding everytime we call: sudo "/usr/local/lsws/bin/lswsctrl restart" in out cap restart task that we get the email saying: web server with pid=5712 received unexpected signal=6, a core file is created. A new instance of web server will be...
  15. S

    How to block/redirect specific user agents

    Some of our sites have been crawled by the Indylib bot which has been spamming rubbish into URL parameters and generally being a bad bot. What is the best way to block requests from specific user agents? The user agent header for the indy lib bot is: Mozilla/3.0 (compatible; Indy Library)
  16. S

    Is this a bug in 3.3.10?

    And here as well
  17. S

    4.0 road map

    My tiny request is to have all the vhost and listening listings sorted alphabetically by default. Becomes a pain to fine the vhost you want when you have a long list!
  18. S

    Content gzipping not working after upgrade to 3.3-ent

    It is, I can clear the swap directory, restart LS and see the cache files being created again.
  19. S

    Content gzipping not working after upgrade to 3.3-ent

    Only 3% of the /tmp partition is being used, but I tried clearing the swap directory anyway and also tried setting the swap directory to be on a different partition. Still no joy. My server is running as nobody:nobody and the vhosts are setup as ExtApp Set UID Mode: DocRoot UID and ExtApp...
  20. S

    Content gzipping not working after upgrade to 3.3-ent

    I've installed LS 3.3.1-ent but it still isn't GZipping the CSS and JS :confused:
Top