yacy ist crashing often

Keine Scheu, hier darf alles gefragt und diskutiert werden. Das ist das Forum für YaCy-Anfänger. Hier kann man 'wo muss man klicken' fragen und sich über Grundlagen zur Suchmaschinentechnik unterhalten.
Forumsregeln
Hier werden Fragen beantwortet und wir versuchen die Probleme von YaCy-Newbies zu klären. Bitte beantwortete Fragen im YaCy-Wiki http://wiki.yacy.de dokumentieren!

yacy ist crashing often

Beitragvon konkretor » So Okt 16, 2016 8:13 pm

Hello,

where can i read why is yacy crashed?

i have no infos found in :/var/log/yacy# less yacy00.log
no java stracktrace is written

I found yacy.logging with a lot´s of settings

What can i do for debug this issue?

which settings i need?



Best
konkretor
 
Beiträge: 14
Registriert: Sa Okt 08, 2016 10:50 am

Re: yacy ist crashing often

Beitragvon sixcooler » So Okt 16, 2016 9:37 pm

Hi konkretor,

even when there is no stacktrace in the log - I think having a look there would be only way to identify the cause.

Cu, sixcooler.
sixcooler
 
Beiträge: 494
Registriert: Do Aug 14, 2008 5:22 pm

Re: yacy ist crashing often

Beitragvon konkretor » Di Okt 18, 2016 3:42 am

Hi sixcooler,

i have this issue on two machines.

Both machines have 1,5 GB and the VM have 1,4 GB RAM to used it for self, and 100 MB for the system and no swap space.

I think it's an memory issue from Java.

Any Idea?

Best
konkretor
 
Beiträge: 14
Registriert: Sa Okt 08, 2016 10:50 am

Re: yacy ist crashing often

Beitragvon luc » Di Okt 18, 2016 8:21 am

Hello, how are your peers crashing : the process exits abnormally, the web UI is not responding, CPU is running at 100%, search returns no results ... ?

What to do may be different depending on the cases. For example if your peer appears to be frozen, a thread dump can be useful to discover where it is blocked.
If your peer become unresponsive because using continuously full CPU, some JVM profiling may help to find which task is consuming all resources...

A tool like VisualVM might greatly help you (it is embedded in Oracle JDKs, and also available as standard Debian package for exemple)

Don't hesitate to share any relevant complementary information.

Best regards
luc
 
Beiträge: 285
Registriert: Mi Aug 26, 2015 1:04 am

Re: yacy ist crashing often

Beitragvon konkretor » So Okt 23, 2016 7:44 am

Hello luc,

no the issue is, yacy ist starting and after maybe 2 minutes the yacy process ist crashing.
I have configured yacy.logging to .level=SEVERE

i´m using this java version

java version "1.7.0_111"
OpenJDK Runtime Environment (IcedTea 2.6.7) (7u111-2.6.7-1~deb8u1)
OpenJDK 64-Bit Server VM (build 24.111-b01, mixed mode)


Any idea to see more log details?
konkretor
 
Beiträge: 14
Registriert: Sa Okt 08, 2016 10:50 am

Re: yacy ist crashing often

Beitragvon luc » So Okt 23, 2016 5:55 pm

Hi konkretor,
indeed you configured your peer to have the less detailed logs...

Log levels are organized this way : from OFF (no logs at all) to FINE (detailed debugging information), you get more and more detailed logs. The ordered levels list is : OFF, SEVERE, WARNING, INFO, CONFIG, FINE

So I suggest you modify your log level at least to INFO or even FINE, and if no error is reported, at least you will be able to know what the process is doing before crashing.
luc
 
Beiträge: 285
Registriert: Mi Aug 26, 2015 1:04 am

Re: yacy ist crashing often

Beitragvon konkretor » So Okt 23, 2016 6:53 pm

i have configured the log to fine and i found no error

i have attached my logfile

that´s my limits for files

Code: Alles auswählen
ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 513494
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 65536
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) 513494
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
Dateianhänge
yacy00.zip
my log file
(17.94 KiB) 70-mal heruntergeladen
konkretor
 
Beiträge: 14
Registriert: Sa Okt 08, 2016 10:50 am

Re: yacy ist crashing often

Beitragvon konkretor » So Okt 23, 2016 7:17 pm

Hardware from my vserver

Debian jessie

3cpu cores
1,5 GB RAM
yacy have 1,4 gb ram

no swap

Code: Alles auswählen
Filesystem      Size  Used Avail Use% Mounted on
/dev/simfs      100G   32G   69G  32% /
devtmpfs        768M     0  768M   0% /dev
tmpfs           768M   72K  768M   1% /dev/shm
tmpfs           768M  8.2M  760M   2% /run
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           768M     0  768M   0% /sys/fs/cgroup
tmpfs           768M   64K  768M   1% /tmp
none            768M     0  768M   0% /run/shm
konkretor
 
Beiträge: 14
Registriert: Sa Okt 08, 2016 10:50 am

Re: yacy ist crashing often

Beitragvon luc » Mo Okt 24, 2016 6:47 am

Ok konkretor, I will only have some time to check all this in about one week. Maybe someone else will be able to help you in the meantime.

See you later
luc
 
Beiträge: 285
Registriert: Mi Aug 26, 2015 1:04 am

Re: yacy ist crashing often

Beitragvon luc » Mo Okt 31, 2016 1:31 pm

Hi konkretor, for now I also did not found anything particular in your logs. But if your java process effectively crashes, the JVM probably produces a crash report, a file like hs_err_pid pid .log.
This file could contain valuable information, could you try to locate it? Oracle has some documentation about this that may help you find it or configure your JVM options to generate it at a convenient place.
luc
 
Beiträge: 285
Registriert: Mi Aug 26, 2015 1:04 am


Zurück zu Hilfe für Einsteiger und Anwender

Wer ist online?

Mitglieder in diesem Forum: Bing [Bot] und 1 Gast

cron