Search results

  1. A

    how to tell when restart is finished

    Hello, I am driving LSWS from some custom automation and after modifying the configuration we use the lswsctl restart to reload the config. The issue I am having is that if the restart doesn't complete (ie the old lsws is still hanging around finalising requests) and I issue another...
  2. A

    possible lightspeed sapi bug

    When stracing PHP - I noticed: unlink("2;/phpsessions/session_mm_litespeed0.sem") = -1 ENOENT (No such file or directory) open("2;/phpsessions/session_mm_litespeed0.sem", O_RDWR|O_CREAT|O_EXCL, 0600) = -1 ENOENT (No such file or directory) unlink("2;/phpsessions/session_mm_litespeed0.sem")...
  3. A

    swapping space

    I guess I'll just use tmpfs to manage this. Is this a required feature considering that the kernel handles memory and paging? This is similar to varnish vs squid.
  4. A

    No request delivery notification has been received from LSAPI process group

    After a day of running php inside of GDB, I could see there where far fewer crashes (say 5) then the number of these errors I have received. I reapplied LSAPI_ACCEPT_NOTIFY=0 on the lsapi processes and restarted - it seemed to go away. I also notice these errors when restarting lsws.
  5. A

    No request delivery notification has been received from LSAPI process group

    I'm not seeing any processes crash. How can I debug this?
  6. A

    [solved] htaccess and php

    ok thanks, please mark as solved
  7. A

    [Solved] Failed to initialize VMemBuf

    ok, please mark as solved
  8. A

    swapping space

    Is it possible to disable this? We run this in an nfsroot environment - or should I use tmpfs?
  9. A

    No request delivery notification has been received from LSAPI process group

    Hello, From time to time I get: No request delivery notification has been received from LSAPI process group [-1], possible run away process. Followed by: Retry with new process group. What does it mean? I have tried the LSAPI_ACCEPT_NOTIFY=1 and =0 settings with no changes...
  10. A

    [Solved] Failed to initialize VMemBuf

    OK I increased these values as directed even though it's a remote lsapi process and issue appears to have gone. Thanks. How does this actually work?
  11. A

    LSAPI Packet header is invalid

    Hello, What does this mean? LSAPI Packet header is invalid,(','@','','','�','�','�','�')
  12. A

    [Solved] Failed to initialize VMemBuf

    I don't believe that applies - I am running this out of process, ie starting it from the command line not from lsws.
  13. A

    [solved] htaccess and php

    One of my users MIME type [application/x-httpd-fastphp5] for suffix '.html' does not allow serving as static file, access denied! In their htaccess file they have the following: AddType application/x-httpd-fastphp5 .php .htm .html Can I make this work in htaccess?
  14. A

    [Solved] Failed to initialize VMemBuf

    Hello, How do I fix this and what does it mean?
  15. A

    [solved] lsapi missing DOCUMENT_ROOT variable

    OK this was my mistake, I overwrite one of the variables in my code. Sorry to waste your time.
  16. A

    [solved] lsapi missing DOCUMENT_ROOT variable

    Hello, mine doesn't have it in there. Using TCPDUMP I can't even see LSWS passing this through. Is there some setting I am missing?
  17. A

    [solved] lsapi missing DOCUMENT_ROOT variable

    Hello, Some websites are expecting $_SERVER[DOCUMENT_ROOT] to be available, and when testing under LSAPI it appears LSWS does not pass this variable to LSAPI hence DOCUMENT_ROOT is not available. How can I make this available?
  18. A

    litespeed, fastcgi apache incompatibility

    I think I've sent you a pm with the details. Let me know if it's not received.
  19. A

    LSAPI api help

    lsapi Basically the issue is that I am writing an app with lsapi and I am trying to retrieve the HTTP headers from the app. I used the GetHeader function however that only has the request headers not the http headers. Is there a function to get the HTTP headers with lsapi?
  20. A

    litespeed, fastcgi apache incompatibility

    The problem is not the build, the problem is the way that lsws is passing the fastcgi variables. This is why PATH_INFO does not with with PHP and fastcgi. Please read the previous posts.
Top