The Magento site is timing out soon while Cookie Lifetime in Magento configuration set to default 3600 seconds.
PHP’s session.gc_maxlifetime was set to be a small number so PHP cleared the session data before Magento had the chance to access it.
Set session.gc_maxlifetime in the site's php.ini to a number larger than the Cookie Lifetime.
To check Cookie Lifetime in Magento: