View Single Post
  #5  
Old 01-03-2004, 10:54 AM
Fed Fed is offline
New Member
 
Join Date: Dec 2003
Posts: 3
Quote:
Originally Posted by mistwang
Please tell me more about this, I want to have this issue addressed.
lshttpd should rotate the log file automatically when the size limit is reached, it failed to do so? Or you set the size limit bigger than 2G?
Or there is no enough disk space left?
logfile size was default (10M) and there is more than 10G of free space, but you are right: lshttpd did not rotate it ...
error log was rotated each time when server reloaded, but access log was not rotated (it became more than 200M for 24h) even after reload and restart.

Quote:
Originally Posted by mistwang

Quote:
i'd like to add "charset" line to the httpd's header; like this:
Content-Type: text/html; charset=windows-1251
it would be very fine!

do you plan this in future releases?
Next release will allow you to add that in the MIME definition file. By doing so, Content-Type of all static html page will be affected. Not sure if it is what you'd like?

Support for multi-languages is low priority on our current to do list.

Best Regards.
and what about dynamic pages

i mean something like "DefaultCharset" directive in Apache server. for example, my Apache httpd does return this header when i telnet host 80 and request HEAD:
Server: Apache
X-Powered-By: PHP/4.3.3
Connection: close
Content-Type: text/html; charset=windows-1251

and this helpes me in some situations.

i have one more problem and this one is more harmful
when server's load is high i often get error 503:

503 Service Unavailable
The server is temporarily busy, try again later!

and there are 2 peculiarities about it:
1) only PHP scripts are affected; perl and other cgis and static files are served fine.
2) as usual, when i get error 503 for my php pages, admin interface works fine and even fast! why? it is written in php as i can see...

i tried different values for max connections, max cgi instances, but had no success...
how could this be resolved?

thank you.
Reply With Quote