[OPEN-ILS-DEV] osrf_router error over and over.....

Dan Scott denials at gmail.com
Tue Feb 10 12:03:26 EST 2009


2009/2/10 Hunt, Phil <hunt at nelinet.net>:
> Hi
>
> I have evergreen running, but it seems a bit slow, so I looked and see
> opensrf_router is taking 95%+ on the cpu, and syslogd too.
>
> So I look at syslog and sure enough it is GIG long, with the following
> error over and over......
>
> Feb 10 06:50:26 LNXOPNSRC1 router: [DEBG:16990:osrf_router.c:117:] Top
> router socket is active: 4
> Feb 10 06:50:26 LNXOPNSRC1 router: [DEBG:16990:transport_session.c:155:]
> socket_wait returned error code -1
> Feb 10 06:50:26 LNXOPNSRC1 router: [DEBG:16990:transport_client.c:142:]
> session_wait returned failure code -1: setting error=1

This isn't an error, it's the result of having your logging levels set
to DEBUG (which is an insanely verbose logging level).

Adjust the values in /openils/conf/opensrf_core.xml to something a bit
more sane (in EG 1.4.0.2 we will set them to 3 (INFO) in the example
config files, I believe) and restart.

While you're at it, you'll probably want to adjust the default logging
levels in /etc/apache2/sites-available/eg.conf from debug to something
like "warn" instead (this has also been changed in the EG 1.4.0.2
default config files).

-- 
Dan Scott
Laurentian University


More information about the Open-ils-dev mailing list