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

Hunt, Phil hunt at nelinet.net
Tue Feb 10 12:10:53 EST 2009


I am looking at the apache config, no debug set, here is the snippet


LogLevel info
# - log locally
CustomLog /var/log/apache2/access.log combined
ErrorLog /var/log/apache2/error.log
# - log to syslog
# CustomLog "|/usr/bin/logger -p local7.info" common
# ErrorLog syslog:local7



 
Phil Hunt
Program Director, Information Technology
NELINET, Inc.
 
'   Direct Phone:  (508)597-1924
'    1.508.460.7700 x1924
6     FAX (508)460-9455
* hunt at NELINET.net
 

-----Original Message-----
From: open-ils-dev-bounces at list.georgialibraries.org
[mailto:open-ils-dev-bounces at list.georgialibraries.org] On Behalf Of Dan
Scott
Sent: Tuesday, February 10, 2009 12:03 PM
To: Evergreen Development Discussion List
Subject: Re: [OPEN-ILS-DEV] osrf_router error over and over.....

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