[Moin-user] Working config for apache2 with mod_fcgid on Ubuntu

Thomas Waldmann tw-public at gmx.de
Wed Nov 14 03:28:57 EST 2007


> >    File "/usr/local/lib/python2.4/site-packages/MoinMoin/support/ 
> > thfcgi.py", line 586, in run
> >      self.sock.listen(self.backlog)
> > socket.error: (22, 'Invalid argument')
> 
> To quote the python docs:
> 
> listen(
> backlog)
>         Listen for connections made to the socket. The backlog argument
>         specifies the maximum number of queued connections and should be
>         at least 1; the maximum value is system-dependent (usually 5).
> 
> So what did you use for the backlog (see your moin.fcg Config class)?
> Maybe try something between 1 and 5.

In case you did not configure backlog in your moin.fcg, it will use our
default value of 5. You should try a smaller value then by putting

    backlog = 4

into moin.fcg (into Config class, e.g. between logPath and properties).

Please tell us the biggest value that works for you and also some
details about your OS and Python version.






More information about the Moin-user mailing list