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

    Stray rails processes

    Looks good so far! I'll let you know if anything changes. Thanks
  3. G

    Stray rails processes

    Hi yes, running with ruby-lsapi 3.1, still seems to be happening. Looking at the process tree they are just running without being attached to any parent. No cpu usage but a little bit of memory. Running strace on one of the pids still returns: accept(0, Running with litespeed 3.3.8 currently
  4. G

    Stray rails processes

    Hi just wondering if you guys had looked into this further at all? I hadn't seen anything in the latest updates. Thanks
  5. 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...
  6. 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...
  7. G

    Segfaults - protection errors

    GDB installed and e-mail set - will forward information as it arrives, thanks.
  8. G

    Segfaults - protection errors

    We're using Fedora Linux, Yes in /tmp/lshttpd there is a directory called bak_core with a few core files. The error seems to be coming up at 5 minute intervals - I haven't associated any cron or application process to that timing.
  9. 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...
  10. G

    Ruby Rails tuning - traffic bursts

    Yes agreed! I've taken it down to 12 and testing has improved by leaps and bounds. The application is extremely cpu intensive so I will move on to a dual processor system and work with the programmers on optimizing. Thanks
  11. G

    Ruby Rails tuning - traffic bursts

    So to confirm - I should remove the explicit LSAPI_CHILDREN setting, set Max Connections to 50 in the Server Ruby/Rails tab and gradually increase? Do I need to set Max Connections in the Virtual Host Rails Context to 50 as well initially? Which Max Connections setting takes precedence? Thanks
  12. 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...
  13. G

    redirect issue

    Ahh you are right - lack of communication between myself and developers! :S Thanks for your patience - makes sense now.
  14. G

    redirect issue

    Sorry for any confusion - we are not using mongrel at all, just litespeed with LSAPI. The /admin in the URI is not a directory but a RAILS action and should not need the trailing slash. The second request should not result in another redirect at all, but it seems litespeed is responding with a...
  15. G

    redirect issue

    We do have that header set in the load balancer as it was required for the previous mongrel setup which you have also noted. The reason we think it is something to do with Litespeed is that debugging output from the rails app does appear to show it receiving the header properly and setting the...
  16. 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...
  17. 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