Re: [squid-users] Problem with http upload through squid

From: Eric <rubuntu_at_laposte.net>
Date: Tue, 16 Mar 2010 17:28:03 +0100

Henrik Nordstrom a écrit :
> lör 2010-03-13 klockan 17:30 +0100 skrev Eric:
>
>
>> I'm using Squid v. 2.7.STABLE7 in an ipcop server (v.1.4.21). I'm facing
>> problem with http upload through squid.
>> I often get 2 error's messages when i try to upload a file on my website
>> using an amazing upload script (OpenUpload) :
>>
>
> What is reported in access.log?
>
> Is there any warnings/errors in cache.log?
>
> Regards
> Henrik
>
>
>
Hi Henrik,

I answer your questions, i reproduced this error :

(104) Connection reset by peer
Generated Tue, 16 Mar 2010 15:54:50 GMT by ipcop.localdomain (squid)

1- My access.log aroud this time :

1268754810.782 609 192.168.2.104 TCP_MISS/302 469 GET
http://www.website.com/openupload/www/index.php - DIRECT/93.88.240.208
text/html
1268754811.133 345 192.168.2.104 TCP_MISS/200 2603 GET
http://www.website.com/openupload/www/index.php?action=login -
DIRECT/93.88.240.208 text/html
1268754811.753 138 192.168.2.104 TCP_MISS/200 3721 GET
http://www.website.com/openupload/www/templates/default/main.css -
DIRECT/93.88.240.208 text/css
1268754812.383 741 192.168.2.104 TCP_MISS/200 130052 GET
http://www.website.com/openupload/www/templates/default/js/prototype.js
- DIRECT/93.88.240.208 application/x-javascript
1268754812.634 103 192.168.2.104 TCP_MISS/200 3809 GET
http://www.website.com/openupload/www/templates/default/img/openupload.jpg
- DIRECT/93.88.240.208 image/jpeg
1268754813.244 108 192.168.2.104 TCP_MISS/200 5408 GET
http://www.website.com/openupload/www/templates/default/img/openupload.ico
- DIRECT/93.88.240.208 image/x-icon
1268754814.613 246 192.168.2.104 TCP_MISS/302 392 POST
http://www.website.com/openupload/www/index.php - DIRECT/93.88.240.208
text/html
1268754814.903 279 192.168.2.104 TCP_MISS/200 5743 GET
http://www.website.com/openupload/www/index.php - DIRECT/93.88.240.208
text/html
1268754815.063 102 192.168.2.104 TCP_REFRESH_HIT/304 189 GET
http://www.website.com/openupload/www/templates/default/main.css -
DIRECT/93.88.240.208 -
1268754815.313 86 192.168.2.104 TCP_REFRESH_HIT/304 189 GET
http://www.website.com/openupload/www/templates/default/img/openupload.jpg
- DIRECT/93.88.240.208 -
1268754815.523 196 192.168.2.104 TCP_MISS/200 8537 GET
http://www.website.com/openupload/www/templates/default/img/upload.png -
DIRECT/93.88.240.208 image/png
(...)
1268754892.475 64407 192.168.2.104 TCP_MISS/502 1406 POST
http://www.website.com/openupload/www/index.php - DIRECT/93.88.240.208
text/html

2- Finally my cache.log around this time :

2010/03/16 14:37:15| Consider increasing the number of url_rewriter
processes to at least 12 in your config file.
2010/03/16 15:07:07| WARNING: All url_rewriter processes are busy.
2010/03/16 15:07:07| WARNING: up to 5 pending requests queued
2010/03/16 15:28:10| WARNING: All url_rewriter processes are busy.
2010/03/16 15:28:10| WARNING: up to 5 pending requests queued
2010/03/16 15:44:48| WARNING: All url_rewriter processes are busy.
2010/03/16 15:44:48| WARNING: up to 11 pending requests queued
2010/03/16 16:08:50| WARNING: All url_rewriter processes are busy.
2010/03/16 16:08:50| WARNING: up to 5 pending requests queued
2010/03/16 16:12:53| WARNING: All url_rewriter processes are busy.
2010/03/16 16:12:53| WARNING: up to 11 pending requests queued
2010/03/16 16:12:53| Consider increasing the number of url_rewriter
processes to at least 16 in your config file.

I hope it will help you to solve my problem ! :-)

Regards,

Eric
Received on Tue Mar 16 2010 - 16:28:08 MDT

This archive was generated by hypermail 2.2.0 : Wed Mar 17 2010 - 12:00:04 MDT