Portal Home > Knowledgebase > Articles Database > mod_cache problem: error returned while trying to return disk cached data
mod_cache problem: error returned while trying to return disk cached data
Posted by jcisio, 08-12-2009, 09:09 PM |
Hello,
I use Apache 2.2 mod_proxy and mod_cache for a reverse proxy. It works pretty well, the cache folder is about 6-7 GB. But since yesterday I have had abnormal heavy load on the main server with a lot of connections from the proxy server, with the status TIME_WAIT. Before, it had just a few connections.
In the proxy server, I get plenty of these error from error_log file:
Please advise me. Googling the error message doesn't help.
|
Posted by relichost, 08-13-2009, 03:06 AM |
Hi
May sound a little overkill, but have you tried to reboot the proxy server ?
Thanks
|
Posted by jcisio, 08-13-2009, 03:24 AM |
Yes I rebooted the VPS twice, change the CacheRoot to another place, update the Apache to the latest version (on Centos 5).
|
Posted by PeakVPN-KH, 08-13-2009, 06:20 AM |
Are you running out of memory? How's the load look? For the TIME_WAIT I'd adjust your ip_conntrack accordingly.
|
Posted by jcisio, 08-13-2009, 06:26 AM |
For the web server:
It's better now, there are times it has about 500+ connection. Never have problem before with 512M, and I upgraded to 768M a few days ago. In the proxy server:
|
Posted by jcisio, 08-14-2009, 10:28 AM |
The only result when Googling is this topic.
I just delete the cache folder again, change CacheDirLength from 2 to 1. There are less error. Yesterday, for the proxy server, the access log showed 2.7 M entries (660 MB combined log) and the error log had *only* 6168 entries (850 KB). The cache folder grew to 3.1 GB in less a day (it's a tech blog with the reverse proxy served as an edge-caching server).
But I still don't know where the errors come from, and how to fix them.
|
Add to Favourites Print this Article
Also Read