On 17.1.2013 18:35, Kenny Ho wrote:
Hi,
I am new to OpenGrok (and Tomcat) and I have a question. I have got
everything setup and the source indexed, etc. and things are awesome.
But whenever something crashed (out of memory etc.) I lose the index
database and I need to reindex from
that shouldn't happen, seems like some misconfig - do you use OpenGrok
script to do the reindex ?
what port is the webapp listening to? (any firewall in place on
localhost perhaps?)
scratch. (or at least that's the only way I know how to restore the
service right now.) Given that my source takes like 8 hr to index, I
would like to avoid doing that. Is there an alternative? Did I
actually lost the index or just a connection to it? I tried
restarting the webapp from tomcat but that didn't make a different. I
am using the 0.11.1 on Unbuntu 12 with tomcat7.
I would doubt you lost the index, I think the problem is between reindex
process and sending the configuration over to tomcat ... (the reindex
log should mention any problems at the end of it ...)
obviously there could be more hypothesis, but this is what I get from
info I have ;)
afaik opengrok after an OOM just continues to index, worst case you
loose the file which caused the OOM (e.g. huge jar file, saw it on jar
files > 200MB (with default OpenGrok script heap) )
hmm?
L
Regards,
Kenny
Legal Disclaimer:
The information contained in this message may be privileged and
confidential. It is intended to be read only by the individual or
entity to whom it is addressed or by their designee. If the reader of
this message is not the intended recipient, you are on notice that any
distribution of this message, in any form, is strictly prohibited. If
you have received this message in error, please immediately notify the
sender and delete or destroy any copy of this message!
_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss
_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss