Search results

  1. A

    lsphp and umask

    Thank you! You saved my day :)
  2. A

    lsphp and umask

    # cat strace.log | grep umask [pid 32494] umask(022) = 07 # cat ps-output.txt | grep 32494 root 32494 0.0 0.1 4172 1664 pts/2 T+ 22:13 0:00 ./lshttpd When i set the umask in /etc/login.defs and /etc/bashrc to 007 the root and the normal users have the...
  3. A

    lsphp and umask

    Hi! Tried to change umask in /etc/login.defs and /etc/profile but it didn't work. I made a "strace -f /etc/init.d/lsws start 2> /tmp/strace.log" and found that the pid 1089 sets the umask to 022 but i can't find an open call where the process reads the umask information. Please let me...
  4. A

    lsphp and umask

    Hi there! Unfortunately i need to use the following umask for our sites: 0007 Files created by php should be using this umask. I tried to write a php wrapper-script but it didn't work . #!/bin/sh umask 0007 exec /usr/local/lsws/fcgi-bin/lsphp5-bin I even tried to but the...
  5. A

    SuexecUserGroup and Script Handler

    Thank you that would be really really nice!
  6. A

    SuexecUserGroup and Script Handler

    Hi there! Currently we are using LiteSpeed with the apache httpd.conf. We use SuexecUserGroup and we have defined various "external apps" (php5-small, php5-medium, php5-large) with different memory and process limitations. here some example Script Handlers: php5-small php5-medium...
  7. A

    specify an alternate conf directory

    I have used the trial version with 2 lshttpd processes and yes i think this test showed us that LiteSpeed really suites our needs! We are currently building our webcluster infrastructure and we will probably start with smaller servers and the 2-CPU license. I would like to run the test...
  8. A

    specify an alternate conf directory

    Yesterday we did another test for the LiteSpeed NFS combination. We wrote a little perl script with threads. It works like this: There is a big array with 20.000 urls which are located on the NetApp filer and served by LiteSpeed (real world static html/css/img/js files). Then we start 60...
  9. A

    specify an alternate conf directory

    i did the same test again and watched the mpstat output. during my test the iowait value was not higher than 2%. we are currently testing some web performance software to simulate real world traffic for a shared hosting environment maybe this will give more accurate results. is there a way to...
  10. A

    specify an alternate conf directory

    sorry i forgot to mention: without the large file downloads the ab took the same time to complete (0.7 seconds). i will check for iowait on monday.
  11. A

    specify an alternate conf directory

    i made a simple test in my lab: Installed Litespeed 3.3.3 with trial.key on my Debian etch server. The DocumentRoot of the Vhost is located on a netapp nfs share. Then i created 6 random files each at the size of 256 MB (testfile1 - testfile6). After that i started to download the 6...
  12. A

    specify an alternate conf directory

    i have just looked at the kernel-source linux-source-2.6.22. see fs/nfs/file.c They include the linux/aio.h file. Maybe linux supports aio for nfs? Is there a way to dedect if the lshttpd process runs with aio on nfs? Thanks for your help! Greets from Austria Alex
  13. A

    specify an alternate conf directory

    is this a general problem with the nfs client or server on linux, because we would like to use LiteSpeed with debian etch and our netapp filer. maybe it works better in combination with freebsd/kqueue?
  14. A

    specify an alternate conf directory

    i don't really need the whole conf directory on nfs, but the vhTemplateList and virtualHostList are very important for me to live on nfs, because i wan't to have dataless nodes in my webcluster. Is there a way to put vhTemplateList and vhTemplateList into external file, put it on an nfs...
  15. A

    specify an alternate conf directory

    Hi All! Is it possible to specify an alternate conf directory or httpd_config.xml, because i want to keep the config files on nfs and the LiteSpeed installation on the local disk? Just like: lshttpd -f /exports/conf/lsws/httpd_config.xml or something lshttpd -c...
Top