Those were threads.

Thanks for your support. I'll try to find out more about how threads work
in OpenERP.

On Sun, Nov 16, 2014 at 1:29 PM, Roberto De Ioris <[email protected]> wrote:

>
> >>
> >
> > This might sound to be a dumb question, but how do I know if it's a
> > process
> > or a thread?
> > In htop each of the uwsgi lines have their own pid.
>
>
> press 'H' to hide threads
>
> >
> > The request counter increases with each request.
>
> this is good, it means your app is configured correctly
>
>
> >
> > Even if they are threads, shouldn't they stop, and disappear after a
> > while?
>
> very probably they are generated by openerp by itself, uWSGI generally
> spawn threads only in the master or if you add offload threads (in
> addition to standard worker threads)
>
>
> > I could not find any docs on openerp threading, and thread configuration.
> >
> > The only thing I notice is that openerp can't make more new connections
> to
> > DB: *OperationalError: FATAL: remaining connection slots are reserved for
> > non-replication superuser connections. *and I presume that there are
> > plenty
> >
>
> you could fix this increasing max_connections in postgresql.conf
>
> Honestly i do not know openerp/odoo very well but it looks like it could
> happen it generates on-demand thread
>
>
> --
> Roberto De Ioris
> http://unbit.it
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to