[smokeping-users] mod_fcgid: HTTP request length xxx (so far) exceeds MaxRequestLen (yyyy)

Tobias Oetiker tobi at oetiker.ch
Mon Feb 3 11:08:32 CET 2014


Hi Paul,

Jan 27 Paul Mansfield wrote:

> We have had a significant number of problems with smokeping client
> consuming all the memory on a server, we've had these grow to 12GB in
> the worst case!
>
> There appear to be two problems, probably related.
>
> * One is that the slave can't communicate with the master for a while
> and the smokeping slave cache builds up a backlog of work, and then it
> is unable to send the data.
>
> * The other problem is that the slave process, e.g. usually FPing,
> gets wedged and becomes larger and larger.
>
>
> the clue to the first problem are lines like this in the Apache error log:
>
> [Mon Jan 27 12:12:42 2014] [warn] [client w.x.y.z] mod_fcgid: HTTP
> request length 394304 (so far) exceeds MaxRequestLen (393216)
>
> To resolve this, you have to kill-9 the smokeping slave, and any child
> processes like FPing, then remove everything in the ~smokeping/cache
> directory. Then it's safe to restart.
>
>
> It's probably worth setting a larger number than the default in apache
> config anyway to allow slaves to catch up... e.g.
>     FcgidMaxRequestLen 131072
>
> but if you find anything larger than that it probably means something
> else has gone wrong.

hmmm never seen such a problem ... 12GB ist VERY much ... for how
long has the slave been 'offline' when this happens? and how large
is a normal 'submission' by the slave ?

cheers
tobi
-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the smokeping-users mailing list