March 2018
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728293031  

Categories

March 2018
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728293031  

504 Gateway apache tomcat issue

The servlet was taking a long time to compress the log files, and Apache‘s timeout was set to 2min.

The error was fixed by increasing the TimeOut Directive on the httpd.conf file:

# # Timeout: The number of seconds before receives and sends time out. # ##Timeout 120 Timeout 600 […]