Berkeley CSUA MOTD:Entry 21793
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/25 [General] UID:1000 Activity:popular
5/25    

2001/7/13 [Uncategorized] UID:21793 Activity:kinda low
7/12       \_ Hey tom, why is it unsafe to move logs out from under Apache
              if you restart it?  Also, restarting Apache takes something
              on the order of seconds, so the disruption of service is
              nigh-invisble, is it not?
              - Rotates logs manually and restarts Apache
                \_ It depends what you're serving.  If someone is downloading
                   a big file, for example, either their download will hold up
                   the server respawning, or the download will be killed when
                   you restart.  If you have only small content and don't
                   care if you occasionally serve broken images or pages,
                   it's not so bad.  Still, it doesn't cost much to do it
                   right.  -tom
                   \_  I ran an app that was using jserv, and stopping and
                       restarting apache was a major pain.  rotatelogs was
                       the best solution.  -ERic
                       \_ Oh god yes.  Also, if you have 5k connections at
                          once, it sucks.  I like cronolog better, though.