|
|

12-26-2005, 07:23 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
|
Have you tried ealier release or just 2.1.8?
|

12-26-2005, 07:46 PM
|
|
Member
|
|
Join Date: Oct 2005
Location: San Francisco
Posts: 37
|
|
|
I can downgrade if you want me to try that.
|

12-26-2005, 08:05 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
|
Yes, please.
I will try to reproduce it in our lab tomorrow, is there any special context defined for that vhost? It will be great if you can send us the xml configuration for that vhost, and the .htaccess .
I also wonder if it has anything to do with the traffic volume?
|

12-26-2005, 09:12 PM
|
|
Member
|
|
Join Date: Oct 2005
Location: San Francisco
Posts: 37
|
|
|
Possibly on the traffic, we're on the front page of Digg right now and a ton of blogs.
I downgraded to 2.1.7 and still having a prob, next earliest I have is 2.1.5 which I remember having a prob with hanging PHP procs.
|

12-27-2005, 12:42 PM
|
|
Member
|
|
Join Date: Oct 2005
Location: San Francisco
Posts: 37
|
|
|
I emailed all my conf files and .htaccess to your support email, let me know if anything else is needed.
|

12-27-2005, 01:24 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
|
Is that possible that there is some process keep recreating the .htaccess, even thoug the content of .htaccess does not change? Maybe not that specific file, but other .htaccess file along the path.
As lshttpd cache the .htaccess for 10 seconds, then check for changes, reload it if the modified time was changed, if the .htaccess file is being recreated when lshttpd reload the .htaccess, lshttpd may see an incomplete .htaccess without rewrite rules, and that will be cached for about 10 seconds as well.
That's just my guess based on the symtom of the 404 errors, as when 404 errors occur, it will last about a couple seconds then back to normal and all requests to the forum will return 404. You can confirm that with the timestamp of those missing file errors in the error log.
If .htaccess do get recreated once for a while, please make sure to create a temp file and move the temp file to .htaccess, not to overwrite it directly.
I am still trying to reproduce the problem. :-)
|

12-27-2005, 02:15 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
|
Another quick question, is there a .htacess file under "support/" folder? If yes, what is the content and does it change frequently?
|

12-27-2005, 03:42 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
Hi Matt,
Please download and install http://www.litespeedtech.com/package...6-linux.tar.gz, I had added some log messages to help identify the source of the problem. I think the problem is that, for some reason, lshttpd failed to open the .htaccess file, either run out of file descriptor or the file is being updated.
Anyway, please follow our howto to increase the file descriptor limit
http://www.litespeedtech.com/docs/Ho....html#qa_incfd
You can check how many file descriptors has been used with command "lsof -p <pid_of_lshttpd>".
then upgrade to 2.1.9, please watch out log messages containing "[HTAccess]" tag in the error.log. Normally, you should only see such messages at server start up or .htaccess has been changed.
|

12-27-2005, 04:12 PM
|
|
Member
|
|
Join Date: Oct 2005
Location: San Francisco
Posts: 37
|
|
|
The root .htaccess is the only one, it changes pretty rarely, really only when I'm working on the site.
WordPress.org is on standard, not enterprise, though I can purchase one if needed. Will that file you pointed to still work?
|

12-27-2005, 04:19 PM
|
|
Member
|
|
Join Date: Oct 2005
Location: San Francisco
Posts: 37
|
|
The lshttpd had 170 open files according to lsof. There are about 1500 open total on the system.
ulimit -a returns this:
Code:
two:~# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) unlimited
virtual memory (kbytes, -v) unlimited
This seemed okay:
Code:
two:~# more /proc/sys/fs/file-max
64000
Anything else I can provide?
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 11:58 PM.
|
|