Author |
|
vijayt779
Joined: 02 Jul 2014 Posts: 8 Location: USA
|
Posted: Wed 02 Jul '14 19:32 Post subject: apache graceful interrupt the active connection |
|
|
Hi,
We are rotating apache logs 4 times during the day, we are using apache graceful as part of the script so it will generate all new log files.
But I recently found it is killing/closing the active connection for ex: If I am downloading a large file, it fails during the apache graceful restart.
I really appreciate any thoughts/ideas on this?
Please help me.
Thanks
vj |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
|
Back to top |
|
vijayt779
Joined: 02 Jul 2014 Posts: 8 Location: USA
|
Posted: Thu 03 Jul '14 1:14 Post subject: |
|
|
Hi
I did try "rotatelogs" but its not rotating, do I need to recompile with any module?
Please help
Thanks
vj |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Thu 03 Jul '14 2:49 Post subject: |
|
|
Nope you don't.
Can you please post the config that you tried? |
|
Back to top |
|
vijayt779
Joined: 02 Jul 2014 Posts: 8 Location: USA
|
Posted: Thu 03 Jul '14 2:58 Post subject: |
|
|
Here it is;
CustomLog "|/usr/local/apache-dyna/bin/rotatelogs /usr/local/apache-dyna/logs/access_log 300" common
Should I post the full confg. please let me know
Thanks
vj |
|
Back to top |
|