Robert, Not a solution & may not be relevant information, but I had segfaults when trying to run zebra indexing with 80000 plus records on a 1Gb memory machine. Adding memory resolved the issue. Regards, Koustubha Kale Anant Corporation Contact Details : Address : 103, Armaan Residency, R. W Sawant Road, Nr. Golden Dyes Naka, Thane (w), Maharashtra, India, Pin : 400601. TeleFax : +91-22-21720108, +91-22-21720109 Mobile : +919820715876 Website : http://www.anantcorp.com Blog : http://www.anantcorp.com/blog/?author=2 2010/4/28 Robert Meltz <RMeltz@insolnet.com>
Here is a bit more information about the segfaults that I am experiencing.
By following the tail of syslog, I noticed that they are preceded by an operation waiting to run, then followed by a flood of messages, 4 per second, about operations waiting to run. If I manually run:
KOHA_CONF=/etc/koha/koha-conf.xml PERL5LIB=/usr/share/koha/lib/ /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -b -a –z
The log flooding stops, until the next time.
Here is a snip from the syslog:
Apr 28 11:46:52 <servername> Koha Zebraqueue [12016]: 1 operations waiting to be run
Apr 28 11:46:52 <servername> Koha Zebraqueue [12016]: Executing zebra operations
Apr 28 11:46:53 <servername> kernel: [70295.809040] zebrasrv[13373]: segfault at 00000046 eip b65301e9 esp bf9a9ec8 error 4
Apr 28 11:46:53 <servername> kernel: [70295.820545] zebrasrv[13374]: segfault at 00000046 eip b65301e9 esp bf9a9ec8 error 4
Apr 28 11:46:53 <servername> kernel: [70295.830941] zebrasrv[13375]: segfault at 00000046 eip b65301e9 esp bf9a9ec8 error 4
Apr 28 11:46:53 <servername> kernel: [70295.841307] zebrasrv[13376]: segfault at 00000046 eip b65301e9 esp bf9a9ec8 error 4
Apr 28 11:46:53 <servername> kernel: [70295.851641] zebrasrv[13377]: segfault at 00000046 eip b65301e9 esp bf9a9ec8 error 4
Apr 28 11:46:53 <servername> Koha Zebraqueue [12016]: Made 5 attempts to index biblioserver record 77224 without success
Apr 28 11:46:53 <servername> Koha Zebraqueue [12016]: 1 operations waiting to be run
Apr 28 11:46:53 <servername> Koha Zebraqueue [12016]: Executing zebra operations
Apr 28 11:46:54 <servername> Koha Zebraqueue [12016]: 1 operations waiting to be run
Apr 28 11:46:54 <servername> Koha Zebraqueue [12016]: Executing zebra operations
Apr 28 11:46:54 <servername> Koha Zebraqueue [12016]: 1 operations waiting to be run
Apr 28 11:46:54 <servername> Koha Zebraqueue [12016]: Executing zebra operations
Best regards,
Robert Meltz
Field Service Engineer
[image: Web_Small_Color]
770.458.8658 x108
404.642.9093 cell
rmeltz@insolnet.com
www.insolnet.com
Follow us on Twitter: www.twitter.com/Insol_IT
*At Insol: ownership and partnership know no bounds. IT's personal.*
*From:* koha-bounces@lists.katipo.co.nz [mailto: koha-bounces@lists.katipo.co.nz] *On Behalf Of *Robert Meltz *Sent:* Wednesday, April 28, 2010 11:32 AM *To:* Jared Camins-Esakov
*Cc:* koha@lists.katipo.co.nz *Subject:* Re: [Koha] zebrasrv segfaults
Thank you Jared. I made the changes you recommended and then restarted /etc/init.d/koha-zebra-daemon but the problem persists. Any other Ideas?
Best regards,
Robert Meltz
Field Service Engineer
[image: Web_Small_Color]
770.458.8658 x108
404.642.9093 cell
rmeltz@insolnet.com
www.insolnet.com
Follow us on Twitter: www.twitter.com/Insol_IT
*At Insol: ownership and partnership know no bounds. IT's personal.*
*From:* Jared Camins-Esakov [mailto:camins@numismatics.org] *Sent:* Wednesday, April 28, 2010 11:14 AM *To:* Robert Meltz *Cc:* koha@lists.katipo.co.nz *Subject:* Re: [Koha] zebrasrv segfaults
Robert,
I don't recall if this is the error that we encountered, but you might try increasing the amount of space available for the register and shadow directories. In ${KOHADIR}/etc/zebradb/zebra-biblios.cfg change 4G to 16G (or something like that) in these lines: register: __ZEBRA_DATA_DIR__/biblios/register:4G shadow: __ZEBRA_DATA_DIR__/biblios/shadow:4G
If you have koha set up to run out of kohaclone and koha-dev, you need to modify the configuration file in koha-dev. As I said, I can't remember the exact error message we got, but I think it involved a segfault, so you might as well try our fix.
Regards, Jared Camins-Esakov
Robert Meltz wrote:
Good morning!
I’m a noob to this list, so first, an introduction. I am charged with supporting a Koha installation at a small educational Library, roughly 90,000 items in catalog.
Current problem:
Apr 28 10:44:08 <servername> kernel: [66486.907544] zebrasrv[12570]: segfault at 00000046 eip b64a61e9 esp bfd58518 error 4
Is there an obvious solution, or do I need to provide more information?
Best regards,
Robert Meltz
Field Service Engineer
[image: Web_Small_Color]
770.458.8658 x108
404.642.9093 cell
rmeltz@insolnet.com
www.insolnet.com
Follow us on Twitter: www.twitter.com/Insol_IT
*At Insol: ownership and partnership know no bounds. IT's personal.*
------------------------------
_______________________________________________
Koha mailing list
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha
--
Jared Camins-Esakov
Cataloger - American Numismatic Society
75 Varick Street, 11th Floor
New York, NY 10013
Tel: (212) 571-4470, ext. 171
camins@numismatics.org
http://www.numismatics.org/Library/Library
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha