>
> max_connections = 400
>
> www3:/etc/postgresql# ulimit -a
> max user processes (-u) 256
> im totaly bogus, any ideas ?
>
Well, your allowing postgres to have 400 connection which is at least 400 processes if not a few more.
And you are ulimiting the postgres user to 256 processes. So the kernel says out of process space for that user.
Regards
Russell Smith