Search results

  1. E

    Connections to PHP LSAPI socket timing out under higher traffic

    We found another interesting fact. LSAPI PHP processes are having quite high disk I/O. Most of the I/O actions was dirtying nodes, but what puzzled me a bit was that there were static files (mostly pictures) being touched by LSAPI PHP process. That brings me to a question are we serving static...
  2. E

    Connections to PHP LSAPI socket timing out under higher traffic

    Thanks for the reply, but besides the upgrade (I haven't found any mention of this behavior in the server release log), do you have any additional advice regarding the configuration that would help reduce these connection problems? Thank you! Andrej
  3. E

    Connections to PHP LSAPI socket timing out under higher traffic

    Hi there, we are running version 3.3.14 with LSAPI php (php version: 4.4.9, LSAPI version: 4.1) we are hostin approximately 280 php domains and couple of rails applications (5 I think of which 3 are being frequented more) on a 2-CPU box with 4GB of RAM. Recently we started to run into...
  4. E

    lsapi and PLESK

    mistwang, yes! it works :) thank you Andrej
  5. E

    lsapi and PLESK

    mistwang, i'm sorry to report that looks like it doesn't work in 3.3 either :( it looks like the domains and vhosts that start with numbers are causing this problems. Andrej
  6. E

    lsapi and PLESK

    mistwang, i figured the previous "problem" out, since the documentroot of the vhost wasn't the same as the root of the rails app (rails app root is in documentroot/current) the rails .htaccess file was necessary in the documentroot in order for the root route to work. but you gonna love...
  7. E

    lsapi and PLESK

    wasn't the cache. this is in the log file 2007-10-30 04:18:14.294 [DEBUG] [85.237.18.135:1263-0#APVH_0209.newline-projects.com:80] New request: Method=[GET], URI=[/], QueryString=[] Content Length=0 2007-10-30 04:18:14.294 [DEBUG]...
  8. E

    lsapi and PLESK

    yes the subdomain vhost container has the suexecusergroup. and the .ls_rails_config looks like this: #RailsApp <name> <App Path> <Rails Evn> <Children Processes> <RunOnStart> RailsApp nlcman "/subdomains/nlcman/httpdocs/current/" "development" 4 1 RailsApp 0209...
  9. E

    lsapi and PLESK

    mistwang, i guess you are right, since i have set up another rails domain and the AppPath has trailing "/" and the root route doesn't work .. when do you think the 3.3 will be out ? :) or do you have any suggestion how to how to patch this other than not use the root route ?
  10. E

    lsapi and PLESK

    mistwang, ok! everything works perfectly, except one small thing. The dir in <App Path> variable in the .ls_rails_config has to have a "/" at the end otherwise it doesn't match the rails route for "index" (map.connect '', :controller => ...) and look for a regular index file. another...
  11. E

    lsapi and PLESK

    mistwang, thank you very much! i'll look into this since suexec is not activated in our apache installation. i'll report back thank you very much again! Andrej
  12. E

    lsapi and PLESK

    yes, domain and subdomain(s) (there are more not just nlcman) are configured via plesk. config PMed thank you for your effort! Andrej
  13. E

    lsapi and PLESK

    mistwang, any idea ? :(
  14. E

    lsapi and PLESK

    can this has something to do that we are using the enterprise version with the trial license?
  15. E

    lsapi and PLESK

    ok i double checked everything and everything seems to be configured properly. cat /etc/passwd | grep nlcprojects nlcprojects:x:10001:10001::/var/www/vhosts/newline-projects.com:/bin/false Ruby Rails tab Ruby Path: /usr/local/bin/ruby Rails Environment: Development Max Connections: 5...
  16. E

    lsapi and PLESK

    right, there was a problem with permissions for session file, ok so LS vhost works fine as does the lsapi. now why doesn't the .ls_rails_config work :(
  17. E

    lsapi and PLESK

    and the application works just fine with mongrel and apache - i just checked
  18. E

    lsapi and PLESK

    hmmm this is weird. i tried to setup a rails vhost in the lsws admin. so i could see whether at least that works. the railsrunner is up and running but i only get 500 error.. log dump: 2007-10-23 18:49:00.570 [DEBUG] [*:8088] 1 connections accepted! 2007-10-23 18:49:00.571 [DEBUG]...
  19. E

    lsapi and PLESK

    vhost docroot: /var/www/vhosts/newline-projects.com/subdomains/nlcman/httpdocs owner of the dir above: nlcprojects:psaserv owners's home dir: /var/www/vhosts/newline-projects.com .ls_rails_config location: /var/www/vhosts/newline-projects.com/.ls_rails_config .ls_rails_config...
  20. E

    lsapi and PLESK

    still nothing :( i'm clueless
Top