AnsweredAssumed Answered

Proxy Problem: (70007)The timeout specified has expired

Question asked by cloudcontrol on Mar 14, 2011
Latest reply on Mar 17, 2011 by muralie39
Hello,

I have a problem performing a paste operation of a large number of items contained in a space (I do not have an item count, but it is surely in over 1000). The installation is on 64-bit Ubuntu 9.04 provided by Alfresco for Community Edition 3.2.r2. I have replaced 3.2.r2 with 3.4.d. It does not seem to matter if I use mod_proxy or proxy_ajp- I still get "(70007)The timeout specified has expired" errors after a length of time. What timeout value is specified and where is it specified?

Currently I am using mod_proxy and have the following in apache2.conf:
#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 600
ProxyTimeout 600
The mod_proxy statement is:

ProxyRequests Off
RewriteEngine On
RewriteRule ^/alfresco/(.*) /$1 [PT]
ProxyPass /alfresco/ http://10.112.75.25:8080/alfresco/ retry=1 timeout=600
ProxyPassReverse /alfresco/ http://10.112.75.25:8080/alfresco/
RewriteRule ^/share/(.*) /$1 [PT]
ProxyPass /share/ http://10.112.75.25:8080/share/ retry=1 timeout=600
ProxyPassReverse /share/ http://10.112.75.25:8080/share/
Interestingly, I initially set the timeout to 5 minutes (300 seconds) and saw the error after 6 minutes- once I doubled the timeouts above, I received the error at 12 minutes.

Changing the value in /etc/tomcat6/server.xml in the Connector to:

<Connector port="8080" protocol="HTTP/1.1" 
               connectionTimeout="200000"
               redirectPort="8443" />

Seems to have no effect

Finally, after I  refresh my browser after a great deal of time, I see that the "paste all" has succeeded. The only events which show up in alfresco.log are
09:09:17,454 WARN  [org.alfresco.repo.cache.TransactionalCache.org.alfresco.cache.contentDataTransactionalCache] Transactional update cache 'org.alfresco.cache.contentDataTransactionalCache' is full (1000).
09:11:35,085 WARN  [org.alfresco.repo.cache.TransactionalCache.org.alfresco.cache.node.propertiesTransactionalCache] Transactional update cache 'org.alfresco.cache.node.propertiesTransactionalCache' is full (5000).
09:15:11,200 WARN  [org.alfresco.repo.cache.TransactionalCache.org.alfresco.cache.node.aspectsTransactionalCache] Transactional update cache 'org.alfresco.cache.node.aspectsTransactionalCache' is full (10000).
09:15:11,243 WARN  [org.alfresco.repo.cache.TransactionalCache.org.alfresco.nodeOwnerTransactionalCache] Transactional update cache 'org.alfresco.nodeOwnerTransactionalCache' is full (10000).

Outcomes