[squid-users] Request header is too large.

From: Rikunj <Rikunj@dont-contact.us>
Date: Tue, 12 Apr 2005 18:05:24 +0300

Hello Gurus,

I am sorry to send this question, but my search could not generate anything
useful.

----------------------------------------------------
Server HP DL380 with 1GB RAM
72GB ULTRA FAST SCSI
RHES -3
# uname -a
Linux BM 2.4.21-15.ELsmp #1 SMP Thu Apr 22 00:18:24 EDT 2004 i686 i686 i386
GNU/Linux

# squid -v
Squid Cache: Version 2.5.STABLE3
----------------------------------------------------

I am getting below error from the cache.log. Tried to modify the config but
did not help.

2005/04/12 17:25:27| Config 'request_header_max_size'= 10240 bytes.
2005/04/12 17:25:28| Request header is too large (11680 bytes)
2005/04/12 17:25:28| Config 'request_header_max_size'= 10240 bytes.
2005/04/12 17:25:28| Request header is too large (12287 bytes)
2005/04/12 17:25:28| Config 'request_header_max_size'= 10240 bytes.

My squid.conf says.
----------------------------------------------------

# cat squid.conf | grep request_header_max_size
# TAG: request_header_max_size (KB)
request_header_max_size 10 KB

and on top of this I am also running out of file descriptors.
I tried to increase it manually to ulimit -HSn 65534
but it changes back to 1024.

# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) 4
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 7168
virtual memory (kbytes, -v) unlimited

What more should I do? Please help.

Regards,
Rikunj Patel
Received on Tue Apr 12 2005 - 09:00:58 MDT

This archive was generated by hypermail pre-2.1.9 : Sun May 01 2005 - 12:00:03 MDT