Juniper / open-nti

Open Network Telemetry Collector build with open source tools
Apache License 2.0
231 stars 93 forks source link

(juniper/open-nti:latest ) container generates lots of core files #221

Open ghost opened 6 years ago

ghost commented 6 years ago

Hi,

I noticed that the open-nti (juniper/open-nti:latest ) container generates lots of core files under the root folder. What could be the reason for having those files. -rw-------. 1 root root 677945344 Jun 20 07:35 core.1569 -rw-------. 1 root root 366907392 Jun 19 04:53 core.16115 -rw-------. 1 root root 387551232 Jun 19 18:17 core.1794 cheers Al

3fr61n commented 6 years ago

Hi,

Do you have more information (syslog/environment description/backtrace), or something?

Regards

ghost commented 6 years ago

Hi, How do I fetch those data for you?

I noticed open-nti container creates these core files quite often and that was the reason it was crashing from time to time. I had to mount the /root as an external volume to make it won't crash here it is how big it is right now

[root@xxxxxxxx root]# pwd /opt/main/open-nti/chroot/open-nti/root [root@xxxxxxxx root]# du -sch . 32G . 32G total [root@xxxxxxxx root]#

cheers Al

ghost commented 6 years ago

HI, I guess you will have to instruct me which logs you wanna see. I just deleted couple of core files which are generated under the root folder. and it saved me couple of disk space. from: Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos-root 75G 63G 13G 84% /
devtmpfs 16G 0 16G 0% /dev

[root@xxxxxxxx root]# pwd /opt/main/open-nti/chroot/open-nti/root [root@xxxxxxxx root]# ls
core.12206 core.14685 core.18393 core.24105 core.26855 core.30566 core.40262 core.47315 core.7392 core.9968
core.12277 core.15331 core.19247 core.24142 core.27208 core.33959 core.41051 core.47702 core.7716
core.1352 core.1577 core.19431 core.26068 core.27440 core.35331 core.42751 core.49093 core.7988
core.14026 core.1647 core.22140 core.26110 core.27515 core.39560 core.44036 core.5714 core.8712
core.14559 core.16567 core.23247 core.26289 core.30006 core.39702 core.45443 core.7184 core.8948

to: Filesystem Size Used Avail Use% Mounted on /dev/mapper/centos-root 75G 21G 55G 28% / devtmpfs 16G 0 16G 0% /dev

BR Al