Increase web timeout

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
atostaine
Posts: 696
Joined: Wed Jan 20, 2016 7:38 am

Increase web timeout

Post by atostaine »

We have a VLWEB application that uses the IBM i to grab some images and bring them into a directory on the IFS to display them. Recently that process started taking very long and our application is timing out. While we work to figure out what happened I thought I could increase the time the app/website will wait.

I saw this about response timeout but since this is IBM i and everything is running on the same machine I don't have an application server timeout.
https://docs.lansa.com/15/en/Lansa008/ ... eb_030.htm

Anyone know where I can increase the timeout?
Art Tostaine
caseywhite
Posts: 192
Joined: Thu May 26, 2016 1:17 am

Re: Increase web timeout

Post by caseywhite »

Art, if you are using Apache webserver you could add following directive:

TimeOut {number-of-seconds}
atostaine
Posts: 696
Joined: Wed Jan 20, 2016 7:38 am

Re: Increase web timeout

Post by atostaine »

Thanks Casey. Turns out they had a comm line go degraded. The backup is getting the request done in 50 seconds or so. But I'm going to add that.

Art
Art Tostaine
Post Reply