y-scope / clp

Compressed Log Processor (CLP) is a free log management tool capable of compressing text logs and searching the compressed logs without decompression.
https://yscope.com
Apache License 2.0
757 stars 65 forks source link

sbin/compress.sh keeps running without results #422

Open WuhaoZ opened 1 month ago

WuhaoZ commented 1 month ago

Bug

I can successfully start and stop the clp. But when I run sbin/compress.sh, it doesn't show any compressed results but the “... Compression job # submitted.” I think it got stuck on somewhere but can't find it. Thank you for the help!

CLP version

0.1.0

Environment

docker version

Reproduction steps

sbin/start-clp.sh sbin/compress.sh /path/to/the.log

LinZhihao-723 commented 1 month ago

Hi Wuhao, thanks for reporting the issue. To help us diagnose the problem, could you send us some or all of the following:

WuhaoZ commented 1 month ago

Hi Wuhao, thanks for reporting the issue. To help us diagnose the problem, could you send us some or all of the following:

  • A tar of CLP's logs from <clp-package>/var/log
  • The list of containers running on your machine (using docker ps)
  • The logs you tried to compress (if they don't contain any confidential data)

Hi, Zhihao. Thank you for your help. Could you please share the email address with me so that I could send the tarball file?

kirkrodrigues commented 1 month ago

Hi, Zhihao. Thank you for your help. Could you please share the email address with me so that I could send the tarball file?

Hi Wuhao, you can send it to info@yscope.com

kirkrodrigues commented 3 weeks ago

Hi @WuhaoZ,

Apologies for the delayed response. I think the issue is that when running the CLP package as root, some of the containers (e.g., rabbitmq) can't write data to the filesystem. We should have a fix soon. In the meantime, if you're able to, you could try running the CLP package as a non-root user.