Skip to main content

Log files keep growing fast on Debian testing (bullseye) [Resolved]

I've just reinstalled my system (Debian testing, bullseye). But I found a problem that I've never met before. Three log files in /var/log keep growing fast: /var/log/messages, /var/log/user.log and /var/log/syslog. The content in these 3 files are almost exactly the same. They seems produced by my proxy tool Shadowsocks.AppImage (The Shadowsocks.desktop works well, I don't know why it says "TCP connection timeout"):

Jul 20 21:07:32 localhost Shadowsocks.desktop[1065]: TCP connection timeout.
Jul 20 21:07:32 localhost Shadowsocks.desktop[1065]: TCP connection timeout.
Jul 20 21:07:32 localhost Shadowsocks.desktop[1065]: TCP connection timeout.
Jul 20 21:07:32 localhost Shadowsocks.desktop[1065]: TCP connection timeout.
Jul 20 21:07:32 localhost Shadowsocks.desktop[1065]: TCP connection timeout.
Jul 20 21:07:32 localhost Shadowsocks.desktop[1065]: TCP connection timeout.
Jul 20 21:07:32 localhost Shadowsocks.desktop[1065]: TCP connection timeout.
Jul 20 21:07:32 localhost Shadowsocks.desktop[1065]: TCP connection timeout.
Jul 20 21:07:32 localhost Shadowsocks.desktop[1065]: TCP connection timeout.
Jul 20 21:07:32 localhost Shadowsocks.desktop[1065]: TCP connection timeout.

Currently I wrote a script to empty these files every 30 minutes. But this cannot solve the problem. Every file could be more than 300MB in 30 minutes, which may damage the SSD drive since it brings a lot of useless Read/Write operations.

Any one know how to solve it? Thanks a lot!

The desktop entry for AppImage:

[Desktop Entry]
Name=Shadowsocks
Exec=/home/username/Tools/Shadowsocks-Qt5-3.0.1-x86_64.AppImage
Icon=/home/username/Tools/shadowsocks-256.png
Type=Application
Terminal=false
Categories=Office;
MimeType=text/plain

Question Credit: Ken
Question Reference
Asked July 21, 2019
Posted Under: Network
26 views
1 Answers

This appears to be dependency-related issue with Shadowsocks-Qt5.

Per the author,

I don't think the logs were from this application. Could it be from Qt? Are you using the official Qt rpms or your own compiled version?

Resources


credit: Lucas Ramage
Answered July 21, 2019
Your Answer
D:\Adnan\Candoerz\CandoProject\vQA