Search results

  1. G

    Random 404 pages

    We are seeing in our access logs random 404 errors with one of our Rails Apps. We can't pinpoint a cause at this stage - seemingly users who are experiencing it can refresh the page and everything will be fine. One thing we did notice was the "[NOTICE]..Request line:" message which is typically...
  2. G

    Memory limits

    Just curious about the soft and hard memory limits - is there some sort of limit on the maximum values? I currently have 1800M for soft and 2000M for hard. If I try to raise those to higher values I get log messages as below: [WARN] [config:server:rails] invalid value of <memSoftLimit>:2200M...
  3. G

    Stray rails processes

    LSWS enterprise 3.2.4 Fedore core Linux I am noticing some stray rails processes that don't appear to be attached to the parent processes at all. When running strace on them I see this output: accept(0, <unfinished ...> I do run a restart (lswsctrl restart) at midnight in conjunction with...
  4. G

    Segfaults - protection errors

    Litespeed 3.1.1 enterprise Ruby-LSAPI 2.5 I have 5 servers running litespeed and a Rails application. Noticed occasional messages coming up in dmesg and /var/log/messages on a couple of them like this: lshttpd[13545]: segfault at 00005d947ee9859c rip 0000003c3ac6fd00 rsp 00007fffffb7bb18...
  5. G

    Ruby Rails tuning - traffic bursts

    Litespeed trial Enterprise version 3.0 - 64 bit ruby-lsapi 2.2 - gem install Easy rails setup single opteron server 4GB RAM Linux 2.6 kernel I have a system that is under fairly high load but will occasionally receive intense traffic bursts. It receives a combination of keep-alive and...
  6. G

    redirect issue

    Working with an external load balancer that handles all SSL transactions and forwards requests on clients behalf to backend litespeed server via regular http connections. We have a situation where we want requests like this: https://admin.test.com to re-direct to https://admin.test.com/admin...
  7. G

    Custom Rails Environment

    Is there a way to set the Rails Environment to a custom setting besides development or production? I want to establish a staging environment. I've tried setting the global rails environment setting to N/A and then adding RAILS_ENV=staging as an Environment variable but it didn't appear to be...
Top